Nixos-Configuration/modules/nixos/common/users.nix
Jermeiah S 906179fbed
file location adjustments
disko may not be required here depending on the fact we are leveraging
lxc containers
2025-06-14 06:01:03 -04:00

22 lines
494 B
Nix

{
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="
];
};
}