Compare commits
No commits in common. "d1522589f0aa30a44f7bf5e27ae2fdaf23162970" and "0677189e4f4017fbe994332b1302edc7203adc4f" have entirely different histories.
d1522589f0
...
0677189e4f
|
@ -3,8 +3,9 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../common/desktop.nix
|
../common/desktop.nix
|
||||||
../common/nvidia.nix
|
../common/steam.nix
|
||||||
../common/gaming.nix
|
../common/minecraft.nix
|
||||||
|
# ../common/nvidia.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
|
|
|
@ -37,7 +37,6 @@ in {
|
||||||
xcape
|
xcape
|
||||||
ffmpeg
|
ffmpeg
|
||||||
|
|
||||||
ncmpcpp
|
|
||||||
pciutils
|
pciutils
|
||||||
xscreensaver
|
xscreensaver
|
||||||
ncpamixer
|
ncpamixer
|
||||||
|
@ -45,6 +44,7 @@ in {
|
||||||
dunst
|
dunst
|
||||||
libnotify
|
libnotify
|
||||||
tig
|
tig
|
||||||
|
cmus
|
||||||
neomutt
|
neomutt
|
||||||
mpv
|
mpv
|
||||||
yt-dlp
|
yt-dlp
|
||||||
|
@ -124,18 +124,6 @@ in {
|
||||||
nativeMessagingHosts.tridactyl = true;
|
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 = {
|
users.users.usr = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" ];
|
||||||
|
|
|
@ -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
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
prismlauncher
|
||||||
|
];
|
||||||
|
}
|
|
@ -7,10 +7,6 @@
|
||||||
driSupport32Bit = true;
|
driSupport32Bit = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
glxinfo
|
|
||||||
];
|
|
||||||
|
|
||||||
# Tell Xorg to use the nvidia driver (also valid for Wayland)
|
# Tell Xorg to use the nvidia driver (also valid for Wayland)
|
||||||
services.xserver.videoDrivers = ["nvidia"];
|
services.xserver.videoDrivers = ["nvidia"];
|
||||||
|
|
||||||
|
@ -28,15 +24,5 @@
|
||||||
|
|
||||||
# Optionally, you may need to select the appropriate driver version for your specific GPU.
|
# Optionally, you may need to select the appropriate driver version for your specific GPU.
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||||
|
|
||||||
prime = {
|
|
||||||
offload = {
|
|
||||||
enable = true;
|
|
||||||
enableOffloadCmd = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
intelBusId = "PCI:0:2:0";
|
|
||||||
nvidiaBusId = "PCI:1:0:0";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue