From af3ec1510ce5d317c42b43f6a8aecd957952497f Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Wed, 10 Apr 2024 19:49:02 +0200 Subject: jameica: init module --- hm/default.nix | 1 + modules/hm/sils/default.nix | 1 + modules/hm/sils/jameica.nix | 15 +++++++++++++++ 3 files changed, 17 insertions(+) create mode 100644 modules/hm/sils/jameica.nix 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 + ]; + }; +} -- cgit 1.4.1