about summary refs log tree commit diff
path: root/profiles/desktop/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/desktop/default.nix')
-rw-r--r--profiles/desktop/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/profiles/desktop/default.nix b/profiles/desktop/default.nix
new file mode 100644
index 0000000..c0c4a9f
--- /dev/null
+++ b/profiles/desktop/default.nix
@@ -0,0 +1,34 @@
+{ config, lib, ... }:
+let cfg = config.my.profiles.desktop;
+in {
+  options.my.profiles.desktop = with lib; {
+    enable = mkEnableOption "desktop profile";
+  };
+  config = lib.mkIf cfg.enable {
+    my = {
+      systems = { fonts.enable = true; };
+      services = {
+        gnome.enable = true;
+        # we need avahi in order to use the printer/scanner
+        avahi.enable = true;
+      };
+      home = {
+        emacs.enable = true;
+        direnv.enable = true;
+        drone-cli.enable = true;
+        firefox.enable = true;
+        pcmanfm.enable = true;
+        terminal.program = "alacritty";
+        xdg.enable = true;
+        eog.enable = true;
+        evince.enable = true;
+        transmission-remote.enable = true;
+      };
+      profiles = {
+        gtk.enable = true;
+        wm.windowManager = "sway";
+      };
+      programs = { sway.enable = true; };
+    };
+  };
+}