add os config for hs
This commit is contained in:
parent
ccd3e64936
commit
dafda65208
5 changed files with 323 additions and 1 deletions
10
os/hs/disks.nix
Normal file
10
os/hs/disks.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ config, pkgs, ... }: {
|
||||
environment.etc.crypttab.text = ''
|
||||
cryptstorage UUID=25ba8562-0029-4802-9a98-a6a1d51637d3 /root/disk1_key
|
||||
'';
|
||||
|
||||
fileSystems."/disk1" =
|
||||
{ device = "/dev/disk/by-uuid/5143b73f-8474-4467-86b1-73552785c9f9";
|
||||
fsType = "ext4";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue