NixOSConfig/lib/hardware/base.nix

18 lines
309 B
Nix
Raw Normal View History

2023-12-01 14:38:58 +00:00
{ config, lib, pkgs, modulesPath, ... }: {
fileSystems."/" = {
device = "/dev/disk/by-label/NixOS";
fsType = "ext4";
};
2023-12-01 15:00:19 +00:00
fileSystems."/boot/efi" = {
2023-12-01 14:38:58 +00:00
device = "/dev/disk/by-label/Boot";
fsType = "vfat";
};
swapDevices = [
{
device = "/dev/disk/by-label/Swap";
}
];
}