sops needed for users

This commit is contained in:
Joshua Falkenberg
2026-09-10 17:05:57 +02:00
parent 1bd9dcdb6d
commit 798cc6fe78
3 changed files with 5 additions and 1 deletions
+3
View File
@@ -103,6 +103,9 @@ export NIX_CONFIG="experimental-features = nix-command flakes"
sudo cryptsetup luksOpen /dev/sda2 cryptroot sudo cryptsetup luksOpen /dev/sda2 cryptroot
``` ```
``` bash ``` bash
mkdir -p /mnt/boot /mnt/nix /mnt/persist
```
``` bash
sudo mount -o subvol=@nix /dev/mapper/cryptroot /mnt/nix sudo mount -o subvol=@nix /dev/mapper/cryptroot /mnt/nix
``` ```
``` bash ``` bash
+1 -1
View File
@@ -8,7 +8,7 @@
networking.hostName = "desktop"; networking.hostName = "desktop";
users.users.root.hashedPassword = null; users.users.root.hashedPassword = "!";
users.users.user = { users.users.user = {
isNormalUser = true; isNormalUser = true;
+1
View File
@@ -5,5 +5,6 @@
sops.secrets.user-password = { sops.secrets.user-password = {
sopsFile = ../secrets/user-password.yaml; sopsFile = ../secrets/user-password.yaml;
neededForUsers = true;
}; };
} }