[nix] moves gaming stuff to it's own file.
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, ... }@inputs:
|
outputs = { self, nixpkgs, ... }@inputs: {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
drew-desktop = (import ./system/hosts/drew-desktop) {
|
drew-desktop = (import ./system/hosts/drew-desktop) {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
./features/development-linux.nix
|
./features/development-linux.nix
|
||||||
./features/haskell.nix
|
./features/haskell.nix
|
||||||
./features/nix.nix
|
./features/nix.nix
|
||||||
|
./features/gaming.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
@@ -20,17 +21,6 @@
|
|||||||
obsidian
|
obsidian
|
||||||
firefox
|
firefox
|
||||||
waypaper # Wallpaper switcher
|
waypaper # Wallpaper switcher
|
||||||
|
|
||||||
# Gaming
|
|
||||||
mangohud
|
|
||||||
(lutris.override {
|
|
||||||
extraPkgs = pkgs: [
|
|
||||||
winetricks # Needed for bnet setup.
|
|
||||||
vulkan-tools # Needed for bnet setup
|
|
||||||
];
|
|
||||||
})
|
|
||||||
protonup-ng
|
|
||||||
vulkan-tools # useful for debugging Vulkan issues
|
|
||||||
];
|
];
|
||||||
|
|
||||||
xdg.desktopEntries = {
|
xdg.desktopEntries = {
|
||||||
|
|||||||
16
home-manager/features/gaming.nix
Normal file
16
home-manager/features/gaming.nix
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
# Gaming
|
||||||
|
mangohud
|
||||||
|
(lutris.override {
|
||||||
|
extraPkgs = pkgs: [
|
||||||
|
winetricks # Needed for bnet setup.
|
||||||
|
vulkan-tools # Needed for bnet setup
|
||||||
|
];
|
||||||
|
})
|
||||||
|
protonup-ng
|
||||||
|
vulkan-tools # useful for debugging Vulkan issues
|
||||||
|
wowup-cf
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user