Files
nixos/modules/nix-config/security.nix

19 lines
374 B
Nix

{ currentSystemUser, ... }:
{
security.sudo.extraConfig = ''
Defaults pwfeedback
Defaults timestamp_timeout=120
'';
sops = {
age.sshKeyPaths = [
"/etc/ssh/ssh_host_ed25519_key"
];
defaultSopsFile = ../../secrets/default.sops.yaml;
secrets = {
"wifi_password" = {
owner = currentSystemUser;
};
};
};
}