Added sunshine configuration
This commit is contained in:
parent
469f57c2d8
commit
2f6af8c9ae
@ -16,6 +16,7 @@
|
|||||||
../../modules/system/utils/garbage-collection.nix
|
../../modules/system/utils/garbage-collection.nix
|
||||||
../../modules/system/utils/locale.nix
|
../../modules/system/utils/locale.nix
|
||||||
../../modules/system/utils/printing.nix
|
../../modules/system/utils/printing.nix
|
||||||
|
../../modules/system/programs/sunshine.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
|
@ -25,9 +25,10 @@
|
|||||||
kdenlive
|
kdenlive
|
||||||
gthumb
|
gthumb
|
||||||
unstable.arduino-ide
|
unstable.arduino-ide
|
||||||
moonlight-qt
|
|
||||||
unstable.prismlauncher
|
unstable.prismlauncher
|
||||||
unstable.joplin-desktop
|
unstable.joplin-desktop
|
||||||
|
|
||||||
|
unstable.moonlight-qt
|
||||||
];
|
];
|
||||||
|
|
||||||
home.stateVersion = "24.05";
|
home.stateVersion = "24.05";
|
||||||
|
@ -24,7 +24,13 @@
|
|||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
monitor = if hostName == "xv-laptop" then ",preferred,auto,1.333" else ",preferred,auto,auto";
|
monitor = if hostName == "xv-laptop" then [
|
||||||
|
"eDP-1,preferred,3840x0,1.333"
|
||||||
|
"DP-10,preferred,0x0,1"
|
||||||
|
"DP-9,preferred,1920x0,1"
|
||||||
|
] else [
|
||||||
|
",preferred,auto,auto"
|
||||||
|
];
|
||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"waybar"
|
"waybar"
|
||||||
@ -67,6 +73,7 @@
|
|||||||
|
|
||||||
misc = {
|
misc = {
|
||||||
vfr = "true";
|
vfr = "true";
|
||||||
|
vrr = 2;
|
||||||
force_default_wallpaper = "0";
|
force_default_wallpaper = "0";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
11
modules/system/programs/sunshine.nix
Normal file
11
modules/system/programs/sunshine.nix
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{ ..., pkgs }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.sunshine = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.unstable.sunshine;
|
||||||
|
autostart = true;
|
||||||
|
capSysAdmin = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user