2023-08-20 04:34:42 -06:00
|
|
|
{ config, lib, pkgs, forEachUser, ... }:
|
2023-03-17 19:48:20 -06:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
2023-08-20 04:25:58 -06:00
|
|
|
../configuration.nix
|
2023-03-17 19:48:20 -06:00
|
|
|
];
|
|
|
|
|
2023-08-20 04:25:58 -06:00
|
|
|
features.full.enable = true;
|
|
|
|
|
2023-08-01 16:40:46 -06:00
|
|
|
environment.systemPackages = with pkgs; [
|
2023-12-16 21:17:58 -07:00
|
|
|
android-studio
|
2023-08-01 16:40:46 -06:00
|
|
|
linuxPackages_latest.perf
|
|
|
|
zenmonitor
|
|
|
|
];
|
|
|
|
|
2023-03-17 19:48:20 -06:00
|
|
|
hardware.enableRedistributableFirmware = true;
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
|
2023-07-11 12:06:52 -06:00
|
|
|
boot.initrd.kernelModules = [ "amdgpu" ];
|
2023-08-20 02:54:19 -06:00
|
|
|
boot.initrd.availableKernelModules = [
|
|
|
|
"nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" "amdgpu"
|
|
|
|
];
|
2023-03-17 19:48:20 -06:00
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
2024-01-04 20:50:46 -07:00
|
|
|
modules.postgres.enable = true;
|
|
|
|
|
2023-07-11 12:06:52 -06:00
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
|
|
|
libinput.enable = true;
|
|
|
|
videoDrivers = [ "amdgpu" ];
|
|
|
|
};
|
2023-03-17 19:48:20 -06:00
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
device = "/dev/disk/by-uuid/cb96b029-df61-45d3-905b-a9435bf446df";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
device = "/dev/disk/by-uuid/1C5A-4FBB";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.hostName = "jay-lenovo";
|
|
|
|
|
2023-08-01 16:40:46 -06:00
|
|
|
services.power-profiles-daemon.enable = false;
|
|
|
|
services.tlp.enable = true;
|
2023-03-17 19:48:20 -06:00
|
|
|
|
|
|
|
system.stateVersion = "23.05";
|
2023-08-20 04:34:42 -06:00
|
|
|
|
|
|
|
home-manager.users = forEachUser {
|
|
|
|
home.stateVersion = "23.05";
|
|
|
|
};
|
2023-03-17 19:48:20 -06:00
|
|
|
}
|