Please
This commit is contained in:
@@ -10,11 +10,7 @@
|
||||
"nix:push" = "cd /etc/nixos && git add -A && git commit -m \"$(date -u +%s)\" && git push";
|
||||
"nix:pull" = "cd /etc/nixos && git pull";
|
||||
|
||||
# Git Config
|
||||
"git:config:name" = "printf \"Enter Git Name: \"; read -r name; sudo sed -i \"s/gitName = \\\".*\\\";/gitName = \\\"$name\\\";/\" /etc/nixos/settings.nix";
|
||||
"git:config:email" = "printf \"Enter Git Email: \"; read -r email; sudo sed -i \"s/gitEmail = \\\".*\\\";/gitEmail = \\\"$email\\\";/\" /etc/nixos/settings.nix";
|
||||
"git:config:key" = "printf \"Enter Git Public Key: \"; read -r key; sudo sed -i \"s|gitKey = \\\".*\\\";|gitKey = \\\"$key\\\";|\" /etc/nixos/settings.nix";
|
||||
|
||||
# Utilities
|
||||
"fixaudio" = "systemctl --user restart pipewire pipewire-pulse wireplumber";
|
||||
"nf" = "neofetch";
|
||||
};
|
||||
|
||||
@@ -16,14 +16,11 @@ in
|
||||
|
||||
# Allowed ports
|
||||
allowedTCPPorts = [
|
||||
# Sunshine
|
||||
47984 47989 48010
|
||||
# SyncThing
|
||||
8384 22000
|
||||
];
|
||||
allowedUDPPorts = [
|
||||
# Sunshine
|
||||
47998 47999 48000 48010
|
||||
|
||||
# SyncThing
|
||||
22000 21027
|
||||
];
|
||||
|
||||
@@ -40,8 +40,8 @@ in
|
||||
services.sunshine = {
|
||||
enable = true;
|
||||
autoStart = true;
|
||||
openFirewall = true;
|
||||
capSysAdmin = true;
|
||||
openFirewall = true;
|
||||
applications = {
|
||||
apps = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user