1
1
Fork 0
nixos/options/custom/programs/remmina.nix
Myned af4ace6146
remmina: initial program
Signed-off-by: Myned <dev@bjork.tech>
2024-11-17 14:14:57 -06:00

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";
};
};
}