nixos-config/hosts/plover/hardware-configuration.nix

25 lines
594 B
Nix

{ lib, pkgs, modulesPath, ... }:
# Most of the filesystems listed here are supposed to be overriden to default
# settings of whatever image format configuration this host system will import
# from nixos-generators.
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
fileSystems."/" = lib.mkOverride 2000 {
label = "nixos";
fsType = "ext4";
options = [ "defaults" ];
};
fileSystems."/boot" = lib.mkOverride 2000 {
label = "boot";
fsType = "vfat";
};
swapDevices = [{
label = "swap";
options = [ "defaults" ];
priority = 5;
}];
}