mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat: change passwords and hide new hashes
This commit is contained in:
parent
aaa1d88d46
commit
f65b217a92
5 changed files with 13 additions and 7 deletions
|
@ -5,12 +5,12 @@
|
|||
stateVersion,
|
||||
...
|
||||
}: let
|
||||
inherit (config.repo.secrets.global) myuser;
|
||||
myuser = config.repo.secrets.global.myuser.name;
|
||||
in {
|
||||
users.groups.${myuser}.gid = config.users.users.${myuser}.uid;
|
||||
users.users.${myuser} = {
|
||||
uid = 1000;
|
||||
hashedPassword = "$6$YogAnKRz8qW2Gz.I$chgMKKrpPAfV0WuGN6ChOgUJistpCzFsHOT6mhHyj07mwI1kSfDJvnMB13frMvkpv2aGpXHVH.yxk5fYHeeET/";
|
||||
inherit (config.repo.secrets.global.myuser) hashedPassword;
|
||||
createHome = true;
|
||||
group = myuser;
|
||||
extraGroups =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue