From f08f3812f40322b6098d75573413ed83f358871f Mon Sep 17 00:00:00 2001 From: Kleidi Bujari Date: Sun, 1 Dec 2024 22:30:26 -0500 Subject: Cleanup xnet module and add baseline modules With these changes, the xnet module is useable as a system builder. At this point, it is still undecided whether all configuration will be generalized into this module, rather than keeping mini-modules local to the machine they will run on. --- modules/xnet/disk/boot.nix | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 modules/xnet/disk/boot.nix (limited to 'modules/xnet/disk/boot.nix') diff --git a/modules/xnet/disk/boot.nix b/modules/xnet/disk/boot.nix deleted file mode 100644 index 65be2f3..0000000 --- a/modules/xnet/disk/boot.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ lib, ... }: -let - inherit (lib) mkDefault; -in -{ - boot = { - loader.systemd-boot.enable = true; - initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ]; - kernelModules = [ "kvm-intel" "kvm-amd" ]; - swraid.mdadmConf = "MAILADDR = nobody@example.com"; - tmp.cleanOnBoot = mkDefault true; - }; -} -- cgit v1.3.1