mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 06:30:18 +02:00
more refactoring
This commit is contained in:
parent
dcc640bd56
commit
ed7afeba43
20 changed files with 222 additions and 136 deletions
0
shared/client/backups.nix
Normal file
0
shared/client/backups.nix
Normal file
6
shared/client/default.nix
Normal file
6
shared/client/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{config, pkgs, ...}:
|
||||
{
|
||||
imports = [
|
||||
./tailscale.nix
|
||||
]
|
||||
}
|
18
shared/client/games.nix
Normal file
18
shared/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
|
||||
];
|
||||
};
|
||||
}
|
24
shared/client/sway.nix
Normal file
24
shared/client/sway.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{config, pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
mako
|
||||
grim
|
||||
slurp
|
||||
wl-clipboard
|
||||
xdg-utils
|
||||
sway-contrib.grimshot
|
||||
swaylock
|
||||
swaynotificationcenter
|
||||
];
|
||||
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
wrapperFeatures.gtk = true;
|
||||
};
|
||||
|
||||
xdg.portal.wlr.enable = true;
|
||||
security.pam.loginLimits = [
|
||||
{ domain = "@users"; item = "rtprio"; type = "-"; value = 1; }
|
||||
];
|
||||
|
||||
}
|
5
shared/client/tailscale.nix
Normal file
5
shared/client/tailscale.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{config, pkgs, ...}:
|
||||
{
|
||||
services.tailscale.enable = true;
|
||||
}
|
||||
|
0
shared/client/udisks2.nix
Normal file
0
shared/client/udisks2.nix
Normal file
Loading…
Add table
Add a link
Reference in a new issue