mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 10:06:51 +01:00
36 lines
622 B
Nix
36 lines
622 B
Nix
{ config, pkgs, modulesPath, ... }:
|
|
|
|
{
|
|
imports = [
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
];
|
|
|
|
boot = {
|
|
kernelPackages = pkgs.linuxPackages_zen;
|
|
|
|
initrd = {
|
|
availableKernelModules = [ "usbhid" ];
|
|
};
|
|
|
|
extraModulePackages = [ ];
|
|
};
|
|
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "/dev/disk/by-label/NIXROOT";
|
|
fsType = "ext4";
|
|
};
|
|
"/boot" = {
|
|
device = "/dev/disk/by-label/NIXBOOT";
|
|
fsType = "vfat";
|
|
};
|
|
};
|
|
|
|
|
|
swapDevices = [ {
|
|
device = "/var/lib/swapfile";
|
|
size = (4*1024)+(2*1024);
|
|
} ];
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
|
}
|