blob: c6eb1061d6b7085e04f6296a65f536d2c75ef093 (
plain)
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
34
35
36
37
38
39
|
{
config,
lib,
pkgs,
...
}: let
cfg = config.desktop;
in {
options.desktop.enable = lib.mkEnableOption "base desktop settings";
config = lib.mkIf cfg.enable {
fonts.fonts = with pkgs;
lib.mkDefault [
(nerdfonts.override {fonts = ["FiraCode"];})
];
homebrew = {
enable = lib.mkDefault true;
onActivation = lib.mkDefault {
autoUpdate = true;
cleanup = "zap";
upgrade = true;
};
caskArgs = {
no_quarantine = true;
require_sha = false;
};
casks = [
"chromium"
"iterm2"
];
};
programs.gnupg.agent.enable = lib.mkDefault true;
};
}
|