Use agenix for password
This commit is contained in:
parent
ec1251c8f7
commit
9a8bf34a56
6 changed files with 23 additions and 86 deletions
|
@ -8,7 +8,6 @@
|
|||
support32Bit = true;
|
||||
};
|
||||
pulse.enable = true;
|
||||
lowLatency.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
users.users.quadradical = {
|
||||
isNormalUser = true;
|
||||
description = "QuadRadical";
|
||||
extraGroups = ["wheel"];
|
||||
};
|
||||
}
|
14
modules/common/users.nix
Normal file
14
modules/common/users.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{config, ...}: {
|
||||
users = {
|
||||
mutableUsers = false;
|
||||
users = {
|
||||
root.hashedPasswordFile = config.age.secrets."password.age".path;
|
||||
quadradical = {
|
||||
isNormalUser = true;
|
||||
hashedPasswordFile = config.age.secrets."password.age".path;
|
||||
description = "QuadRadical";
|
||||
extraGroups = ["wheel"];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue