forked from colonelpanic/dotfiles
62 lines
1.5 KiB
Nix
62 lines
1.5 KiB
Nix
# 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, ... }:
|
||
|
||
{
|
||
imports = [
|
||
../full.nix
|
||
../base.nix
|
||
];
|
||
|
||
nix = {
|
||
package = pkgs.nixUnstable;
|
||
extraOptions = ''
|
||
experimental-features = nix-command flakes ca-references
|
||
'';
|
||
};
|
||
|
||
hardware.enableRedistributableFirmware = true;
|
||
|
||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||
|
||
|
||
hardware.opengl.extraPackages = [ pkgs.linuxPackages.nvidia_x11.out ];
|
||
hardware.opengl.extraPackages32 = [ pkgs.linuxPackages.nvidia_x11.lib32 ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-intel" ];
|
||
boot.extraModulePackages = with config.boot.kernelPackages; [ soundwire-dkms ];
|
||
|
||
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 = [ ];
|
||
|
||
networking.hostName = "adele";
|
||
|
||
nix.maxJobs = lib.mkDefault 12;
|
||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||
|
||
services.redshift.enable = true;
|
||
|
||
location = {
|
||
latitude = 37.8104601;
|
||
longitude = -122.2572529;
|
||
};
|
||
|
||
system.stateVersion = "20.03";
|
||
}
|