Add jujutsu package

This commit is contained in:
Ethan Simmons
2024-10-20 12:59:02 -05:00
parent dff532246f
commit 5b9124a80a
5 changed files with 23 additions and 7 deletions

View File

@@ -1,2 +0,0 @@
Host git.simmer505.com
Port 222

View File

@@ -24,7 +24,6 @@
home.file.".config/waybar".source = ./dotfiles/waybar;
home.file.".config/alacritty/alacritty.toml".source = ./dotfiles/alacritty/alacritty.toml;
home.file.".ssh/config".source = ./dotfiles/ssh/config;
# Fix for slow steam download speeds https://old.reddit.com/r/linux_gaming/comments/16e1l4h/slow_steam_downloads_try_this/
home.file.".steam/steam/steam_dev.cfg".source = ./dotfiles/steam/steam_dev.cfg;

View File

@@ -14,13 +14,32 @@ in
type = types.bool;
default = true;
};
jujutsu = {
enable = mkOption {
description = "Whether to install and configure jujutsu";
type = types.bool;
default = true;
};
};
};
config = mkIf cfg.enable {
programs.git = {
config = {
programs.git = mkIf cfg.enable {
enable = true;
userName = "Ethan Simmons";
userEmail = "eesimmons9105@gmail.com";
userEmail = "contact@esimmons.me";
};
programs.jujutsu = mkIf cfg.jujutsu.enable {
enable = true;
settings = {
user = {
name = "Ethan Simmons";
email = "contact@esimmons.me";
};
ui.paginate = "never";
};
};
};
}

View File

@@ -15,6 +15,7 @@ in
curl
wget
git
jujutsu
killall
vim
eza

View File

@@ -14,7 +14,6 @@ in
environment.systemPackages = with pkgs; [
xournalpp
libreoffice
anki
] ++ optional cfg.citrix citrix;
};
}