minor config cleanup

This commit is contained in:
sid 2026-05-10 18:30:55 +02:00
parent 21a610df37
commit 18b970a750
4 changed files with 15 additions and 15 deletions

View file

@ -7,7 +7,6 @@
{ {
imports = [ imports = [
./boot.nix ./boot.nix
./ess.nix
./hardware.nix ./hardware.nix
./networking.nix ./networking.nix
./packages.nix ./packages.nix

View file

@ -1,7 +1,5 @@
{ {
config,
lib, lib,
pkgs,
modulesPath, modulesPath,
... ...
}: }:
@ -11,7 +9,8 @@
(modulesPath + "/profiles/qemu-guest.nix") (modulesPath + "/profiles/qemu-guest.nix")
]; ];
boot.initrd.availableKernelModules = [ boot = {
initrd.availableKernelModules = [
"ahci" "ahci"
"xhci_pci" "xhci_pci"
"virtio_pci" "virtio_pci"
@ -19,9 +18,10 @@
"sd_mod" "sd_mod"
"sr_mod" "sr_mod"
]; ];
boot.initrd.kernelModules = [ ]; initrd.kernelModules = [ ];
boot.kernelModules = [ ]; kernelModules = [ ];
boot.extraModulePackages = [ ]; extraModulePackages = [ ];
};
fileSystems."/" = { fileSystems."/" = {
device = "/dev/disk/by-label/ROOT"; device = "/dev/disk/by-label/ROOT";

View file

@ -1,5 +1,6 @@
{ {
imports = [ imports = [
./ess.nix
./nginx.nix ./nginx.nix
./openssh.nix ./openssh.nix
]; ];

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { pkgs, ... }:
{ {
services.k3s = { services.k3s = {