mirror of
https://github.com/tboerger/nixos-config
synced 2024-06-08 19:36:03 +02:00
37 lines
582 B
Nix
37 lines
582 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
swapDevices = [{
|
|
device = "/dev/disk/by-label/swap";
|
|
}];
|
|
|
|
fileSystems."/" = {
|
|
device = "/dev/disk/by-label/root";
|
|
fsType = "ext4";
|
|
options = [
|
|
"noatime"
|
|
];
|
|
};
|
|
|
|
fileSystems."/nix" = {
|
|
device = "/dev/disk/by-label/nix";
|
|
fsType = "ext4";
|
|
options = [
|
|
"noatime"
|
|
];
|
|
};
|
|
|
|
fileSystems."/home" = {
|
|
device = "/dev/disk/by-label/home";
|
|
fsType = "ext4";
|
|
options = [
|
|
"noatime"
|
|
];
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-label/boot1";
|
|
fsType = "vfat";
|
|
};
|
|
}
|