i15: update config

This commit is contained in:
Leonardo Eugênio 2022-12-20 09:32:20 -03:00
parent dbf36d1809
commit 08f6dadc40
2 changed files with 24 additions and 12 deletions

View file

@ -28,13 +28,19 @@ in {
fileSystems."/" = {
device = "/dev/disk/by-label/NIX_ROOT";
fsType = "btrfs";
options = [ "subvol=nixos" ] ++ btrfs_options;
options = [ "subvol=@nixos" ] ++ btrfs_options;
};
fileSystems."/home" = {
device = "/dev/disk/by-label/NIX_ROOT";
fsType = "btrfs";
options = [ "subvol=home" ] ++ btrfs_options;
options = [ "subvol=@home" ] ++ btrfs_options;
};
fileSystems."/swap" = {
device = "/dev/disk/by-label/NIX_ROOT";
fsType = "btrfs";
options = [ "subvol=@swap" ] ++ btrfs_options;
};
swapDevices = [{