feat(desktop): set user password using hashedPasswordFile.
This commit is contained in:
parent
eb5fffaaa0
commit
6e0452b9bf
4 changed files with 35 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
|
@ -106,9 +107,14 @@
|
|||
users.users.crony = {
|
||||
isNormalUser = true;
|
||||
description = "Crony";
|
||||
hashedPasswordFile = "${config.age.secrets.crony-passwd.path}";
|
||||
extraGroups = ["networkmanager" "wheel" "video" "input" "audio" "gamemode" "seat"];
|
||||
};
|
||||
|
||||
users.users.root.hashedPasswordFile = "${config.age.secrets.root-passwd.path}";
|
||||
|
||||
users.mutableUsers = false;
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue