do stuff on laptop

This commit is contained in:
Kopatz
2024-09-07 10:48:30 +02:00
parent 2fccde0d31
commit 113270fbd3
2 changed files with 17 additions and 13 deletions

View File

@@ -2,6 +2,7 @@
imports = [
../kernel.nix # use latest kernel
../services/wireguard-client.nix
../services/ssh.nix
];
custom = {
cli-tools.enable = true;
@@ -35,7 +36,7 @@
gamemode.enable = true;
gnome.enable = true;
hyprland.enable = true;
games.enable = true;
#games.enable = true;
ime.enable = true;
shared.enable = true;
};

View File

@@ -2,7 +2,10 @@
with lib;
let cfg = config.custom.graphical.games;
in {
options.custom.graphical.games = { enable = mkEnableOption "Enables games"; };
options.custom.graphical.games = {
enable = mkEnableOption "Enables games";
enablePreinstalled = mkEnableOption "Enables preinstalled games";
};
config = mkIf cfg.enable {
programs.steam = {
@@ -14,16 +17,16 @@ in {
gamescopeSession.enable = true;
extraCompatPackages = with pkgs; [ proton-ge-bin ];
};
environment.systemPackages = with pkgs; [
taisei
osu-lazer-bin
wineWowPackages.unstableFull
winetricks
lutris
mangohud
prismlauncher
#tetrio-desktop #fuck you osk
#libs
];
environment.systemPackages = [ pkgs.mangohud ]
// optional cfg.enablePreinstalled (with pkgs; [
taisei
osu-lazer-bin
wineWowPackages.unstableFull
winetricks
lutris
prismlauncher
#tetrio-desktop #fuck you osk
#libs
]);
};
}