Add system config Split up modules into home and system sets Update Cleanup Move home config Add module attrs Fix empty LUKS device UUID Import local secrets
14 lines
242 B
Nix
14 lines
242 B
Nix
{ config, lib, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.dadada.home.ssh;
|
|
in {
|
|
options.dadada.home.ssh = {
|
|
enable = mkEnableOption "Enable SSH config";
|
|
};
|
|
config = mkIf cfg.enable {
|
|
programs.ssh = {
|
|
enable = true;
|
|
};
|
|
};
|
|
}
|