summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hm/default.nix2
-rw-r--r--hm/foot/default.nix11
-rw-r--r--modules/hm/sils/default.nix1
-rw-r--r--modules/hm/sils/foot.nix20
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";
+      #  };
+      #};
+    };
+  };
+}