17 lines
487 B
Nix
17 lines
487 B
Nix
{
|
|
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";
|
|
};
|
|
};
|
|
}
|