forked from Fachschaft/nixConfig
Compare commits
No commits in common. "2ffe242e8f0ba8cbe48fd7c5c99ea29eabc999a2" and "08f06f3a92c7e4e5d9cf4bc9b70d3fbc00018dd8" have entirely different histories.
2ffe242e8f
...
08f06f3a92
2 changed files with 9 additions and 9 deletions
|
@ -7,18 +7,18 @@
|
||||||
};
|
};
|
||||||
fileSystems."/persist" = {
|
fileSystems."/persist" = {
|
||||||
device = "/dev/disk/by-uuid/a72da670-f631-49b1-bcb3-6d378cc1f2d0";
|
device = "/dev/disk/by-uuid/a72da670-f631-49b1-bcb3-6d378cc1f2d0";
|
||||||
fsType = "btrfs";
|
fsType = "ext4";
|
||||||
options = [ "subvol=persist" ];
|
neededForBoot = true;
|
||||||
};
|
};
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" = {
|
||||||
device = "/dev/disk/by-uuid/a72da670-f631-49b1-bcb3-6d378cc1f2d0";
|
device = "/persist/boot";
|
||||||
fsType = "btrfs";
|
fsType = "none";
|
||||||
options = [ "subvol=boot" ];
|
options = [ "bind" ];
|
||||||
};
|
};
|
||||||
fileSystems."/nix" = {
|
fileSystems."/nix" = {
|
||||||
device = "/dev/disk/by-uuid/a72da670-f631-49b1-bcb3-6d378cc1f2d0";
|
device = "/persist/nix";
|
||||||
fsType = "btrfs";
|
fsType = "none";
|
||||||
options = [ "subvol=nix" ];
|
options = [ "bind" ];
|
||||||
};
|
};
|
||||||
fileSystems."/var/vmail" = {
|
fileSystems."/var/vmail" = {
|
||||||
device = "/dev/disk/by-uuid/23c44c93-5035-4e29-9e46-75c1c08f4cea";
|
device = "/dev/disk/by-uuid/23c44c93-5035-4e29-9e46-75c1c08f4cea";
|
||||||
|
|
|
@ -17,7 +17,7 @@ options.impermanence = {
|
||||||
enable = mkEnableOption "impermanence";
|
enable = mkEnableOption "impermanence";
|
||||||
storagePath = mkOption {
|
storagePath = mkOption {
|
||||||
type = types.path;
|
type = types.path;
|
||||||
default = "/persist";
|
default = "/persist/persist";
|
||||||
description = "The path where persistent data is stored";
|
description = "The path where persistent data is stored";
|
||||||
};
|
};
|
||||||
name = mkOption {
|
name = mkOption {
|
||||||
|
|
Loading…
Reference in a new issue