2024-03-14 18:24:38 -06:00
|
|
|
{ config, lib, pkgs, inputs, forEachUser, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../configuration.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
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 = false;
|
|
|
|
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
android-studio
|
|
|
|
];
|
|
|
|
|
2024-03-14 20:52:13 -06:00
|
|
|
services.xserver.dpi = 96;
|
2024-03-14 18:24:38 -06:00
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "thunderbolt" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
services.xserver = {
|
2024-03-14 20:52:13 -06:00
|
|
|
videoDrivers = [ "nvidia" ];
|
2024-03-14 18:24:38 -06:00
|
|
|
};
|
2024-03-14 20:52:13 -06:00
|
|
|
hardware.opengl = {
|
|
|
|
enable = true;
|
|
|
|
driSupport = true;
|
|
|
|
driSupport32Bit = true;
|
|
|
|
};
|
|
|
|
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.production;
|
|
|
|
hardware.nvidia.modesetting.enable = true;
|
2024-03-14 18:24:38 -06:00
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
2024-03-14 19:48:38 -06:00
|
|
|
services.asusd.enable = true;
|
|
|
|
|
2024-03-14 18:24:38 -06:00
|
|
|
fileSystems."/" =
|
|
|
|
{ device = "/dev/disk/by-uuid/fc06a54c-cc45-423a-914b-8dfcb5939106";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
|
|
|
{ device = "/dev/disk/by-uuid/B28A-829A";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
|
|
|
|
swapDevices =
|
|
|
|
[ { device = "/dev/disk/by-uuid/27f277a0-b552-43a0-904d-625e48922bb9"; }
|
|
|
|
];
|
|
|
|
|
|
|
|
networking.hostName = "strixy-minaj";
|
|
|
|
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
|
|
|
home-manager.users = forEachUser {
|
|
|
|
home.stateVersion = "23.05";
|
|
|
|
};
|
|
|
|
|
|
|
|
system.stateVersion = "23.05";
|
|
|
|
}
|