about summary refs log tree commit diff
path: root/profiles/desktop
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-08 08:31:15 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-08 08:31:15 -0700
commitab204364dfeefc4069a37e1070ee8009f34ecf4d (patch)
tree304ee131838ab62f545e524c1d954e693ef6687a /profiles/desktop
parentmodules: add a few more (diff)
downloadworld-ab204364dfeefc4069a37e1070ee8009f34ecf4d.tar.gz
profiles: create a few new profiles
Diffstat (limited to 'profiles/desktop')
-rw-r--r--profiles/desktop/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/profiles/desktop/default.nix b/profiles/desktop/default.nix
new file mode 100644
index 0000000..0ad6e12
--- /dev/null
+++ b/profiles/desktop/default.nix
@@ -0,0 +1,19 @@
+{ 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;
+    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";
+  };
+}