move games to home config
+ a few tweaks
This commit is contained in:
parent
cd8efd23f3
commit
4e86180652
4 changed files with 39 additions and 39 deletions
27
home/programs/gamer.nix
Normal file
27
home/programs/gamer.nix
Normal 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";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -1,9 +1,4 @@
|
||||||
{
|
{pkgs, ...}: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
|
|
@ -48,4 +43,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.shellAliases = {
|
||||||
|
v = "nvim .";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
{pkgs, config, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
programs.starship.enable = true;
|
programs.starship.enable = true;
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -13,6 +16,7 @@
|
||||||
completionInit = ''
|
completionInit = ''
|
||||||
autoload -U compinit && compinit
|
autoload -U compinit && compinit
|
||||||
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
|
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
|
||||||
|
zstyle ':completion:*' menu select
|
||||||
'';
|
'';
|
||||||
historySubstringSearch = {
|
historySubstringSearch = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -24,6 +28,4 @@
|
||||||
home.shellAliases = {
|
home.shellAliases = {
|
||||||
rm = "${pkgs.trash-cli}/bin/trash-put";
|
rm = "${pkgs.trash-cli}/bin/trash-put";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,35 +15,7 @@ with lib; {
|
||||||
"electron-25.9.0"
|
"electron-25.9.0"
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.${user}.imports = [
|
home-manager.users.${user}.imports = [ ../../home/programs/gamer.nix ];
|
||||||
{
|
|
||||||
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";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||||
builtins.elem (lib.getName pkg) [
|
builtins.elem (lib.getName pkg) [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue