feat(desktop): install sunshine, fix cuda.
This commit is contained in:
parent
670119ae64
commit
8288e6da83
3 changed files with 3 additions and 0 deletions
|
@ -161,6 +161,7 @@
|
||||||
crony.auto-cpufreq.enable = true;
|
crony.auto-cpufreq.enable = true;
|
||||||
crony.hyprland-nixos.enable = true;
|
crony.hyprland-nixos.enable = true;
|
||||||
crony.ollama.enable = false;
|
crony.ollama.enable = false;
|
||||||
|
crony.sunshine.enable = true;
|
||||||
|
|
||||||
# List packages installed in system profile
|
# List packages installed in system profile
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
|
@ -141,6 +141,7 @@ in {
|
||||||
monitor = [
|
monitor = [
|
||||||
"HDMI-A-1, 1920x1080@144, 0x0, 1"
|
"HDMI-A-1, 1920x1080@144, 0x0, 1"
|
||||||
"eDP-1, 1920x1080, 0x0, 1"
|
"eDP-1, 1920x1080, 0x0, 1"
|
||||||
|
"sunshine, 1920x1080@144, 0x0, 1"
|
||||||
];
|
];
|
||||||
|
|
||||||
animations = {
|
animations = {
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
config = lib.mkIf config.crony.sunshine.enable {
|
config = lib.mkIf config.crony.sunshine.enable {
|
||||||
services.sunshine = {
|
services.sunshine = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.sunshine.override {cudaSupport = true;};
|
||||||
autoStart = false;
|
autoStart = false;
|
||||||
capSysAdmin = true;
|
capSysAdmin = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue