forked from colonelpanic/dotfiles
65 lines
1.5 KiB
Nix
65 lines
1.5 KiB
Nix
{ config, lib, pkgs, inputs, forEachUser, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../configuration.nix
|
|
inputs.nixos-hardware.nixosModules.dell-xps-17-9700-intel
|
|
];
|
|
|
|
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;
|
|
modules.gitea-runner.enable = true;
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
services.xserver.libinput = {
|
|
enable = true;
|
|
touchpad.tapping = false;
|
|
};
|
|
|
|
security.pam.services.login.fprintAuth = true;
|
|
services.fprintd = {
|
|
enable = true;
|
|
tod = {
|
|
enable = true;
|
|
driver = pkgs.libfprint-2-tod1-goodix;
|
|
};
|
|
};
|
|
|
|
fileSystems."/" =
|
|
{ device = "/dev/disk/by-uuid/18af5b4c-69c7-41a8-865e-bc3f5269d2f9";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
fileSystems."/boot" =
|
|
{ device = "/dev/disk/by-uuid/8A9F-D7D2";
|
|
fsType = "vfat";
|
|
};
|
|
|
|
swapDevices = [ ];
|
|
|
|
networking.hostName = "adele";
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
|
|
|
home-manager.users = forEachUser {
|
|
home.stateVersion = "23.05";
|
|
};
|
|
|
|
system.stateVersion = "23.05";
|
|
}
|