mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
feat: set up declarative password with sops
This commit is contained in:
parent
672c9bb7c0
commit
05ea17564f
3 changed files with 18 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue