blob: 2f3b26e5d99b6deaeb247646d4ef301190a749b5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ 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;
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; };
};
};
}
|