summary refs log tree commit diff stats
diff options
context:
space:
mode:
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
+    ];
+  };
+}