{ pkgs, ... }: { imports = [ ./hardware-configuration.nix ../common/global ../common/users/lander ../common/optional/fonts.nix ../common/optional/keybase.nix ../common/optional/yubikey-gpg.nix ../common/optional/virt.nix ../common/optional/restic.nix ../common/optional/steam.nix ]; networking = { hostName = "wodan"; networkmanager.enable = true; }; boot = { loader = { systemd-boot.enable = true; efi.canTouchEfiVariables = true; }; initrd.luks.devices."luks-ed2282ac-fd73-4d82-9224-b7596b5b7cac".device = "/dev/disk/by-uuid/ed2282ac-fd73-4d82-9224-b7596b5b7cac"; binfmt.emulatedSystems = [ "aarch64-linux" ]; }; services.xserver.enable = true; services.xserver.displayManager.gdm.enable = true; services.xserver.desktopManager.gnome.enable = true; services.xserver.xkb = { layout = "us"; variant = ""; }; services.logind = { lidSwitch = "hibernate"; lidSwitchExternalPower = "lock"; }; services.power-profiles-daemon.enable = false; services.thermald.enable = true; services.tlp = { enable = true; settings = { CPU_BOOST_ON_AC = 1; CPU_BOOST_ON_BAT = 0; CPU_SCALING_GOVERNOR_ON_AC = "performance"; CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; CPU_ENERGY_PERF_POLICY_ON_BAT = "power"; CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; STOP_CHARGING_THRES_BAT0 = 95; }; }; security.pam.loginLimits = [ { domain = "@audio"; item = "memlock"; type = "-"; value = "unlimited"; } { domain = "@audio"; item = "rtprio"; type = "-"; value = "99"; } { domain = "@audio"; item = "nofile"; type = "soft"; value = "99999"; } { domain = "@audio"; item = "nofile"; type = "hard"; value = "99999"; } ]; services.pulseaudio.enable = false; security.rtkit.enable = true; services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; jack.enable = true; }; nixpkgs.config.allowUnfree = true; environment.systemPackages = with pkgs; [ (firefox.override { nativeMessagingHosts = [ passff-host ]; }) vim wget git texliveFull opentofu tf-summarize libreoffice opensoundmeter helvum ardour yabridge yabridgectl wineWowPackages.stable winetricks tidal superdirt-start superdirt-install ]; nix.settings = { experimental-features = [ "nix-command" "flakes" ]; substituters = [ "https://cache.nixos.org/" "https://nix-community.cachix.org" ]; trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; }; services.tailscale.enable = true; services.mullvad-vpn = { enable = true; package = pkgs.mullvad-vpn; }; services.printing.enable = true; services.printing.drivers = [ pkgs.brlaser pkgs.hplip ]; services.avahi = { enable = true; nssmdns4 = true; openFirewall = true; }; system.stateVersion = "24.05"; }