Enabled sunshine

This commit is contained in:
xeovalyte 2025-02-22 16:17:19 +01:00
parent 9a08ed5dff
commit 690daec6fa
Signed by: xeovalyte
SSH Key Fingerprint: SHA256:GWI1hq+MNKR2UOcvk7n9tekASXT8vyazK7vDF9Xyciw
3 changed files with 14 additions and 14 deletions

24
flake.lock generated
View File

@ -306,11 +306,11 @@
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1740019415,
"narHash": "sha256-/zTPI91ovj8GirYjfp+mipAxny64drl7Af6nnCN7K6g=",
"lastModified": 1740192028,
"narHash": "sha256-aEaTAYI8TxLo8xXSJBUMMHwOEzsmyRspkoanZJbJTtQ=",
"owner": "lilyinstarlight",
"repo": "nixos-cosmic",
"rev": "ca158e1d3824b4b4cbaaf258a6a9123a21d9049c",
"rev": "f3accf6aa7235dc5b9530a8d6c2077603bb0c5de",
"type": "github"
},
"original": {
@ -321,11 +321,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1739798439,
"narHash": "sha256-GyipmjbbQEaosel/+wq1xihCKbv0/e1LU00x/8b/fP4=",
"lastModified": 1740089251,
"narHash": "sha256-Y78mDBWoO8CLLTjQfPfII+KXFb6lAmF9GrLbyVBsIMM=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "3e2ea8a49d4d76276b0f4e2041df8ca5c0771371",
"rev": "18e9f9753e9ae261bcc7d3abe15745686991fd30",
"type": "github"
},
"original": {
@ -337,11 +337,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1739580444,
"narHash": "sha256-+/bSz4EAVbqz8/HsIGLroF8aNaO8bLRL7WfACN+24g4=",
"lastModified": 1739866667,
"narHash": "sha256-EO1ygNKZlsAC9avfcwHkKGMsmipUk1Uc0TbrEZpkn64=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8bb37161a0488b89830168b81c48aed11569cb93",
"rev": "73cf49b8ad837ade2de76f87eb53fc85ed5d4680",
"type": "github"
},
"original": {
@ -368,11 +368,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1739624908,
"narHash": "sha256-f84lBmLl4tkDp1ZU5LBTSFzlxXP4926DVW3KnXrke10=",
"lastModified": 1739923778,
"narHash": "sha256-BqUY8tz0AQ4to2Z4+uaKczh81zsGZSYxjgvtw+fvIfM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a60651b217d2e529729cbc7d989c19f3941b9250",
"rev": "36864ed72f234b9540da4cf7a0c49e351d30d3f1",
"type": "github"
},
"original": {

View File

@ -24,7 +24,7 @@
services = {
docker.enable = true;
quickemu.enable = false;
sunshine.enable = false;
sunshine.enable = true;
garbage-collection.enable = true;
};
hardware = {

View File

@ -17,7 +17,7 @@ in {
config = mkIf cfg.enable {
services.sunshine = {
enable = true;
package = pkgs.unstable.sunshine.override { cudaSupport = true; };
package = pkgs.unstable.sunshine;
autoStart = true;
capSysAdmin = true;
openFirewall = true;