chore: add user mutability hash for winters

This commit is contained in:
Swarsel 2024-09-23 23:13:58 +02:00
parent 035c42b170
commit c8c3ecdc72
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
4 changed files with 8 additions and 4 deletions

View file

@ -5166,6 +5166,8 @@ This ensures that all user-configuration happens here in the config file.
#+begin_src nix :tangle profiles/common/nixos/users.nix
{ pkgs, config, lib, ... }:
{
sops.secrets.swarseluser = { neededForUsers = true; };
users = {
mutableUsers = lib.mkIf (!config.swarselsystems.initialSetup) false;
users.swarsel = {
@ -5641,7 +5643,6 @@ I use sops-nix to handle secrets that I want to have available on my machines at
validateSopsFiles = false;
secrets = {
swarseluser = { neededForUsers = true; };
ernest = { };
frauns = { };
hotspot = { };