integrate htpc and associated configuration

This commit is contained in:
k3t
2026-06-01 20:33:57 -06:00
parent 8209672944
commit db7a8a3f6e
21 changed files with 289 additions and 33 deletions
+33
View File
@@ -0,0 +1,33 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "uas" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/9e3085ab-53c4-4301-be0b-ea60edeb5ef5";
fsType = "btrfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/2C85-DE7B";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/54f5cbbd-333d-42b4-ab70-033b2a0d20a2"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}