2024-11-17 20:14:57 +00:00
|
|
|
{
|
|
|
|
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
|
2024-11-17 23:27:14 +00:00
|
|
|
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";
|
|
|
|
};
|
2024-11-17 20:14:57 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|