Do not install vnc client on neelix.

This commit is contained in:
Tom Alexander 2025-01-23 21:35:09 -05:00
parent 226610c926
commit a773f94593
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 18 additions and 4 deletions

View File

@ -53,4 +53,5 @@
me.steam.enable = true;
me.sway.enable = true;
me.terraform.enable = true;
me.vnc_client.enable = true;
}

View File

@ -8,9 +8,22 @@
{
imports = [ ];
config = lib.mkIf config.me.graphical {
environment.systemPackages = with pkgs; [
wlvncc
];
options.me = {
vnc_client.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install vnc_client.";
};
};
config = lib.mkIf config.me.vnc_client.enable (
lib.mkMerge [
(lib.mkIf config.me.graphical {
environment.systemPackages = with pkgs; [
wlvncc
];
})
]
);
}