about summary refs log tree commit diff
path: root/profiles/desktop
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-09 09:42:03 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-09 09:42:03 -0700
commit1125aaa49aec6a220fd3b9d03076fec398b35a14 (patch)
tree5570b0c094ead9d7879ca3d360ff3de7f45d4516 /profiles/desktop
parentdelete all CLI modules (diff)
downloadworld-1125aaa49aec6a220fd3b9d03076fec398b35a14.tar.gz
add a few more modules to home/ and delete stuff
Diffstat (limited to 'profiles/desktop')
-rw-r--r--profiles/desktop/default.nix25
1 files changed, 15 insertions, 10 deletions
diff --git a/profiles/desktop/default.nix b/profiles/desktop/default.nix
index 0ad6e12..8ebe0da 100644
--- a/profiles/desktop/default.nix
+++ b/profiles/desktop/default.nix
@@ -5,15 +5,20 @@ in {
     enable = mkEnableOption "desktop profile";
   };
   config = lib.mkIf cfg.enable {
-    my.systems.fonts.enable = true;
-    my.services.gnome.enable = true;
-    my.programs.sway.enable = true;
-    my.home.emacs.enable = true;
-    my.home.firefox.enable = true;
-    my.home.terminal.program = "alacritty";
-    my.home.xdg.enable = true;
-    my.profiles.gtk.enable = true;
-    my.profiles.trusted.enable = true;
-    my.profiles.wm.windowManager = "sway";
+    my = {
+      systems = { fonts.enable = true; };
+      services = { gnome.enable = true; };
+      home = {
+        emacs.enable = true;
+        firefox.enable = true;
+        terminal.program = "alacritty";
+        xdg.enable = true;
+      };
+      profiles = {
+        gtk.enable = true;
+        wm.windowManager = "sway";
+      };
+      programs = { sway.enable = true; };
+    };
   };
 }