about summary refs log tree commit diff
path: root/profiles/desktop/default.nix
blob: 0ad6e126a4f4c91f94754b26424554334636e01d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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";
  };
}