2022-11-23 05:27:01 +00:00
|
|
|
{ lib, pkgs, modulesPath, ... }:
|
|
|
|
|
2022-11-25 13:27:23 +00:00
|
|
|
# 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.
|
2022-11-23 05:27:01 +00:00
|
|
|
{
|
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
2022-11-25 13:27:23 +00:00
|
|
|
fileSystems."/" = lib.mkOverride 2000 {
|
2022-11-23 05:27:01 +00:00
|
|
|
label = "nixos";
|
|
|
|
fsType = "ext4";
|
2023-01-05 02:56:35 +00:00
|
|
|
options = [ "defaults" ];
|
2022-11-23 05:27:01 +00:00
|
|
|
};
|
2023-01-05 02:56:35 +00:00
|
|
|
|
|
|
|
fileSystems."/boot" = lib.mkOverride 2000 {
|
|
|
|
label = "boot";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
|
|
|
|
swapDevices = [{
|
|
|
|
label = "swap";
|
|
|
|
options = [ "defaults" ];
|
|
|
|
priority = 5;
|
|
|
|
}];
|
2022-11-23 05:27:01 +00:00
|
|
|
}
|