add sunshine
This commit is contained in:
18
system-config/services/sunshine/default.nix
Normal file
18
system-config/services/sunshine/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
options.sysconfig.opts.sunshine.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.sysconfig.opts.sunshine.enable {
|
||||
|
||||
services.sunshine = {
|
||||
enable = true;
|
||||
|
||||
autoStart = true;
|
||||
|
||||
openFirewall = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user