Add preference options

This commit is contained in:
ItsDrike 2024-06-24 21:12:59 +02:00
parent 32bebe0adc
commit 15ce6ea7d0
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
6 changed files with 228 additions and 212 deletions

View file

@ -7,6 +7,7 @@
inherit (lib) mkIf;
cfg = osConfig.myOptions.home-manager.programs.file-managers.pcmanfm-qt;
cfgPreferences = osConfig.myOptions.home-manager.preferences;
in {
config = mkIf cfg.enable {
home.packages = with pkgs; [ lxqt.pcmanfm-qt ];
@ -96,14 +97,14 @@ in {
};
System = {
Archiver = cfg.archiverCmd;
Archiver = cfgPreferences.archiveManager.command;
FallbackIconThemeName = "oxygen";
OnlyUserTemplates = false;
SIUnit = false;
SuCommand = "${pkgs.lxqt.lxqt-sudo}/bin/lxqt-sudo %s";
TemplateRunApp = false;
TemplateTypeOnce = false;
Terminal = cfg.terminalCmd;
Terminal = cfgPreferences.terminalEmulator.command;
};
Thumbnail = {