diff options
Diffstat (limited to '')
-rw-r--r-- | profiles/desktop/default.nix | 19 |
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"; + }; +} |