1
1
Fork 0
nixos/options/custom/programs/remmina.nix

21 lines
527 B
Nix
Raw Normal View History

{
config,
lib,
...
}:
with lib; let
cfg = config.custom.programs.remmina;
in {
options.custom.programs.remmina.enable = mkOption {default = false;};
config = mkIf cfg.enable {
home-manager.users.${config.custom.username} = {
#!! Imperative configuration
xdg.configFile."remmina/remmina.pref" = {
force = true;
source = config.home-manager.users.${config.custom.username}.lib.file.mkOutOfStoreSymlink "${config.custom.sync}/linux/config/remmina/remmina.pref";
};
};
};
}