Gitiles
Code Review
Sign In
git.clicks.codes
/
Infra
/
NixFiles
/
e11ffdd6282fd20a190604032c82ec511a1e9e19
/
.
/
modules
/
code-server.nix
blob: 39b7f3edbb5f8f2b59926b09dd8daf5b86df7d99 [
file
] [
log
] [
blame
]
{
pkgs
,
...
}:
{
services
.
code
-
server
=
{
enable
=
true
;
host
=
"0.0.0.0"
;
auth
=
"none"
;
package
=
(
pkgs
.
buildFHSUserEnv
{
name
=
"code-server"
;
targetPkgs
=
pkgs
:
with
pkgs
;
[
code
-
server git
];
runScript
=
"code-server"
;
});
};
}