dotfiles/nixos/machines/jay-lenovo.nix

61 lines
1.3 KiB
Nix
Raw Permalink Normal View History

{ config, lib, pkgs, forEachUser, ... }:
2023-03-17 19:48:20 -06:00
{
imports = [
../configuration.nix
2023-03-17 19:48:20 -06:00
];
features.full.enable = true;
2023-08-01 16:40:46 -06:00
environment.systemPackages = with pkgs; [
android-studio
2023-08-01 16:40:46 -06:00
linuxPackages_latest.perf
zenmonitor
2024-08-31 11:03:08 -06:00
code-cursor
2023-08-01 16:40:46 -06:00
];
2023-03-17 19:48:20 -06:00
hardware.enableRedistributableFirmware = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.initrd.kernelModules = [ "amdgpu" ];
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-09-26 14:15:27 -06:00
myModules.postgres.enable = true;
2024-01-04 20:50:46 -07: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";
home-manager.users = forEachUser {
home.stateVersion = "23.05";
};
2023-03-17 19:48:20 -06:00
}