rearranged persistant volumes mount points
parent
f20612525e
commit
c237ebbc31
|
@ -23,21 +23,21 @@ in {
|
|||
options = [ "subvolid=5" "compress=zstd" ];
|
||||
};
|
||||
|
||||
"/persist" = {
|
||||
"/mnt/persist" = {
|
||||
device = "/dev/mapper/root";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=persist" "compress=zstd" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
"/logs" = {
|
||||
"/mnt/logs" = {
|
||||
device = "/dev/mapper/root";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=logs" "compress=zstd" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
"/data" = {
|
||||
"/mnt/data" = {
|
||||
device = "/dev/mapper/root";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=data" "compress=zstd" ];
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
];
|
||||
|
||||
home.persistence = {
|
||||
"/data/${config.home.homeDirectory}" = {
|
||||
"/mnt/data/${config.home.homeDirectory}" = {
|
||||
directories = [
|
||||
"Audio"
|
||||
"Calendars"
|
||||
|
@ -66,7 +66,7 @@
|
|||
allowOther = true;
|
||||
};
|
||||
|
||||
"/persist/${config.home.homeDirectory}" = {
|
||||
"/mnt/persist/${config.home.homeDirectory}" = {
|
||||
directories = [
|
||||
".Slic3r"
|
||||
".abook"
|
||||
|
|
|
@ -252,7 +252,7 @@
|
|||
swapDevices = [{ device = "/swap/swapfile"; }];
|
||||
|
||||
environment.persistence = {
|
||||
"/persist" = {
|
||||
"/mnt/persist" = {
|
||||
directories = [
|
||||
"/etc/NetworkManager/system-connections"
|
||||
"/etc/nixos"
|
||||
|
@ -271,7 +271,7 @@
|
|||
];
|
||||
};
|
||||
|
||||
"/logs" = { directories = [ "/var/log" ]; };
|
||||
"/mnt/logs" = { directories = [ "/var/log" ]; };
|
||||
};
|
||||
|
||||
# Open ports in the firewall.
|
||||
|
|
|
@ -32,14 +32,14 @@ in {
|
|||
options = [ "subvolid=5" "compress=zstd" ];
|
||||
};
|
||||
|
||||
"/persist" = {
|
||||
"/mnt/persist" = {
|
||||
device = "/dev/mapper/user";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=persist" "compress=zstd" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
"/data" = {
|
||||
"/mnt/data" = {
|
||||
device = "/dev/mapper/user";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=data" "compress=zstd" ];
|
||||
|
@ -52,7 +52,7 @@ in {
|
|||
options = [ "subvol=nix" "compress=zstd" ];
|
||||
};
|
||||
|
||||
"/logs" = {
|
||||
"/mnt/logs" = {
|
||||
device = "/dev/mapper/system";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=logs" "compress=zstd" ];
|
||||
|
|
Loading…
Reference in New Issue