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

@@ -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;
};
}