summaryrefslogtreecommitdiff
path: root/users/wilkuu-server.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/wilkuu-server.nix')
-rw-r--r--users/wilkuu-server.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/users/wilkuu-server.nix b/users/wilkuu-server.nix
index c1bbc92..5df7867 100644
--- a/users/wilkuu-server.nix
+++ b/users/wilkuu-server.nix
@@ -1,6 +1,7 @@
{
pkgs,
lib,
+ config,
...
}:
{
@@ -35,17 +36,16 @@
homeapps.presets = lib.genAttrs [ "base" "utils" "browser" ] (_: {
enable = true;
});
- # homeapps.vnc = true;
- # services.wayvnc = {
- # enable = true;
- # autoStart = false;
- # settings = {
- # # Todo, bind to vpn and LAN explicitly somehow
- # address = "0.0.0.0";
- # port = 5900;
- # };
- # };
+ services.wayvnc = lib.mkIf config.addons.desktop.enable {
+ enable = true;
+ autoStart = false;
+ settings = {
+ # Todo, bind to vpn and LAN explicitly somehow
+ address = "0.0.0.0";
+ port = 5900;
+ };
+ };
home.username = "wilkuu";
home.homeDirectory = "/home/wilkuu";