From a0f111900fa3820cb0655dcab003f0ec93481616 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Sun, 2 Jun 2024 14:05:09 +0200 Subject: foot: init module --- hm/default.nix | 2 +- hm/foot/default.nix | 11 ----------- modules/hm/sils/default.nix | 1 + modules/hm/sils/foot.nix | 20 ++++++++++++++++++++ 4 files changed, 22 insertions(+), 12 deletions(-) delete mode 100644 hm/foot/default.nix create mode 100644 modules/hm/sils/foot.nix 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"; + # }; + #}; + }; + }; +} -- cgit 1.4.1