commit | 29af77b4957db8036e50c4a797d51c8dada53494 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Sun Mar 05 23:54:31 2023 +0000 |
committer | Skyler Grey <skyler3665@gmail.com> | Sun Mar 05 23:54:31 2023 +0000 |
tree | 05bd2e22ad857c09c9ea0a8bb62a9d171bce5812 | |
parent | e8bac74b1153fd74b742a3594fbf357cccdfd5b2 [diff] [blame] |
Install vscode server
diff --git a/modules/code-server.nix b/modules/code-server.nix index 9840238..134c52d 100644 --- a/modules/code-server.nix +++ b/modules/code-server.nix
@@ -1,7 +1,12 @@ -{ +{ pkgs, ... }: { services.code-server = { enable = true; host = "0.0.0.0"; auth = "none"; + package = (pkgs.buildFHSUserEnv { + name = "code-server"; + targetPkgs = pkgs: [ pkgs.code-server ]; + runScript = "code-server"; + }); }; }