about summary refs log tree commit diff
path: root/profiles/desktop
diff options
context:
space:
mode:
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; };
+    };
   };
 }