File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11builds :
22 exclude : []
33 include :
4- - homeConfigurations.niri*
5- - nixosConfigurations.thinkpad*
4+ - homeConfigurations.niri-hdmi
5+ - nixosConfigurations.thinkpad-x1
Original file line number Diff line number Diff line change 7272 ] ;
7373
7474 signing = {
75+ format = "openpgp" ;
7576 key = "121D4302A64B2261" ;
7677 signByDefault = true ;
7778 } ;
Original file line number Diff line number Diff line change 11[
2- ( { pkgs , ... } : {
3- gtk = rec {
4- enable = true ;
5- iconTheme = {
6- name = "BeautyLine" ;
7- package = pkgs . beauty-line-icon-theme ;
8- } ;
9- theme = {
10- name = "Juno-ocean" ;
11- package = pkgs . juno-theme ;
12- } ;
13- gtk4 = {
14- extraConfig = {
15- gtk-application-prefer-dark-theme = true ;
2+ ( { pkgs , config , ... } :
3+ let
4+ cfg = config . gtk ;
5+ in
6+ {
7+ gtk = {
8+ enable = true ;
9+ iconTheme = {
10+ name = "BeautyLine" ;
11+ package = pkgs . beauty-line-icon-theme ;
12+ } ;
13+ theme = {
14+ name = "Juno-ocean" ;
15+ package = pkgs . juno-theme ;
16+ } ;
17+ gtk4 = {
18+ extraConfig = {
19+ gtk-application-prefer-dark-theme = true ;
20+ } ;
21+ # the dark files are not copied by default, as not all themes have separate files
22+ # see: https://github.com/nix-community/home-manager/blob/afcedcf2c8e424d0465e823cf833eb3adebe1db7/modules/misc/gtk.nix#L238
23+ extraCss = ''
24+ @import url("file://${ cfg . theme . package } /share/themes/${ cfg . theme . name } /gtk-4.0/gtk-dark.css");
25+ '' ;
26+ theme = cfg . theme ;
1627 } ;
17- # the dark files are not copied by default, as not all themes have separate files
18- # see: https://github.com/nix-community/home-manager/blob/afcedcf2c8e424d0465e823cf833eb3adebe1db7/modules/misc/gtk.nix#L238
19- extraCss = ''
20- @import url("file://${ theme . package } /share/themes/${ theme . name } /gtk-4.0/gtk-dark.css");
21- '' ;
2228 } ;
23- } ;
24- } )
29+ } )
2530]
You can’t perform that action at this time.
0 commit comments