nix: steam

This commit is contained in:
js0ny 2025-10-13 00:34:56 +01:00
parent 3aef15679e
commit 55931c0167
5 changed files with 57 additions and 2 deletions

View file

@ -3,5 +3,6 @@
./configuration.nix
./packages.nix
./fonts.nix
./rime.nix
];
}

View file

@ -0,0 +1,26 @@
{pkgs, ...}: {
# environment.variables = {
# GTK_IM_MODULE = "fcitx";
# QT_IM_MODULE = "fcitx";
# XMODIFIERS = "@im=fcitx";
# INPUT_METHOD = "fcitx";
# };
i18n.inputMethod = {
enable = true;
# enabled = "fcitx5"; dep.
enableGtk2 = true;
enableGtk3 = true;
type = "fcitx5";
fcitx5 = {
waylandFrontend = true;
plasma6Support = true;
addons = with pkgs; [
fcitx5-rime
kdePackages.fcitx5-configtool
kdePackages.fcitx5-qt
fcitx5-gtk
fcitx5-lua
];
};
};
}

View file

@ -0,0 +1,11 @@
{pkgs, ...}: {
nixpkgs.config.allowUnfree = true;
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
fontPackages = with pkgs; [
lxgw-neoxihei
];
};
}