From 8c2c0f2888ba80c5075618dcd71ef9a91a512b4c Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Sat, 20 Jul 2024 16:34:26 +0300 Subject: [PATCH] fix(hosts/alice): remove option that was removed --- hosts/alice/default.nix | 5 +--- roles/steam.nix | 63 ----------------------------------------- 2 files changed, 1 insertion(+), 67 deletions(-) delete mode 100644 roles/steam.nix diff --git a/hosts/alice/default.nix b/hosts/alice/default.nix index 1ba4a0e..1270723 100644 --- a/hosts/alice/default.nix +++ b/hosts/alice/default.nix @@ -34,10 +34,7 @@ roles.kitty.enable = true; roles.nvidia.enable = true; - roles.plasma = { - enable = true; - enableHDR = true; - }; + roles.plasma.enable = true; roles.steam.enable = true; } diff --git a/roles/steam.nix b/roles/steam.nix deleted file mode 100644 index 63325a8..0000000 --- a/roles/steam.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: let - cfg = config.roles.steam; -in { - options.roles.steam = { - enable = lib.mkEnableOption ""; - }; - - config = lib.mkIf cfg.enable { - arta.unfree.allow = [ - "steam-run" - "steam-original" - "steam" - ]; - - programs.steam = { - enable = true; - remotePlay.openFirewall = false; - dedicatedServer.openFirewall = false; - }; - hardware.steam-hardware.enable = true; - programs.gamemode = { - enable = true; - }; - - environment.systemPackages = with pkgs; [ - gamescope - protontricks - gnome.zenity - ]; - - hm = { - programs.mangohud = { - enable = true; - enableSessionWide = false; - settings = { - fps_limit = "60,90,120,200"; - time = true; - - gpu_stats = true; - gpu_temp = true; - gpu_text = "GPU"; - - cpu_stats = true; - cpu_temp = true; - cpu_text = "CPU"; - - vram = true; - ram = true; - - fps = true; - frametime = true; - frame_timing = true; - show_fps_limit = true; - }; - }; - }; - }; -} -- 2.44.1