Move separate games.nix into Vanguard.nix
Move extra packages (lutris, prismlauncher, etc...) to home-manager since they don't need to be in nixos config
This commit is contained in:
parent
f3f51985a9
commit
4a18a87bca
|
@ -1,5 +1,5 @@
|
|||
{config, ...}: {
|
||||
imports = [./desktop.nix ./games.nix];
|
||||
imports = [./desktop.nix];
|
||||
boot = {
|
||||
initrd.kernelModules = ["amdgpu"];
|
||||
extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
||||
|
@ -7,9 +7,22 @@
|
|||
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
||||
'';
|
||||
};
|
||||
hardware.opengl = {
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
hardware = {
|
||||
opengl = {
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
};
|
||||
steam-hardware.enable = true;
|
||||
};
|
||||
services.ollama.enable = true;
|
||||
programs = {
|
||||
gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
};
|
||||
steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
(old: {passthru.providedSessions = ["sway"];});
|
||||
wrapperFeatures.gtk = true;
|
||||
};
|
||||
xwayland.enable = true;
|
||||
};
|
||||
gtk.iconCache.enable = true;
|
||||
qt = {
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
lutris
|
||||
prismlauncher
|
||||
(retroarch.override {
|
||||
cores = with libretro; [dolphin mgba mupen64plus];
|
||||
})
|
||||
];
|
||||
hardware.steam-hardware.enable = true;
|
||||
programs = {
|
||||
xwayland.enable = true;
|
||||
gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
};
|
||||
steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue