added games module and moved primlauncher and steam to it

This commit is contained in:
Sven Vogel 2023-12-08 16:05:53 +01:00
parent a671f56375
commit 5b73b05c58
7 changed files with 13 additions and 4 deletions

View File

@ -18,6 +18,7 @@ in
./extra ./extra
./core ./core
./dev ./dev
./games
]; ];
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default

View File

@ -4,6 +4,5 @@
./dvd.nix ./dvd.nix
./yubikey.nix ./yubikey.nix
./wireguard.nix ./wireguard.nix
./steam.nix
]; ];
} }

6
games/default.nix Normal file
View File

@ -0,0 +1,6 @@
{
imports = [
./steam.nix
./prismlauncher.nix
];
}

5
games/prismlauncher.nix Normal file
View File

@ -0,0 +1,5 @@
{ pkgs, config, ... }: {
environment.systemPackages = with pkgs; [
prismlauncher
];
}

View File

@ -11,6 +11,7 @@ case "$choice" in
cp -rv extra /etc/nixos cp -rv extra /etc/nixos
cp -rv users /etc/nixos cp -rv users /etc/nixos
cp -rv *.nix /etc/nixos/ cp -rv *.nix /etc/nixos/
cp -rv games /etc/nixos/
;; ;;
n|N ) n|N )
echo "aborting..." echo "aborting..."

View File

@ -36,9 +36,6 @@
ungoogled-chromium ungoogled-chromium
tor-browser-bundle-bin tor-browser-bundle-bin
# games
prismlauncher
# social media # social media
discord discord
signal-desktop signal-desktop