Compare commits

..

No commits in common. "d1522589f0aa30a44f7bf5e27ae2fdaf23162970" and "0677189e4f4017fbe994332b1302edc7203adc4f" have entirely different histories.

5 changed files with 10 additions and 44 deletions

View File

@ -3,8 +3,9 @@
{
imports = [
../common/desktop.nix
../common/nvidia.nix
../common/gaming.nix
../common/steam.nix
../common/minecraft.nix
# ../common/nvidia.nix
];
boot.loader = {

View File

@ -37,7 +37,6 @@ in {
xcape
ffmpeg
ncmpcpp
pciutils
xscreensaver
ncpamixer
@ -45,6 +44,7 @@ in {
dunst
libnotify
tig
cmus
neomutt
mpv
yt-dlp
@ -124,18 +124,6 @@ in {
nativeMessagingHosts.tridactyl = true;
};
services.mpd = {
enable = true;
musicDirectory = "/home/usr/music";
extraConfig = ''
audio_output {
type "pulse"
name "pulseaudio"
server "127.0.0.1"
}
'';
};
users.users.usr = {
isNormalUser = true;
extraGroups = [ "wheel" ];

View File

@ -1,15 +0,0 @@
{ config, lib, pkgs, ... }:
{
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
};
environment.systemPackages = with pkgs; [
steam-run
prismlauncher
xonotic
minetest
];
}

6
common/minecraft.nix Normal file
View File

@ -0,0 +1,6 @@
{ config, lib, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
prismlauncher
];
}

View File

@ -7,10 +7,6 @@
driSupport32Bit = true;
};
environment.systemPackages = with pkgs; [
glxinfo
];
# Tell Xorg to use the nvidia driver (also valid for Wayland)
services.xserver.videoDrivers = ["nvidia"];
@ -28,15 +24,5 @@
# Optionally, you may need to select the appropriate driver version for your specific GPU.
package = config.boot.kernelPackages.nvidiaPackages.stable;
prime = {
offload = {
enable = true;
enableOffloadCmd = true;
};
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
};
}