add code-server

This commit is contained in:
Andreas Zweili 2022-01-03 14:18:55 +01:00
parent d02550885f
commit a2fa1769f4
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,10 @@
{ ... }:
let
username = import ../../username.nix;
in
{
services.code-server = {
enable = true;
user = username;
};
}

View File

@ -5,6 +5,8 @@
[
# Include the results of the hardware scan.
../../modules/common.nix
../../modules/docker.nix
../../modules/code-server
./hardware-configuration.nix
];