diff --git a/options/custom/programs/default.nix b/options/custom/programs/default.nix index f8f7992..d60c33f 100644 --- a/options/custom/programs/default.nix +++ b/options/custom/programs/default.nix @@ -64,6 +64,7 @@ with lib; { #// onedrive.enable = true; path-of-building.enable = true; rbw.enable = true; + remmina.enable = true; rofi-rbw.enable = true; rofi.enable = true; seahorse.enable = true; diff --git a/options/custom/programs/remmina.nix b/options/custom/programs/remmina.nix new file mode 100644 index 0000000..f6c42f5 --- /dev/null +++ b/options/custom/programs/remmina.nix @@ -0,0 +1,17 @@ +{ + 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 + home.file.".config/remmina/remmina.pref".source = config.home-manager.users.${config.custom.username}.lib.file.mkOutOfStoreSymlink "${config.custom.sync}/linux/config/remmina/remmina.pref"; + }; + }; +}