1
Fork 0
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:
RGBCube 2024-01-12 14:59:38 +03:00
parent 2d1ecd3211
commit 72fa9d89dc
No known key found for this signature in database
13 changed files with 35 additions and 48 deletions

View file

@ -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;
};
})

View file

@ -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 {