Skyler Grey | 29af77b | 2023-03-05 23:54:31 +0000 | [diff] [blame] | 1 | { pkgs, ... }: { |
Skyler Grey | e8bac74 | 2023-03-05 18:45:47 +0000 | [diff] [blame] | 2 | services.code-server = { |
| 3 | enable = true; |
| 4 | host = "0.0.0.0"; |
| 5 | auth = "none"; |
Skyler Grey | 29af77b | 2023-03-05 23:54:31 +0000 | [diff] [blame] | 6 | package = (pkgs.buildFHSUserEnv { |
| 7 | name = "code-server"; |
Skyler Grey | 49d6d09 | 2023-03-20 11:13:12 +0000 | [diff] [blame] | 8 | targetPkgs = pkgs: with pkgs; [ code-server git ]; |
Skyler Grey | 29af77b | 2023-03-05 23:54:31 +0000 | [diff] [blame] | 9 | runScript = "code-server"; |
| 10 | }); |
Skyler Grey | e8bac74 | 2023-03-05 18:45:47 +0000 | [diff] [blame] | 11 | }; |
| 12 | } |