mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Simplify user config structure
This commit is contained in:
parent
33cad0b00c
commit
52c510d612
9 changed files with 22 additions and 31 deletions
11
users/seb/default.nix
Normal file
11
users/seb/default.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
sops.secrets."seb-password".neededForUsers = true;
|
||||
|
||||
users.users.seb = {
|
||||
isNormalUser = true;
|
||||
description = "Sebastian Stork";
|
||||
hashedPasswordFile = config.sops.secrets."seb-password".path;
|
||||
extraGroups = [ "wheel" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue