change all instances to ssh keyFiles from keys

This commit is contained in:
TheWanderingCrow 2025-01-20 10:29:13 -05:00
parent 5fe4b45fc7
commit 827a4f3b3f
4 changed files with 15 additions and 11 deletions

View file

@ -1,5 +1,5 @@
{
pkgs,
inputs,
lib,
config,
...
@ -8,6 +8,9 @@
isNormalUser = true;
initialPassword = "changeme";
extraGroups = ["wheel" "networkmanager" "audio" "plugdev" "dialout"];
openssh.authorizedKeys.keyFiles = [
inputs.nix-secrets.keys.default
];
};
config.home-manager.users.crow = lib.mkIf config.user.crow.home.enable ./home.nix;