mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-03-13 18:19:00 +00:00
users: set the correct attributes for authorized keyfiles
This commit is contained in:
parent
918d450134
commit
7f87ee09c4
@ -9,9 +9,9 @@
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ];
|
||||
useDefaultShell = true;
|
||||
openssh.authorizedKeys.keys = [
|
||||
(lib.readFile ../../home-manager/foo-dogsquared/user-key.pub)
|
||||
(lib.readFile ../../../hosts/ni/host-key.pub)
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
../../home-manager/foo-dogsquared/user-key.pub
|
||||
../../../hosts/ni/host-key.pub
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -8,5 +8,10 @@
|
||||
useDefaultShell = true;
|
||||
isNormalUser = true;
|
||||
description = "The go-to user for server systems.";
|
||||
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
../../home-manager/foo-dogsquared/user-key.pub
|
||||
../../../hosts/ni/host-key.pub
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user