continuing security/secrets overhaul
This commit is contained in:
parent
7350625fc4
commit
7f73c1af20
2 changed files with 16 additions and 3 deletions
|
|
@ -2,11 +2,20 @@
|
|||
## https://nix-community.github.io/home-manager/options.xhtml#opt-home.file
|
||||
## https://nix-community.github.io/home-manager/options.xhtml#opt-home.activation
|
||||
|
||||
{ flakePath, disksPath, ... }:
|
||||
{ config, flakePath, disksPath, primaryUser, ... }:
|
||||
|
||||
{
|
||||
|
||||
# need option for `zfs set mountpoint=/myspecialfolder mypool`
|
||||
# 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.Asphodel-key.path}
|
||||
'';
|
||||
## Mounts Asphodel to typical media location
|
||||
fileSystems."/run/media/${primaryUser}/Asphodel".device =
|
||||
"/dev/mapper/Asphodel";
|
||||
|
||||
home = {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue