2023-08-21 16:59:45 -06:00
|
|
|
{ config, lib, pkgs, inputs, forEachUser, ... }:
|
2020-07-10 13:32:43 -06:00
|
|
|
|
|
|
|
{
|
2021-07-19 20:24:55 -06:00
|
|
|
imports = [
|
2023-08-20 04:25:58 -06:00
|
|
|
../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
|
|
|
];
|
|
|
|
|
2023-08-20 04:25:58 -06:00
|
|
|
modules.base.enable = true;
|
|
|
|
modules.desktop.enable = true;
|
2023-08-21 22:30:24 -06:00
|
|
|
modules.xmonad.enable = true;
|
2023-08-20 04:25:58 -06:00
|
|
|
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;
|
2023-08-20 04:25:58 -06:00
|
|
|
|
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 = [ ];
|
|
|
|
|
2020-07-14 13:13:34 -06:00
|
|
|
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
|
|
|
|
2023-08-21 16:59:45 -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
|
|
|
}
|