oizys/hardware-configuration.nix

21 lines
701 B
Nix
Raw Normal View History

# these args are passed into every nixos module (or file that is in included in a nixos module imports=[...])
{
modulesPath, # this variable, in particular, gives us the nixos modules path for our system config
...
}:
2020-10-24 22:55:15 -05:00
{
imports = [
# note: this format can't be used with flakes, because it pulls from
# NIX_PATH, which is impure, and dis-allowed with flakes.
# Use the format shown in the line below it.
#<nixpkgs/nixos/modules/installer/scan/not-detected.nix>
"${modulesPath}/installer/scan/not-detected.nix"
]
2020-10-24 22:55:15 -05:00
boot.loader.systemd-boot.enable = true; # (for UEFI systems only)
fileSystems."/".device = "/dev/disk/by-label/nixos";
}