19 lines
320 B
Nix
19 lines
320 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
cfg = config.userSettings.remote;
|
|
in {
|
|
options = {
|
|
userSettings.remote = {
|
|
enable = lib.mkEnableOption "Enable programs for controlling remote machines";
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
remmina
|
|
sshfs
|
|
];
|
|
};
|
|
}
|