jorah: enable impermanence
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Jake Hillion 2023-09-11 21:41:04 +01:00
parent ceab3b50a8
commit 74d687af40
2 changed files with 19 additions and 1 deletions

View File

@ -15,6 +15,9 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
## Impermanence
custom.impermanence.enable = true;
## Custom Services ## Custom Services
custom.locations.autoServe = true; custom.locations.autoServe = true;

View File

@ -16,8 +16,23 @@
fileSystems."/" = fileSystems."/" =
{ {
device = "/dev/nvme0n1p2"; device = "tmpfs";
fsType = "tmpfs";
options = [ "mode=0755" ];
};
fileSystems."/nix" =
{
device = "/dev/disk/by-id/nvme-KXG60ZNV512G_TOSHIBA_106S10VHT9LM_1-part2";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=nix" ];
};
fileSystems."/data" =
{
device = "/dev/disk/by-id/nvme-KXG60ZNV512G_TOSHIBA_106S10VHT9LM_1-part2";
fsType = "btrfs";
options = [ "subvol=data" ];
}; };
fileSystems."/boot" = fileSystems."/boot" =