added sops keys

This commit is contained in:
serenity-F 2025-03-25 22:12:24 +10:00
parent a11fc688d1
commit 3ecf406baa

View file

@ -12,13 +12,13 @@
# need to set up auto luks unlock with sops-nix
## Provides LUKS key for Asphodel
environment.etc."crypttab".text = ''
Asphodel /dev/disk/by-uuid/45f5f6ad-a676-4bc1-ad4b-e3e26b5697f4 ${config.sops.secrets.asphodelLuksPassword}
'';
#environment.etc."crypttab".text = ''
#Asphodel /dev/disk/by-uuid/45f5f6ad-a676-4bc1-ad4b-e3e26b5697f4 ${config.sops.secrets.asphodelLuksPassword}
#'';
## Mounts Asphodel to typical media location
fileSystems."/run/media/${primaryUser}/Asphodel".device =
"/dev/mapper/Asphodel";
#fileSystems."/run/media/${primaryUser}/Asphodel".device =
#"/dev/mapper/Asphodel";
home.file = { # Files and directories to copy to ${homeDir}