file location adjustments
disko may not be required here depending on the fact we are leveraging lxc containers
This commit is contained in:
parent
8f7a75814d
commit
906179fbed
7 changed files with 129 additions and 28 deletions
22
modules/nixos/common/users.nix
Normal file
22
modules/nixos/common/users.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
users.users.root.openssh.authorizedKeys.keys =
|
||||
with config.users.users;
|
||||
sky.openssh.authorizedKeys.keys;
|
||||
users.users.sky = {
|
||||
isNormalUser = true;
|
||||
name = "sky";
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
];
|
||||
uid = 1000;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBA9i9HoP7X8Ufzz8rAaP7Nl3UOMZxQHMrsnA5aEQfpTyIQ1qW68jJ4jGK5V6Wv27MMc3czDU1qfFWIbGEWurUHQ="
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue