diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-08 08:31:15 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-08 08:31:15 -0700 |
commit | ab204364dfeefc4069a37e1070ee8009f34ecf4d (patch) | |
tree | 304ee131838ab62f545e524c1d954e693ef6687a /profiles/desktop | |
parent | modules: add a few more (diff) | |
download | world-ab204364dfeefc4069a37e1070ee8009f34ecf4d.tar.gz |
profiles: create a few new profiles
Diffstat (limited to 'profiles/desktop')
-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"; + }; +} |