Do not install vnc client on neelix.
This commit is contained in:
parent
226610c926
commit
a773f94593
@ -53,4 +53,5 @@
|
|||||||
me.steam.enable = true;
|
me.steam.enable = true;
|
||||||
me.sway.enable = true;
|
me.sway.enable = true;
|
||||||
me.terraform.enable = true;
|
me.terraform.enable = true;
|
||||||
|
me.vnc_client.enable = true;
|
||||||
}
|
}
|
||||||
|
@ -8,9 +8,22 @@
|
|||||||
{
|
{
|
||||||
imports = [ ];
|
imports = [ ];
|
||||||
|
|
||||||
config = lib.mkIf config.me.graphical {
|
options.me = {
|
||||||
environment.systemPackages = with pkgs; [
|
vnc_client.enable = lib.mkOption {
|
||||||
wlvncc
|
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
|
||||||
|
];
|
||||||
|
})
|
||||||
|
]
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user