forked from Fachschaft/nixConfig
Compare commits
2 commits
08f06f3a92
...
2ffe242e8f
Author | SHA1 | Date | |
---|---|---|---|
2ffe242e8f | |||
889d0a8736 |
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 = "ext4";
|
fsType = "btrfs";
|
||||||
neededForBoot = true;
|
options = [ "subvol=persist" ];
|
||||||
};
|
};
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" = {
|
||||||
device = "/persist/boot";
|
device = "/dev/disk/by-uuid/a72da670-f631-49b1-bcb3-6d378cc1f2d0";
|
||||||
fsType = "none";
|
fsType = "btrfs";
|
||||||
options = [ "bind" ];
|
options = [ "subvol=boot" ];
|
||||||
};
|
};
|
||||||
fileSystems."/nix" = {
|
fileSystems."/nix" = {
|
||||||
device = "/persist/nix";
|
device = "/dev/disk/by-uuid/a72da670-f631-49b1-bcb3-6d378cc1f2d0";
|
||||||
fsType = "none";
|
fsType = "btrfs";
|
||||||
options = [ "bind" ];
|
options = [ "subvol=nix" ];
|
||||||
};
|
};
|
||||||
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/persist";
|
default = "/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