This commit is contained in:
ediblerope 2026-03-28 15:28:37 +00:00 committed by GitHub
parent 640ac96ece
commit 5c96b6fa02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 67 additions and 34 deletions

View file

@ -0,0 +1,32 @@
#./hosts/hardware/FredOS-Mediaserver.nix
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "uhci_hcd" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/6008e793-4b24-4e62-821f-7a204fef5729";
fsType = "ext4";
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
networking.hostName = "FredOS-Mediaserver";
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sdc";
boot.loader.grub.forceInstall = false;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
system.stateVersion = "25.11";
}