mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
gtk2: fix missing force option (#7437)
Missed during migration Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
b8b7e5ec35
commit
03bf1bd8d6
1 changed files with 4 additions and 0 deletions
|
|
@ -35,6 +35,8 @@ in
|
||||||
default = true;
|
default = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
force = lib.mkEnableOption "GTK 2 config force overwrite without creating a backup";
|
||||||
|
|
||||||
font = mkOption {
|
font = mkOption {
|
||||||
type = types.nullOr lib.hm.types.fontType;
|
type = types.nullOr lib.hm.types.fontType;
|
||||||
default = cfg.font;
|
default = cfg.font;
|
||||||
|
|
@ -115,6 +117,8 @@ in
|
||||||
''
|
''
|
||||||
${settingsText}${cfg2.extraConfig}
|
${settingsText}${cfg2.extraConfig}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
inherit (cfg2) force;
|
||||||
};
|
};
|
||||||
home.sessionVariables.GTK2_RC_FILES = cfg2.configLocation;
|
home.sessionVariables.GTK2_RC_FILES = cfg2.configLocation;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue