feat: NixOS | modular nixos config

This commit is contained in:
2025-02-10 23:57:50 +05:00
parent 25b942ef7a
commit 257be3540d
23 changed files with 269 additions and 289 deletions

View File

@@ -6,9 +6,8 @@
lib,
modulesPath,
...
}:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
}: {
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
boot = {
initrd = {
@@ -21,11 +20,11 @@
"usb_storage"
"sd_mod"
];
kernelModules = [ ];
kernelModules = [];
};
kernelModules = [ "kvm-amd" ];
extraModulePackages = [ ];
kernelModules = ["kvm-amd"];
extraModulePackages = [];
};
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking