mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 22:50:19 +02:00
Merge branch 'main' of github.com:harryssecret/homelab-nix
This commit is contained in:
commit
340a95c40d
9 changed files with 112 additions and 13 deletions
6
features/client/default.nix
Normal file
6
features/client/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{config, pkgs, ...}:
|
||||
{
|
||||
imports = [
|
||||
./tailscale.nix
|
||||
]
|
||||
}
|
18
features/client/games.nix
Normal file
18
features/client/games.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{config, pkgs, ...}:
|
||||
{
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"steam"
|
||||
"steam-original"
|
||||
"steam-run"
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
lutris
|
||||
];
|
||||
};
|
||||
}
|
5
features/client/tailscale.nix
Normal file
5
features/client/tailscale.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{config, pkgs, ...}:
|
||||
{
|
||||
services.tailscale.enable = true;
|
||||
}
|
||||
|
0
features/client/udisks2.nix
Normal file
0
features/client/udisks2.nix
Normal file
Loading…
Add table
Add a link
Reference in a new issue