mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
nix: steam
This commit is contained in:
parent
3aef15679e
commit
55931c0167
5 changed files with 57 additions and 2 deletions
|
|
@ -3,5 +3,6 @@
|
|||
./configuration.nix
|
||||
./packages.nix
|
||||
./fonts.nix
|
||||
./rime.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
26
nixcfgs/modules/nixos/rime.nix
Normal file
26
nixcfgs/modules/nixos/rime.nix
Normal 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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
11
nixcfgs/modules/nixos/steam.nix
Normal file
11
nixcfgs/modules/nixos/steam.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue