2020-07-10 13:32:43 -06:00
|
|
|
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
|
|
|
# and may be overwritten by future invocations. Please make changes
|
|
|
|
|
# to /etc/nixos/configuration.nix instead.
|
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
2021-07-19 20:24:55 -06:00
|
|
|
|
imports = [
|
|
|
|
|
../full.nix
|
|
|
|
|
../base.nix
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
2020-07-10 13:33:10 -06:00
|
|
|
|
|
2021-08-13 22:39:34 -06:00
|
|
|
|
boot.kernelPatches = [{
|
|
|
|
|
name = "enable-soundwire-drivers";
|
|
|
|
|
patch = null;
|
|
|
|
|
extraConfig = ''
|
|
|
|
|
SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES y
|
|
|
|
|
SND_SOC_INTEL_SOUNDWIRE_SOF_MACH m
|
|
|
|
|
SND_SOC_RT1308 m
|
|
|
|
|
'';
|
|
|
|
|
ignoreConfigErrors = true;
|
|
|
|
|
}];
|
|
|
|
|
|
2020-07-10 13:32:43 -06:00
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
2021-07-24 21:03:34 -06:00
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
2021-07-19 20:24:55 -06:00
|
|
|
|
|
2020-07-10 13:32:43 -06:00
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
2021-08-13 22:39:34 -06:00
|
|
|
|
boot.extraModulePackages = with config.boot.kernelPackages; [ ];
|
2020-07-10 13:32:43 -06:00
|
|
|
|
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
|
|
services.xserver.libinput.enable = true;
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/bfe4586b-2538-4aae-ad2f-b1277378de4a";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/5C09-F06F";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
2020-07-14 13:13:34 -06:00
|
|
|
|
networking.hostName = "adele";
|
2020-07-10 13:32:43 -06:00
|
|
|
|
|
|
|
|
|
nix.maxJobs = lib.mkDefault 12;
|
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
|
|
2020-12-01 23:35:27 -07:00
|
|
|
|
services.redshift.enable = true;
|
|
|
|
|
|
|
|
|
|
location = {
|
|
|
|
|
latitude = 37.8104601;
|
|
|
|
|
longitude = -122.2572529;
|
|
|
|
|
};
|
2021-07-19 20:24:55 -06:00
|
|
|
|
|
|
|
|
|
system.stateVersion = "20.03";
|
2020-07-10 13:32:43 -06:00
|
|
|
|
}
|