about summary refs log tree commit diff
path: root/profiles
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-09 09:20:58 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-09 09:34:50 -0700
commit10cf36936e38067f0f2cca5887f732040af28574 (patch)
tree8be2de9a432d36a03e23c5443a7e0d2610ea9be5 /profiles
parentref(home): structure and add comments (diff)
downloadworld-10cf36936e38067f0f2cca5887f732040af28574.tar.gz
ref(GTK): remove the profile for GTK
All the configuration is done at the host level.

Change-Id: Ib5ef71ea7955f6872fb08f576e48b24a70600693
Reviewed-on: https://cl.fcuny.net/c/world/+/296
Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'profiles')
-rw-r--r--profiles/default.nix2
-rw-r--r--profiles/desktop/default.nix5
-rw-r--r--profiles/gtk/default.nix13
3 files changed, 2 insertions, 18 deletions
diff --git a/profiles/default.nix b/profiles/default.nix
index 1dcb283..19780e7 100644
--- a/profiles/default.nix
+++ b/profiles/default.nix
@@ -1 +1 @@
-{ ... }: { imports = [ ./gtk ./wm ./desktop ]; }
+{ ... }: { imports = [ ./wm ./desktop ]; }
diff --git a/profiles/desktop/default.nix b/profiles/desktop/default.nix
index 1edc246..50b7828 100644
--- a/profiles/desktop/default.nix
+++ b/profiles/desktop/default.nix
@@ -12,10 +12,7 @@ in {
         # we need avahi in order to use the printer/scanner
         avahi.enable = true;
       };
-      profiles = {
-        gtk.enable = true;
-        wm.windowManager = "sway";
-      };
+      profiles = { wm.windowManager = "sway"; };
       programs = { sway.enable = true; };
     };
   };
diff --git a/profiles/gtk/default.nix b/profiles/gtk/default.nix
deleted file mode 100644
index c84832b..0000000
--- a/profiles/gtk/default.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-{ config, lib, ... }:
-let cfg = config.my.profiles.gtk;
-in {
-  options.my.profiles.gtk = with lib; {
-    enable = mkEnableOption "gtk profile";
-  };
-  config = lib.mkIf cfg.enable {
-    # Allow setting GTK configuration using home-manager
-    programs.dconf.enable = true;
-    # GTK theme configuration
-    my.home.gtk.enable = true;
-  };
-}