wayvnc
This commit is contained in:
@@ -228,7 +228,6 @@
|
||||
hyprland.enable = true;
|
||||
swaylock.enable = true;
|
||||
wal.enable = true;
|
||||
wayvnc.enable = true;
|
||||
mpd.enable = true;
|
||||
ags.enable = true;
|
||||
calcurse.enable = true;
|
||||
@@ -253,6 +252,7 @@
|
||||
wyoming.enable = false;
|
||||
minecraft.enable = false;
|
||||
steam.enable = false;
|
||||
wayvnc.enable = true;
|
||||
virtualization = {
|
||||
traefik.enable = true;
|
||||
jellyfin.enable = true;
|
||||
|
||||
@@ -8,5 +8,6 @@
|
||||
./containers
|
||||
./minecraft
|
||||
./sddm
|
||||
./wayvnc
|
||||
];
|
||||
}
|
||||
|
||||
25
system-config/services/wayvnc/default.nix
Normal file
25
system-config/services/wayvnc/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
options.sysconfig.opts.wayvnc.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.sysconfig.opts.wayvnc.enable {
|
||||
home.packages = with pkgs; [
|
||||
novnc
|
||||
];
|
||||
|
||||
services.wayvnc = {
|
||||
enable = true;
|
||||
|
||||
autoStart = true;
|
||||
|
||||
settings = {
|
||||
address = "0.0.0.0";
|
||||
|
||||
port = 5900;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user