This commit is contained in:
PapaTutuWawa 2022-03-19 15:19:11 +01:00
parent c5f3a6e389
commit 32c395c33a
6 changed files with 31 additions and 13 deletions

View File

@ -30,7 +30,7 @@
virt-manager qemu scream virt-manager qemu scream
replaysorcery # Custom package replaysorcery # Custom package
vfio-isolate # Custom Package vfio-isolate # Custom Package
steam-wrapped discord-wrapped # Custom package discord-wrapped # Custom package
mumble mumble
piper trackma # Custom package piper trackma # Custom package
anime-dl # Custom package anime-dl # Custom package
@ -50,7 +50,7 @@
primaryScreen = "C27F398"; primaryScreen = "C27F398";
enable = true; enable = true;
}; };
sway.enable = true; #sway.enable = true;
alacritty.enable = true; alacritty.enable = true;
emacs.enable = true; emacs.enable = true;
firefox.enable = true; firefox.enable = true;
@ -62,7 +62,7 @@
}; };
#xournalpp.enable = true; #xournalpp.enable = true;
zsh.enable = true; zsh.enable = true;
#office.enable = true; office.enable = true;
plasma.enable = true; plasma.enable = true;
gaming.enable = true; gaming.enable = true;
}; };
@ -70,7 +70,7 @@
gamemode.enable = true; gamemode.enable = true;
#gnome.enable = true; #gnome.enable = true;
input-remapper = { input-remapper = {
enable = true; enable = false;
postStartCommand = "${pkgs.input-remapper}/bin/input-remapper-control --command start --preset NOOP --device \"Razer Razer Tartarus V2\""; postStartCommand = "${pkgs.input-remapper}/bin/input-remapper-control --command start --preset NOOP --device \"Razer Razer Tartarus V2\"";
}; };
}; };
@ -128,13 +128,12 @@
"pci=noaer" "pci=noaer"
]; ];
extraModulePackages = [ pkgs.linuxPackages_zen.vendor-reset ]; extraModulePackages = [ pkgs.linuxPackages_xanmod.vendor-reset ];
#extraModulePackages = [ pkgs.linuxPackages.vendor-reset ];
# NOTE: A regression appears to have happend between 5.10 and 5.12 # NOTE: A regression appears to have happend between 5.10 and 5.12
# which leads to the RX590 to have the fence fallback timer on # which leads to the RX590 to have the fence fallback timer on
# sdma0 time out (whatever this means). Maybe bisect? # sdma0 time out (whatever this means). Maybe bisect?
kernelPackages = pkgs.linuxPackages_zen; kernelPackages = pkgs.linuxPackages_xanmod;
}; };
services = { services = {
ratbagd.enable = true; ratbagd.enable = true;

View File

@ -9,7 +9,7 @@ in {
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment = { environment = {
systemPackages = with pkgs; [ firefox-wayland /*tor-browser-bundle-bin*/ ]; systemPackages = with pkgs; [ firefox-wayland tor-browser-bundle-bin ];
# Deploy a Firefox policy to set the search engine and do some other things # Deploy a Firefox policy to set the search engine and do some other things
etc."firefox/policies/policies.json".source = ./policies.json; etc."firefox/policies/policies.json".source = ./policies.json;

View File

@ -7,8 +7,22 @@ in {
enable = lib.mkEnableOption "Configure gaming options"; enable = lib.mkEnableOption "Configure gaming options";
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
nixpkgs.config.retroarch = {
enableDesmume = true;
enableMGBA = true;
enableDolphin = true;
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
winePackages.stagingFull winetricks lutris-free-wrapped winePackages.stagingFull winetricks lutris-free-wrapped
retroarch
steam-wrapped # Custom package
nur.repos.dukzcry.gamescope
]; ];
hardware.steam-hardware.enable = true;
}; };
} }

View File

@ -100,8 +100,8 @@ in {
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "zsh-users"; owner = "zsh-users";
repo = "zsh-syntax-highlighting"; repo = "zsh-syntax-highlighting";
rev = "6e0e950154a4c6983d9e077ed052298ad9126144"; rev = "c5ce0014677a0f69a10b676b6038ad127f40c6b1";
sha256 = "09bkg1a7qs6kvnq17jnw5cbcjhz9sk259mv0d5mklqaifd0hms4v"; sha256 = "sha256-UqeK+xFcKMwdM62syL2xkV8jwkf/NWfubxOTtczWEwA=";
}; };
} }
]; ];

View File

@ -15,12 +15,12 @@ in {
version = "1.0.1"; version = "1.0.1";
copyIntoSandbox = [ "share/pixmaps" ]; copyIntoSandbox = [ "share/pixmaps" ];
desktopFileArgs = { desktopFileArgs = {
name = "Discord (wrapped)"; name = "discord-wrapped";
#exec = "discord"; #exec = "discord";
icon = "discord"; icon = "discord";
desktopName = "Discord (wrapped)"; desktopName = "Discord (wrapped)";
genericName = "Instant Messenger"; genericName = "Instant Messenger";
categories = "Network;InstantMessaging;"; categories = [ "Network" "InstantMessaging" ];
}; };
}; };
minecraft-wrapped = wrapInSandbox { minecraft-wrapped = wrapInSandbox {

View File

@ -90,7 +90,7 @@ final: prev:
}; };
}); });
# TODO: Remove when updated in nixos-unstable /*
discord = prev.discord.overrideAttrs (old: { discord = prev.discord.overrideAttrs (old: {
version = "0.0.17"; version = "0.0.17";
src = prev.fetchurl { src = prev.fetchurl {
@ -98,4 +98,9 @@ final: prev:
sha256 = "sha256-NGJzLl1dm7dfkB98pQR3gv4vlldrII6lOMWTuioDExU="; sha256 = "sha256-NGJzLl1dm7dfkB98pQR3gv4vlldrII6lOMWTuioDExU=";
}; };
}); });
*/
tor-browser-bundle-bin = prev.tor-browser-bundle-bin.override {
useHardenedMalloc = false;
};
} }