mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Rename the sops user password attribute
This commit is contained in:
parent
309858b2f2
commit
df184ded64
3 changed files with 8 additions and 10 deletions
|
|
@ -1,12 +1,12 @@
|
|||
{config, ...}: {
|
||||
imports = [../common.nix];
|
||||
|
||||
sops.secrets."password/seb".neededForUsers = true;
|
||||
sops.secrets.seb-password.neededForUsers = true;
|
||||
|
||||
users.users.seb = {
|
||||
isNormalUser = true;
|
||||
description = "Sebastian Stork";
|
||||
hashedPasswordFile = config.sops.secrets."password/seb".path;
|
||||
hashedPasswordFile = config.sops.secrets.seb-password.path;
|
||||
extraGroups = ["wheel" "networkmanager" "libvirtd" "video"];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue