Compare commits

..

2 commits

Author SHA1 Message Date
Evie Litherland-Smith 3b5cf11ce7 Merge branch 'main' of https://git.xenia.me.uk/pixelifytica/nixos 2024-05-21 19:24:50 +01:00
Evie Litherland-Smith 4a18a87bca 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
2024-05-21 19:24:24 +01:00
3 changed files with 18 additions and 25 deletions

View file

@ -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 = {
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;
};
};
}

View file

@ -59,6 +59,7 @@
(old: {passthru.providedSessions = ["sway"];});
wrapperFeatures.gtk = true;
};
xwayland.enable = true;
};
gtk.iconCache.enable = true;
qt = {

View file

@ -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;
};
};
}