change all instances to ssh keyFiles from keys
This commit is contained in:
parent
5fe4b45fc7
commit
827a4f3b3f
4 changed files with 15 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue