2023-12-25 16:45:38 -05:00
|
|
|
{ profile, pkgs }:
|
2020-02-19 06:01:02 -05:00
|
|
|
|
2023-12-25 16:45:38 -05:00
|
|
|
(pkgs.nixos [
|
|
|
|
profile
|
|
|
|
({ config, lib, ... }: {
|
|
|
|
nixpkgs.pkgs = pkgs;
|
2022-01-31 00:05:05 -05:00
|
|
|
boot.loader.systemd-boot.enable = !config.boot.loader.generic-extlinux-compatible.enable && !config.boot.loader.raspberryPi.enable;
|
2023-05-05 02:45:09 -04:00
|
|
|
# we forcefully disable grub here just for testing purposes, even though some profiles might still use grub in the end.
|
|
|
|
boot.loader.grub.enable = false;
|
2020-02-19 06:01:02 -05:00
|
|
|
|
2023-09-19 00:55:17 -04:00
|
|
|
# so we can have assertions that require a certain minimum kernel version,
|
|
|
|
# We use a priority of 1200 here, which is higher than the default of 1000
|
|
|
|
boot.kernelPackages = lib.mkOverride 1200 pkgs.linuxPackages_latest;
|
|
|
|
|
2020-02-19 06:01:02 -05:00
|
|
|
fileSystems."/" = {
|
|
|
|
device = "/dev/disk/by-uuid/00000000-0000-0000-0000-000000000000";
|
|
|
|
fsType = "btrfs";
|
|
|
|
};
|
2023-12-25 16:45:38 -05:00
|
|
|
system.stateVersion = lib.version;
|
|
|
|
})
|
|
|
|
]).config.system.build.toplevel
|