{ lib, inputs, pkgs, ... }: { imports = [ ./hardware-configuration.nix inputs.home-manager.nixosModules.default ] ++ (map (path: ../../modules/${path}) [ "core/global.nix" "amdgpu.nix" "amd.nix" "nvidia.nix" "passthrough.nix" "core/audio.nix" "core/bluetooth.nix" "core/fonts.nix" "polkit.nix" "compromyse.nix" "login.nix" "wm_utils.nix" "virtualization.nix" ]); boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; boot.extraModprobeConfig = "options kvm_amd nested=1"; nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfreePredicate = _: true; services.fstrim.enable = true; services.tlp = { enable = true; settings = { CPU_SCALING_GOVERNOR_ON_AC = "performance"; CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; }; }; networking.hostName = "x"; home-manager.users.compromyse = import ./home.nix; environment.systemPackages = with pkgs; [ xorg.xorgserver xorg.xf86inputevdev xorg.xf86inputsynaptics xorg.xf86inputlibinput ]; services.xserver.enable = true; services.xserver.displayManager.startx.enable = true; services.xserver.windowManager.dwm.enable = true; services.xserver.windowManager.dwm.package = pkgs.dwm.overrideAttrs { src = pkgs.fetchFromGitHub { owner = "compromyse"; repo = "dwm"; rev = "master"; hash = "sha256-bYj9u0EBfpTcpJHzeaCp3mm6tSy9dz40y+X15R0WbUs="; }; }; networking.extraHosts = '' 127.0.0.1 download.labsmartlis.local ''; }