misc cleanup

This commit is contained in:
Gerg-L 2023-03-28 22:01:50 -04:00
parent 7326e9213e
commit ef9f011e57
9 changed files with 62 additions and 60 deletions

View file

@ -7,7 +7,6 @@ inputs: {
}: {
imports = [
(import ./prime.nix inputs)
(import ./gaming.nix inputs)
];
disko.devices = import ./disko.nix;
@ -28,9 +27,12 @@ inputs: {
"nvidia-persistenced"
"steam"
"steam-original"
"steam-run"
];
environment.systemPackages = [
pkgs.heroic
pkgs.legendary-gl
pkgs.prismlauncher
pkgs.lutris
pkgs.pcmanfm #file manager
pkgs.librewolf #best browser
pkgs.obs-studio

View file

@ -1,8 +0,0 @@
_: {pkgs, ...}: {
environment.systemPackages = with pkgs; [
heroic
legendary-gl
prismlauncher
lutris
];
}

View file

@ -1,8 +1,4 @@
_: {
config,
pkgs,
...
}: {
_: {config, ...}: {
hardware.nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.latest;
prime = {
@ -10,7 +6,6 @@ _: {
enable = true;
enableOffloadCmd = true;
};
# sync.enable = true;
amdgpuBusId = "PCI:5:0:0";
nvidiaBusId = "PCI:1:0:0";
};
@ -23,7 +18,6 @@ _: {
modesetting.enable = true;
};
services.xserver = {
videoDrivers = ["nvidia"];
#disable DPMS
monitorSection = ''
Option "DPMS" "false"