cleaner
This commit is contained in:
parent
fccf1a0609
commit
8d24cb9103
1 changed files with 2 additions and 4 deletions
|
|
@ -5,8 +5,7 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
config = (
|
||||
lib.mkIf config.osbmModules.services.vscode-server.enable {
|
||||
config = lib.mkIf config.osbmModules.services.vscode-server.enable {
|
||||
services.code-server = {
|
||||
# only true if the machine is not pochita
|
||||
enable = config.networking.hostName != "pochita";
|
||||
|
|
@ -53,6 +52,5 @@
|
|||
};
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ config.services.code-server.port ];
|
||||
}
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue