diff --git a/flake.nix b/flake.nix index 6c02a6b..5b5c277 100755 --- a/flake.nix +++ b/flake.nix @@ -65,7 +65,6 @@ outputs = {nixpkgs, nixpkgs-unstable, agenix, home-manager, home-manager-unstabl ./roles/common ./roles/desktop ./roles/kde - ./roles/gaming ./machines/Archie ]; }; diff --git a/roles/desktop/firefox.nix b/roles/desktop/firefox.nix index 643f174..5a44b3f 100644 --- a/roles/desktop/firefox.nix +++ b/roles/desktop/firefox.nix @@ -41,12 +41,12 @@ "Status" = "default"; }; /* - https://wiki.archlinux.org/title/Firefox#KDE_integration tells me to enable this, - but strangely enough doing so makes firefox ask to be set as the default browser - every time you start it up, so I'll disable it + Not sure what this does, + but https://wiki.archlinux.org/title/Firefox#KDE_integration + tells me to enable it */ "widget.use-xdg-desktop-portal.mime-handler" = { - "Value" = 0; + "Value" = 1; "Status" = "default"; }; }; diff --git a/roles/gaming/default.nix b/roles/gaming/default.nix deleted file mode 100755 index fb3cce4..0000000 --- a/roles/gaming/default.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ ... }: - -{ - imports = [ - ./steam.nix - ./mangohud.nix - ]; -} diff --git a/roles/gaming/mangohud.nix b/roles/gaming/mangohud.nix deleted file mode 100644 index ff6f5df..0000000 --- a/roles/gaming/mangohud.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ config, ... }: - -{ - # This does the same as enableSessionWide does on the mangohud config - environment.sessionVariables = { MANGOHUD = "1"; MANGOHUD_DLSYM = "1"; }; - - home-manager.users.toast = { config, ... }: - { - programs.mangohud = { - enable = true; - # TODO: fix envvars set by home manager not applying for some reason - # This only works for Vulkan, openGL programs still need the mangohud wrapper - enableSessionWide = true; - settings = { - preset = 4; - }; - }; - }; -} diff --git a/roles/gaming/steam.nix b/roles/gaming/steam.nix deleted file mode 100644 index 1c71901..0000000 --- a/roles/gaming/steam.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ config, pkgs, ... }: - -{ - programs.steam = { - enable = true; - # Doubt that I'll use it, but I'll enable it anyways - remotePlay.openFirewall = true; - }; - # Some linux native games (rise of the tomb raider) use alsa for sound - services.pipewire.alsa.enable = true; -}