Initial commit

This commit is contained in:
Aleksandr 2024-09-22 11:34:06 +03:00
commit 5648fe3686
31 changed files with 827 additions and 0 deletions

27
lil-maid/hw.nix Normal file
View file

@ -0,0 +1,27 @@
{ pkgs, config, lib, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
systemd.tmpfiles.settings = {
"10-secrets" = {
"/secrets".v = {
user = "nero";
mode = "0760";
};
};
};
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelModules = [ "btusb" "kvm-amd" ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ "amdgpu" ];
boot.extraModulePackages = [ ];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}