added sops keys

This commit is contained in:
serenity-F 2025-03-25 22:03:31 +10:00
parent 3a91b707f6
commit 79a95dfa82

View file

@ -10,12 +10,12 @@
# need to set up auto luks unlock with sops-nix
## Provides LUKS key for Asphodel
#environment.etc."crypttab".text = ''
#data /dev/disk/by-uuid/45f5f6ad-a676-4bc1-ad4b-e3e26b5697f4 ${config.sops.secrets.asphodelLuksPassword}
#'';
environment.etc."crypttab".text = ''
data /dev/disk/by-uuid/45f5f6ad-a676-4bc1-ad4b-e3e26b5697f4 ${config.sops.secrets.asphodelLuksPassword.path}
'';
## 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}