global/boot: init, refactored from modules/boot

This commit is contained in:
Infinidoge 2024-07-26 10:46:51 -04:00
parent b09425cee7
commit c399ad4200
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
12 changed files with 27 additions and 79 deletions

View file

@ -18,7 +18,6 @@
};
modules = {
boot.grub.enable = true;
hardware = {
gpu.nvidia = true;
wireless.enable = true;

View file

@ -29,12 +29,12 @@
nix.distributedBuilds = false;
modules = {
boot.grub.enable = true;
boot.timeout = 5;
hardware.form.server = true;
virtualization.enable = true;
};
boot.loader.timeout = 5;
persist = {
directories = [
"/srv"

View file

@ -20,7 +20,6 @@
nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems;
modules = {
boot.grub.enable = true;
hardware = {
gpu.intel = true;
form.laptop = true;

View file

@ -9,16 +9,13 @@
info.loc.purdue = true;
modules = {
boot = {
grub.enable = true;
timeout = 1;
};
hardware.form.desktop = true;
hardware.gpu.intel = true;
desktop.wm.enable = true;
};
boot.loader.timeout = 1;
persist = {
directories = [
];

View file

@ -9,7 +9,6 @@ with lib;
system.stateVersion = "23.11";
modules = {
hardware.form.raspi = true;
boot.ignore = true;
};
nixpkgs.overlays = [

View file

@ -13,7 +13,6 @@
};
modules = {
boot.grub.enable = true;
hardware = {
form.server = true;
};

View file

@ -9,10 +9,6 @@
info.loc.home = true;
modules = {
boot = {
grub.enable = true;
timeout = 1;
};
hardware = {
# gpu.nvidia = true;
form.server = true;
@ -26,6 +22,8 @@
};
};
boot.loader.timeout = 1;
services = {
avahi.reflector = true;
};

View file

@ -9,7 +9,6 @@
boot.kernelPackages = lib.mkForce config.boot.zfs.package.latestCompatibleLinuxPackages;
modules = {
boot.grub.enable = true;
hardware = {
audio.enable = true;
form.portable = true;

View file

@ -9,9 +9,6 @@
powerManagement.resumeCommands = "${pkgs.kmod}/bin/rmod atkbd; ${pkgs.kmod}/bin/modprobe atkbd reset=1";
modules = {
boot = {
grub.enable = true;
};
hardware = {
form.laptop = true;
gpu.amdgpu = true;