dotfiles/nixos/machines/adele.nix

68 lines
1.6 KiB
Nix
Raw Normal View History

{ config, lib, pkgs, inputs, forEachUser, ... }:
2020-07-10 13:32:43 -06:00
{
2021-07-19 20:24:55 -06:00
imports = [
../configuration.nix
2023-12-19 22:20:05 -07:00
inputs.nixos-hardware.nixosModules.dell-xps-17-9700-nvidia
2021-07-19 20:24:55 -06:00
];
modules.base.enable = true;
modules.desktop.enable = true;
2023-08-21 22:30:24 -06:00
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;
2023-12-19 22:20:05 -07:00
modules.gitea-runner.enable = false;
2021-07-19 20:24:55 -06:00
hardware.enableRedistributableFirmware = true;
2020-07-10 13:33:10 -06:00
2023-08-21 17:25:32 -06:00
boot.kernelPackages = pkgs.linuxPackages_latest;
2020-07-10 13:32:43 -06:00
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
2023-12-19 22:20:05 -07:00
services.xserver = {
videoDrivers = [ "nvidia" ];
};
2020-07-10 13:32:43 -06:00
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
2023-09-13 20:13:00 -06:00
services.xserver.libinput = {
enable = true;
2023-10-03 14:23:47 -06:00
touchpad.tapping = true;
2023-09-13 20:13:00 -06:00
};
2020-07-10 13:32:43 -06:00
2023-09-01 07:40:51 -06:00
security.pam.services.login.fprintAuth = true;
2023-08-31 18:52:45 -06:00
services.fprintd = {
enable = true;
tod = {
enable = true;
driver = pkgs.libfprint-2-tod1-goodix;
};
};
2020-07-10 13:32:43 -06:00
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
2023-08-21 22:33:52 -06:00
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
2020-07-10 13:32:43 -06:00
home-manager.users = forEachUser {
home.stateVersion = "23.05";
};
2023-08-21 16:53:39 -06:00
system.stateVersion = "23.05";
2020-07-10 13:32:43 -06:00
}