feat: set up declarative password with sops

This commit is contained in:
Nick 2025-11-05 21:13:54 -06:00
parent 672c9bb7c0
commit 05ea17564f
3 changed files with 18 additions and 3 deletions

View file

@ -8,6 +8,7 @@ let
inherit (flake.config.people) user0;
rootDevice = "/dev/disk/by-uuid/df9868a4-2dd1-40d5-9f5f-c56ceac62216";
bootDevice = "/dev/disk/by-uuid/DF19-AD99";
in
{
fileSystems = {
@ -37,7 +38,7 @@ in
};
"/boot" = {
device = "/dev/disk/by-uuid/DF19-AD99";
device = bootDevice;
fsType = "vfat";
options = [
"fmask=0077"
@ -49,6 +50,10 @@ in
device = "/dev/disk/by-label/storage";
fsType = "ext4";
};
"/etc/ssh" = {
neededForBoot = true;
};
};
boot.initrd.postResumeCommands = lib.mkAfter ''
mkdir /btrfs_tmp