1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Make it pure!

This commit is contained in:
RGBCube 2023-12-11 22:47:54 +03:00
parent e3f54aa93a
commit 617601cb13
No known key found for this signature in database
5 changed files with 33 additions and 7 deletions

View file

@ -14,6 +14,8 @@
})
(importModules [
./hardware.nix
"bat"
"blueman"
"boot"
@ -44,6 +46,4 @@
"steam"
"steck"
"waybar"
/etc/nixos/hardware-configuration.nix
])

25
hosts/enka/hardware.nix Normal file
View file

@ -0,0 +1,25 @@
{
boot.initrd.availableKernelModules = [
"ahci"
"rtsx_pci_sdmmc"
"sd_mod"
"sr_mod"
"xhci_pci"
];
fileSystems."/" = {
device = "/dev/disk/by-uuid/cc473c12-94a9-4399-a0ab-f080f9e786f6";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/D1F5-D862";
fsType = "vfat";
};
swapDevices = [
{ device = "/dev/disk/by-uuid/f3a15cd2-9897-4867-9414-d4a8c3e71caf"; }
];
hardware.cpu.intel.updateMicrocode = true;
}