summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-04-10 19:49:02 +0200
committerSilas Schöffel <sils@sils.li>2024-04-10 19:49:02 +0200
commitaf3ec1510ce5d317c42b43f6a8aecd957952497f (patch)
tree25597616e2a9561d333ae7f35279e9a9f586312d
parentmodules/hm: change move sils.home scope into sils (diff)
downloadnix-config-af3ec1510ce5d317c42b43f6a8aecd957952497f.tar.gz
nix-config-af3ec1510ce5d317c42b43f6a8aecd957952497f.zip
jameica: init module
Diffstat (limited to '')
-rw-r--r--hm/default.nix1
-rw-r--r--modules/hm/sils/default.nix1
-rw-r--r--modules/hm/sils/jameica.nix15
3 files changed, 17 insertions, 0 deletions
diff --git a/hm/default.nix b/hm/default.nix
index 58d14ae..9bd7322 100644
--- a/hm/default.nix
+++ b/hm/default.nix
@@ -39,6 +39,7 @@
 
   sils = {
     firefox.enable = true;
+    jameica.enable = true;
   };
   programs.home-manager.enable = true;
 }
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
+    ];
+  };
+}