Repository navigation
Expand file tree
/
Copy pathstylix.nix
More file actions
82 lines (70 loc) · 1.6 KB
/
Copy pathstylix.nix
File metadata and controls
82 lines (70 loc) · 1.6 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
config,
inputs,
lib,
pkgs,
...
}:
{
imports = [ inputs.stylix.nixosModules.stylix ];
stylix = {
enable = true;
autoEnable = true;
# colors
base16Scheme =
let
arpeggio = lib.getExe inputs.arpeggio.packages.${pkgs.stdenv.hostPlatform.system}.default;
arpeggioPalette = pkgs.runCommand "arpeggio-palette" { } ''
mkdir $out
${arpeggio} ${config.stylix.image} > $out/palette.yaml
'';
in
"${arpeggioPalette}/palette.yaml";
# background
image = ./2024_11_19__you_and_me__by_brittney_ackerman.png;
# cursor
cursor = {
package = pkgs.volantes-cursors;
name = "volantes_cursors";
size = 24;
};
# fonts
fonts = {
serif = {
package = pkgs.noto-fonts;
name = "Noto Serif";
};
sansSerif = {
package = pkgs.adwaita-fonts;
name = "Adwaita Sans";
};
monospace = {
package = pkgs.adwaita-fonts;
name = "Adwaita Mono";
};
};
# icons
icons = {
enable = true;
package = pkgs.morewaita-icon-theme;
light = "Morewaita";
dark = "Morewaita";
};
# transparency
opacity = {
applications = 0.9;
desktop = 0.9;
popups = 0.75;
terminal = 0.9;
};
targets = {
# temporarily disabled due to breakage with `services.kmscon.extraConfig` being removed
kmscon.enable = false;
plymouth.enable = false;
};
};
home-manager.users.muni.stylix.targets.firefox = {
profileNames = [ "muni" ];
firefoxGnomeTheme.enable = true;
};
}