diff options
author | Silas Schöffel <sils@sils.li> | 2024-04-10 19:49:02 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-04-10 19:49:02 +0200 |
commit | af3ec1510ce5d317c42b43f6a8aecd957952497f (patch) | |
tree | 25597616e2a9561d333ae7f35279e9a9f586312d /modules/hm | |
parent | modules/hm: change move sils.home scope into sils (diff) | |
download | nix-config-af3ec1510ce5d317c42b43f6a8aecd957952497f.tar.gz nix-config-af3ec1510ce5d317c42b43f6a8aecd957952497f.zip |
jameica: init module
Diffstat (limited to 'modules/hm')
-rw-r--r-- | modules/hm/sils/default.nix | 1 | ||||
-rw-r--r-- | modules/hm/sils/jameica.nix | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/modules/hm/sils/default.nix b/modules/hm/sils/default.nix index 372d666..a1665ee 100644 --- a/modules/hm/sils/default.nix +++ b/modules/hm/sils/default.nix @@ -1,5 +1,6 @@ {...}: { imports = [ ./firefox + ./jameica.nix ]; } diff --git a/modules/hm/sils/jameica.nix b/modules/hm/sils/jameica.nix new file mode 100644 index 0000000..815fb60 --- /dev/null +++ b/modules/hm/sils/jameica.nix @@ -0,0 +1,15 @@ +{ + config, + pkgs, + lib, + ... +}: let + cfg = config.sils.jameica; +in { + options.sils.jameica.enable = lib.mkEnableOption "jameica"; + config = lib.mkIf cfg.enable { + home.packages = [ + pkgs.jameica + ]; + }; +} |