Major config overhaul: use custom modules, setup for multi-host config, and less boilerplate
This commit is contained in:
18
modules/user/remote/default.nix
Normal file
18
modules/user/remote/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ 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
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user