Organized Properties, Added HW Token support
Some checks failed
/ Check Nix Flake (push) Has been cancelled

This commit is contained in:
Kaybee 2025-10-30 18:40:23 +01:00
parent 1e517b499c
commit e0bead4ced
No known key found for this signature in database

View file

@ -5,38 +5,57 @@
(modulesPath + "/installer/scan/not-detected.nix")
];
# Nix Config
nixpkgs.hostPlatform = lib.mkDefault "i686-linux";
# Kernel
boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ata_piix" "usbhid" "usb_storage" "ums_realtek" "sd_mod" ];
boot.initrd.kernelModules = [ "dm-snapshot" "cryptd" ];
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-label/NIXOS_LUKS";
boot.initrd.luks.devices."cryptroot".crypttabExtraOpts = [ "fido2-device=auto" ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
boot.kernelParams = [ "i915.force_probe=27ae" ];
fileSystems."/" = {
device = "/dev/disk/by-label/NIXOS_ROOT";
fsType = "ext4";
};
# Boot Process
boot.loader.grub = {
enable = true;
copyKernels = true;
};
boot.initrd.systemd.enable = true;
#boot.plymouth.enable = true;
#boot.plymouth.logo = pkgs.fetchurl {
# url = "https://forum.auxolotl.org/uploads/default/original/1X/be37690f0748737fc813dd3592848f5323a7f277.png";
# hash = "sha256-+E7mAoEMnHsavKzEdTosli08Oohq+yt3WB4Uhwpi0Vg=";
#};
# Filesystems
fileSystems."/boot" = {
device = "/dev/disk/by-label/NIXOS_BOOT";
fsType = "vfat";
};
fileSystems."/" = {
device = "/dev/disk/by-label/NIXOS_ROOT";
fsType = "ext4";
};
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-label/NIXOS_LUKS";
boot.initrd.luks.devices."cryptroot".crypttabExtraOpts = [ "fido2-device=auto" ];
swapDevices = [
{
device = "/.swapfile";
}
];
# Misc
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp2s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp5s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "i686-linux";
# networking.enableIntel3945ABGFirmware = true;
hardware.graphics.extraPackages = [ pkgs.intel-vaapi-driver ];
hardware.graphics.extraPackages32 = [ pkgs.intel-vaapi-driver ];
# Firmware
# intel-media-driver
# intel-vaapi-driver
# libva-vdpau-drivemesar
# libvdpau-va-gl
# mesa
hardware.graphics.extraPackages = [ pkgs.driversi686Linux.mesa ];
hardware.graphics.extraPackages32 = [ pkgs.driversi686Linux.mesa ];
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.enableAllFirmware = true;
}