mirror of
https://github.com/tboerger/nixos-config
synced 2024-11-23 12:42:01 +01:00
31 lines
483 B
Nix
31 lines
483 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
swapDevices = [{
|
||
|
device = "/dev/disk/by-label/swap";
|
||
|
}];
|
||
|
|
||
|
fileSystems."/" = {
|
||
|
device = "/dev/disk/by-label/root";
|
||
|
fsType = "ext4";
|
||
|
options = [
|
||
|
"noatime"
|
||
|
"discard"
|
||
|
];
|
||
|
};
|
||
|
|
||
|
fileSystems."/home" = {
|
||
|
device = "/dev/disk/by-label/home";
|
||
|
fsType = "ext4";
|
||
|
options = [
|
||
|
"noatime"
|
||
|
"discard"
|
||
|
];
|
||
|
};
|
||
|
|
||
|
fileSystems."/boot" = {
|
||
|
device = "/dev/disk/by-label/boot";
|
||
|
fsType = "vfat";
|
||
|
};
|
||
|
}
|