puter/nixos/flamingo/default.nix

34 lines
636 B
Nix
Raw Normal View History

2023-09-17 11:31:20 +00:00
{
lib,
pkgs,
inputs,
config,
self,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
inputs.hardware.nixosModules.lenovo-thinkpad-t480
../features/flatpak.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
boot = {
initrd.availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "sd_mod"];
kernelModules = ["kvm-intel"];
};
hardware.cpu.intel.updateMicrocode = config.hardware.enableRedistributableFirmware;
system.stateVersion = "23.11";
powerManagement.cpuFreqGovernor = "powersave";
console.keyMap = "de";
services.xserver.layout = "de";
}