hyprland system only

This commit is contained in:
2025-08-09 16:49:52 -05:00
parent 96e2fdaa79
commit 239da4b5cf
6 changed files with 236 additions and 23 deletions

View File

@@ -7,5 +7,6 @@
./containers
./minecraft
./sddm
./novnc
];
}

View File

@@ -0,0 +1,30 @@
{ config, lib, pkgs, ... }: {
options.sysconfig.opts.novnc.enable = lib.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.sysconfig.opts.novnc.enable {
systemd.services.novnc = {
enable = true;
path = with pkgs; [
novnc
ps
];
script = ''
novnc --listen 80 --vnc 127.0.0.1:5900
'';
serviceConfig = {
Type = "exec";
};
wantedBy = [ "multi-user.target" ];
};
networking.firewall.allowedTCPPorts = [ 80 ];
};
}