mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Fix passwordFile, make it hashedPasswordFile
This commit is contained in:
parent
2d1ecd3211
commit
72fa9d89dc
13 changed files with 35 additions and 48 deletions
|
@ -11,10 +11,10 @@
|
|||
users.users.root.passwordFile = config.age.secrets."cube.password".path;
|
||||
|
||||
users.users.rgb = normalUser {
|
||||
description = "RGB";
|
||||
extraGroups = [ "wheel" ];
|
||||
description = "RGB";
|
||||
extraGroups = [ "wheel" ];
|
||||
openssh.authorizedKeys.keys = [ keys.rgbcube ];
|
||||
passwordFile = config.age.secrets."cube.password".path;
|
||||
hashedPasswordFile = config.age.secrets."cube.password.hash".path;
|
||||
};
|
||||
})
|
||||
|
||||
|
|
|
@ -7,19 +7,19 @@
|
|||
|
||||
time.timeZone = "Europe/Istanbul";
|
||||
|
||||
users.users.root.passwordFile = config.age.secrets."enka.said.password".path;
|
||||
users.users.root.hashedPasswordFile = config.age.secrets."enka.said.password.hash".path;
|
||||
|
||||
users.users.said = graphicalUser {
|
||||
description = "Said";
|
||||
extraGroups = [ "wheel" ];
|
||||
passwordFile = config.age.secrets."enka.said.password".path;
|
||||
uid = 1000;
|
||||
description = "Said";
|
||||
extraGroups = [ "wheel" ];
|
||||
hashedPasswordFile = config.age.secrets."enka.said.password.hash".path;
|
||||
uid = 1000;
|
||||
};
|
||||
|
||||
users.users.orhan = graphicalUser {
|
||||
description = "Orhan";
|
||||
passwordFile = builtins.trace (config.age.secrets) config.age.secrets."enka.orhan.password".path;
|
||||
uid = 1001;
|
||||
description = "Orhan";
|
||||
hashedPasswordFile = builtins.trace (config.age.secrets) config.age.secrets."enka.orhan.password.hash".path;
|
||||
uid = 1001;
|
||||
};
|
||||
|
||||
networking.firewall = enabled {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue