code server

This commit is contained in:
2026-10-20 22:24:54 +02:00
parent d2b4e9d1f1
commit 6b8778c6be
2 changed files with 18 additions and 0 deletions
@@ -0,0 +1,17 @@
{ ... }:
{
services.code-server = {
enable = true;
user = "andreas";
group = "users";
host = "0.0.0.0";
port = 1337;
auth = "password";
hashedPassword = "$argon2i$v=19$m=4096,t=3,p=1$Njl5em15cVdqMVluSWJneWp4OUhObGgxZ0tnPQ$1AAVNLuuKv5qyno40QAxFVPeAydY+8XkEVovKYrkJN0";
disableTelemetry = true;
disableUpdateCheck = true;
};
networking.firewall.allowedTCPPorts = [ 1337 ];
}
@@ -10,6 +10,7 @@
{
imports = [
./code-server.nix
./tigervnc.nix
./hardware/hardware-configuration.nix
./hardware/realtek-r8125.nix