dotfiles/nixos/machines/adele.nix

72 lines
1.7 KiB
Nix
Raw Permalink 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
];
2024-09-26 14:15:27 -06:00
myModules.base.enable = true;
myModules.desktop.enable = true;
myModules.xmonad.enable = true;
myModules.extra.enable = false;
myModules.code.enable = true;
myModules.games.enable = false;
myModules.syncthing.enable = true;
myModules.fonts.enable = true;
myModules.nixified-ai.enable = false;
myModules.gitea-runner.enable = false;
2021-07-19 20:24:55 -06:00
hardware.enableRedistributableFirmware = true;
2020-07-10 13:33:10 -06:00
2024-02-04 01:33:14 -07:00
environment.systemPackages = with pkgs; [
android-studio
];
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
}