54 lines
1.3 KiB
Nix
54 lines
1.3 KiB
Nix
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||
# and may be overwritten by future invocations. Please make changes
|
||
# to /etc/nixos/configuration.nix instead.
|
||
{ config, lib, pkgs, modulesPath, ... }:
|
||
|
||
{
|
||
imports =
|
||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||
];
|
||
|
||
fileSystems."/" =
|
||
{ device = "none";
|
||
fsType = "tmpfs";
|
||
};
|
||
|
||
fileSystems."/boot" =
|
||
{ device = "/dev/disk/by-label/ESP";
|
||
fsType = "vfat";
|
||
options = [ "fmask=0022" "dmask=0022" ];
|
||
};
|
||
|
||
fileSystems."/nix" =
|
||
{ device = "/dev/disk/by-label/btrfs-root";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=nix" "compress=zstd" "noatime" ];
|
||
};
|
||
|
||
fileSystems."/etc" =
|
||
{ device = "/dev/disk/by-label/btrfs-root";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=etc" "compress=zstd" "noatime" ];
|
||
};
|
||
|
||
fileSystems."/var/log" =
|
||
{ device = "/dev/disk/by-label/btrfs-root";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=log" "compress=zstd" "noatime" ];
|
||
};
|
||
|
||
fileSystems."/root" =
|
||
{ device = "/dev/disk/by-label/btrfs-root";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=root" "compress=zstd" "noatime" ];
|
||
};
|
||
|
||
fileSystems."/home" =
|
||
{ device = "/dev/disk/by-label/btrfs-root";
|
||
fsType = "btrfs";
|
||
options = [ "subvol=home" "compress=zstd" ];
|
||
};
|
||
|
||
swapDevices = [ ];
|
||
}
|