From 7a8b716d572c1437f8522e3b5e08d6798f3a9eb9 Mon Sep 17 00:00:00 2001 From: sefidel Date: Mon, 6 Jun 2022 19:26:21 +0900 Subject: feat(nixos/alpha): system fixup --- nixos/alpha/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nixos/alpha/configuration.nix') diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix index bf9b7e1..e259f33 100644 --- a/nixos/alpha/configuration.nix +++ b/nixos/alpha/configuration.nix @@ -221,10 +221,16 @@ ]; }; + users.mutableUsers = false; + + fileSystems."/persist".neededForBoot = true; + users.users = { + root.passwordFile = "/persist/passwords/root"; zach = { isNormalUser = true; shell = pkgs.zsh; + passwordFile = "/persist/passwords/zach"; extraGroups = [ "wheel" -- cgit 1.4.1