blob: 9de629c00286b333a8fd9395628883d0dbdb741a (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
{
config,
lib,
options,
pkgs,
...
}:
{
config = {
boot = {
loader.limine.style = {
backdrop = lib.mkDefault "333333";
graphicalTerminal = {
background = lib.mkDefault "33000000";
brightBackground = lib.mkDefault "000000";
brightForeground = lib.mkDefault config.boot.loader.limine.style.graphicalTerminal.foreground;
brightPalette = lib.mkDefault "585b70;f38ba8;a6e3a1;f9e2af;89b4fa;f5c2e7;94e2d5;bac2de";
foreground = lib.mkDefault "cdd6f4";
palette = lib.mkDefault "45475a;f38ba8;a6e3a1;f9e2af;89b4fa;f5c2e7;94e2d5;a6adc8";
};
};
plymouth = {
enable = lib.mkDefault config.system.profile.desktop.enable;
#font = lib.mkDefault "${pkgs.fira-code}/...";
};
};
console = {
colors = lib.mkIf config.system.profile.desktop.enable [
"000000"
"f38ba8"
"a6e3a1"
"f9e2af"
"89b4fa"
"f5c2e7"
"94e2d5"
"cdd6f4"
"585b70"
"f38ba8"
"a6e3a1"
"f9e2af"
"89b4fa"
"f5c2e7"
"94e2d5"
"cdd6f4"
];
earlySetup = lib.mkDefault config.system.profile.desktop.enable;
};
documentation.dev.enable = lib.mkDefault config.system.profile.desktop.enable;
fonts.enableDefaultPackages = lib.mkDefault config.system.profile.desktop.enable;
system.profile.core.enable = lib.mkIf config.system.profile.desktop.enable true;
};
options.system.profile.desktop.enable = lib.mkEnableOption "the desktop system profile";
}
|