mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
15 lines
516 B
Nix
15 lines
516 B
Nix
{ config, ... }:
|
|
{
|
|
age.secrets.q-password.file = ../secrets/q-password.age;
|
|
|
|
users.users.q = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "wheel" ];
|
|
# initialPassword = "qwerty123";
|
|
hashedPasswordFile = config.age.secrets.q-password.path;
|
|
openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPLLJdkVYKZgsayw+sHanKPKZbI0RMS2CakqBCEi5Trz" # laptop
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINeXccmMQ9jfLG2Z8CITaZZ+pUgYVNVYDFtmdkBHd3xk u0_a930@localhost" # phone
|
|
];
|
|
};
|
|
}
|