fix: actually use impermanence
This commit is contained in:
parent
a7ee019d93
commit
055f4056db
2 changed files with 16 additions and 4 deletions
|
|
@ -41,12 +41,24 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Impermanence
|
# Impermanence
|
||||||
|
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "none";
|
||||||
|
fsType = "tmpfs";
|
||||||
|
neededForBoot = true;
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/persist" = {
|
fileSystems."/persist" = {
|
||||||
device = "/dev/disk/by-uuid/1578f380-e588-419b-ace0-f63e6a48ca39";
|
device = "/dev/disk/by-uuid/1578f380-e588-419b-ace0-f63e6a48ca39";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/nix" = {
|
||||||
|
device = "/persist/nix";
|
||||||
|
options = [ "bind "];
|
||||||
|
};
|
||||||
|
|
||||||
environment.persistence."/persist" = {
|
environment.persistence."/persist" = {
|
||||||
hideMounts = true;
|
hideMounts = true;
|
||||||
directories = [
|
directories = [
|
||||||
|
|
|
||||||
|
|
@ -13,10 +13,10 @@
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
# fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/1578f380-e588-419b-ace0-f63e6a48ca39";
|
# { device = "/dev/disk/by-uuid/1578f380-e588-419b-ace0-f63e6a48ca39";
|
||||||
fsType = "ext4";
|
# fsType = "ext4";
|
||||||
};
|
# };
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/4CB1-40B6";
|
{ device = "/dev/disk/by-uuid/4CB1-40B6";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue