dotfiles/nixos/machines/adele.nix

51 lines
1.3 KiB
Nix
Raw Normal View History

{ config, lib, pkgs, inputs, ... }:
2020-07-10 13:32:43 -06:00
{
2021-07-19 20:24:55 -06:00
imports = [
../configuration.nix
inputs.nixos-hardware.nixosModules.dell-xps-17-9700-intel
2021-07-19 20:24:55 -06:00
];
modules.base.enable = true;
modules.desktop.enable = true;
modules.xmonad.enable = true;
modules.extra.enable = false;
modules.code.enable = true;
modules.games.enable = false;
modules.syncthing.enable = true;
modules.fonts.enable = true;
modules.nixified-ai.enable = false;
2021-07-19 20:24:55 -06:00
hardware.enableRedistributableFirmware = true;
2020-07-10 13:33:10 -06:00
2020-07-10 13:32:43 -06:00
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
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."/" =
2023-08-21 16:53:39 -06:00
{ device = "/dev/disk/by-uuid/18af5b4c-69c7-41a8-865e-bc3f5269d2f9";
2020-07-10 13:32:43 -06:00
fsType = "ext4";
};
fileSystems."/boot" =
2023-08-21 16:53:39 -06:00
{ device = "/dev/disk/by-uuid/8A9F-D7D2";
2020-07-10 13:32:43 -06:00
fsType = "vfat";
};
swapDevices = [ ];
networking.hostName = "adele";
2020-07-10 13:32:43 -06:00
2022-09-27 09:38:29 -06:00
nix.settings.maxJobs = lib.mkDefault 12;
2020-07-10 13:32:43 -06:00
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
2023-08-21 16:53:39 -06:00
system.stateVersion = "23.05";
2020-07-10 13:32:43 -06:00
}