sunshine: It's in nixos now

This commit is contained in:
Erwin Boskma 2024-04-23 16:31:37 +02:00
parent 756e3c44b7
commit a8b3e5e860
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk
4 changed files with 10 additions and 42 deletions

View file

@ -876,7 +876,6 @@
"pre-commit-hooks": "pre-commit-hooks",
"rust-overlay": "rust-overlay_2",
"sops": "sops",
"sunshine": "sunshine",
"treefmt-nix": "treefmt-nix"
}
},
@ -981,30 +980,6 @@
"type": "github"
}
},
"sunshine": {
"inputs": {
"flake-parts": [
"flake-parts"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1705261503,
"narHash": "sha256-88kkBSwPjdGLY5U4q5rD0IjxRQ8Si1QaqeI00Z2Fib4=",
"ref": "main",
"rev": "223fb72217b97ed13248713b5825b234023eed83",
"revCount": 13,
"type": "git",
"url": "https://git.datarift.nl/erwin/sunshine.git"
},
"original": {
"ref": "main",
"type": "git",
"url": "https://git.datarift.nl/erwin/sunshine.git"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,

View file

@ -142,13 +142,13 @@
};
};
sunshine = {
url = "git+https://git.datarift.nl/erwin/sunshine.git?ref=main";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
};
};
# sunshine = {
# url = "git+https://git.datarift.nl/erwin/sunshine.git?ref=main";
# inputs = {
# nixpkgs.follows = "nixpkgs";
# flake-parts.follows = "flake-parts";
# };
# };
git-fs-monitor = {
url = "git+https://git.datarift.nl/erwin/git-fs-monitor.git?ref=main";

View file

@ -56,6 +56,6 @@ rec {
inputs.home-manager.nixosModules.home-manager
inputs.sops.nixosModules.sops
inputs.sunshine.nixosModules.sunshine
# inputs.sunshine.nixosModules.sunshine
];
}

View file

@ -172,9 +172,6 @@
# SteamLink
27036
27037
# Sunshine
48010
];
allowedUDPPorts = [
@ -195,11 +192,6 @@
];
allowedTCPPortRanges = [
# Sunshine
{
from = 47984;
to = 47990;
}
# Sonos / noson
{
from = 1400;
@ -378,7 +370,8 @@
teamviewer.enable = true;
sunshine = {
enable = true;
user = "erwin";
capSysAdmin = true;
# user = "erwin";
openFirewall = true;
};
nfs.server = {