diff options
author | Silas Schöffel <sils@sils.li> | 2024-06-02 14:05:09 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-06-02 14:05:09 +0200 |
commit | a0f111900fa3820cb0655dcab003f0ec93481616 (patch) | |
tree | 47ba638f76f689892365f02a948924409cf9fb0f | |
parent | flameshot: delete (diff) | |
download | nix-config-a0f111900fa3820cb0655dcab003f0ec93481616.tar.gz nix-config-a0f111900fa3820cb0655dcab003f0ec93481616.zip |
foot: init module
-rw-r--r-- | hm/default.nix | 2 | ||||
-rw-r--r-- | hm/foot/default.nix | 11 | ||||
-rw-r--r-- | modules/hm/sils/default.nix | 1 | ||||
-rw-r--r-- | modules/hm/sils/foot.nix | 20 |
4 files changed, 22 insertions, 12 deletions
diff --git a/hm/default.nix b/hm/default.nix index 4be533c..673fb9b 100644 --- a/hm/default.nix +++ b/hm/default.nix @@ -1,7 +1,6 @@ {nixvim, ...}: { imports = [ ../modules/hm - ./foot ./git ./gpg ./gtk @@ -34,6 +33,7 @@ direnv.enable = true; etesync-dav.enable = true; firefox.enable = true; + foot.enable = true; jameica.enable = true; kdeconnect.enable = true; mail.enable = true; diff --git a/hm/foot/default.nix b/hm/foot/default.nix deleted file mode 100644 index 2cd57d7..0000000 --- a/hm/foot/default.nix +++ /dev/null @@ -1,11 +0,0 @@ -{...}: { - programs.foot = { - enable = true; - #settings = { - # colors = { - # background = "e8ead7"; - # foreground = "242424"; - # }; - #}; - }; -} diff --git a/modules/hm/sils/default.nix b/modules/hm/sils/default.nix index fba63bc..8fbf363 100644 --- a/modules/hm/sils/default.nix +++ b/modules/hm/sils/default.nix @@ -4,6 +4,7 @@ ./direnv.nix ./etesync-dav.nix ./firefox + ./foot.nix ./jameica.nix ./kdeconnect.nix ./mail.nix diff --git a/modules/hm/sils/foot.nix b/modules/hm/sils/foot.nix new file mode 100644 index 0000000..b6a0212 --- /dev/null +++ b/modules/hm/sils/foot.nix @@ -0,0 +1,20 @@ +{ + config, + lib, + ... +}: let + cfg = config.sils.foot; +in { + options.sils.foot.enable = lib.mkEnableOption "the foot terminal emulator"; + config = lib.mkIf cfg.enable { + programs.foot = { + enable = true; + #settings = { + # colors = { + # background = "e8ead7"; + # foreground = "242424"; + # }; + #}; + }; + }; +} |