move games to home config

+ a few tweaks
This commit is contained in:
tristan 2024-01-06 06:30:00 +00:00
parent cd8efd23f3
commit 4e86180652
4 changed files with 39 additions and 39 deletions

27
home/programs/gamer.nix Normal file
View file

@ -0,0 +1,27 @@
{pkgs, ...}: {
home.packages = with pkgs; [
# Games
airshipper
minetest
superTuxKart
xonotic
# Helpers
heroic
BeatSaberModManager
protontricks
protonup-qt
oversteer
# vr
monado
openxr-loader
opencomposite
(makeDesktopItem {
name = "x11steam";
desktopName = "X11 Steam Wrapper";
exec = "QT_QPA_PLATFORM=xcb SDL_VIDEODRIVER=x11 ${steam}/bin/steam";
})
];
}

View file

@ -1,9 +1,4 @@
{
config,
pkgs,
lib,
...
}: {
{pkgs, ...}: {
programs.neovim = {
enable = true;
defaultEditor = true;
@ -48,4 +43,8 @@
};
};
};
home.shellAliases = {
v = "nvim .";
};
}

View file

@ -1,5 +1,8 @@
{pkgs, config, ...}: {
{
pkgs,
config,
...
}: {
programs.starship.enable = true;
programs.zsh = {
enable = true;
@ -13,6 +16,7 @@
completionInit = ''
autoload -U compinit && compinit
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
zstyle ':completion:*' menu select
'';
historySubstringSearch = {
enable = true;
@ -24,6 +28,4 @@
home.shellAliases = {
rm = "${pkgs.trash-cli}/bin/trash-put";
};
}