cleanup boot files
This commit is contained in:
parent
7eb0a715ea
commit
eca65aa860
6 changed files with 113 additions and 98 deletions
42
hosts/apollo/boot/filesystems.nix
Normal file
42
hosts/apollo/boot/filesystems.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
boot.zfs.forceImportRoot = false;
|
||||
fileSystems."/" = {
|
||||
device = "nix-root/root";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/var/log" = {
|
||||
device = "nix-root/syslog";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/nix" = {
|
||||
device = "nix-root/nix";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/keys" = {
|
||||
device = "/dev/mapper/zfs-keys";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/home/nyxerinys" = {
|
||||
device = "nix-main/nyxerinys";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/A5CB-B201";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/dev/disk/by-id/nvme-CT1000P2SSD8_2138E5D5DA5A-part3";
|
||||
randomEncryption.enable = true;
|
||||
}
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue