diff --git a/flake.nix b/flake.nix index cc45399..b65c598 100644 --- a/flake.nix +++ b/flake.nix @@ -113,6 +113,8 @@ ./modules/graphical/gamemode.nix ./modules/graphical/obs.nix ./modules/graphical/audio.nix + ./modules/graphical/games.nix + ./modules/graphical/ime.nix ./modules/graphical/shared.nix ./modules/hardware/nvidia.nix ./modules/hardware/ssd.nix diff --git a/modules/graphical/games.nix b/modules/graphical/games.nix new file mode 100644 index 0000000..4601749 --- /dev/null +++ b/modules/graphical/games.nix @@ -0,0 +1,16 @@ +{ pkgs, ...}: +{ + programs.steam = { + enable = true; + remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play + dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server + gamescopeSession.enable = true; + }; + environment.systemPackages = with pkgs; [ + taisei + osu-lazer-bin + yuzu-mainline + wineWowPackages.unstableFull + lutris + ]; +} diff --git a/modules/graphical/ime.nix b/modules/graphical/ime.nix new file mode 100644 index 0000000..5d673b4 --- /dev/null +++ b/modules/graphical/ime.nix @@ -0,0 +1,5 @@ +{ config, lib, pkgs, ... }: +{ + i18n.inputMethod.enabled = "fcitx5"; + i18n.inputMethod.fcitx5.addons = [ pkgs.fcitx5-mozc ]; +} diff --git a/modules/graphical/shared.nix b/modules/graphical/shared.nix index 4719710..00542a2 100644 --- a/modules/graphical/shared.nix +++ b/modules/graphical/shared.nix @@ -9,12 +9,7 @@ let }); in { - programs.steam = { - enable = true; - remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play - dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server - gamescopeSession.enable = true; - }; + programs.dconf.enable = true; programs.kdeconnect.enable = true; @@ -58,7 +53,6 @@ in nextcloud-client thunderbird rofi - taisei localsend element-desktop tetrioPlus @@ -73,10 +67,8 @@ in qbittorrent brightnessctl wacomtablet - osu-lazer-bin libsForQt5.kolourpaint wl-clipboard - yuzu-mainline ]; #environment.sessionVariables = {