Set up disko zfs encrypted root for 'vm' host
This commit is contained in:
1 parent
1d903c0c93
commit
5e5e0a4906
6 files changed
+167
-13
No files matched your search
@@ -6,6 +6,7 @@
|
||||
imports =
|
||||
[
|
||||
./hard.nix
|
||||
./disk.nix
|
||||
../../modules/bootloader.nix
|
||||
../../modules/networking.nix
|
||||
../../modules/users.nix
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
import ../../modules/disko.zfs-encrypted-root.nix
|
||||
@@ -13,15 +13,6 @@
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/7d406784-bf6b-420e-a956-134f719c8206";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/4cbaffdb-0ca2-4735-87d0-eefe994f0e18"; }
|
||||
];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
|
||||
Reference in new issue
Block a user