2020-10-25 16:56:37 -05:00
|
|
|
# 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
|
|
|
|
|
|
|
{
|
2020-10-25 16:56:37 -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-25 18:55:02 -05:00
|
|
|
];
|
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";
|
|
|
|
}
|