Gitiles
Code Review
Sign In
git.clicks.codes
/
Infra
/
NixFiles
/
b8ee13a4bbc7bc663abc2b5c88fdadd20b16d0f2
/
.
/
modules
/
code-server.nix
blob: 134c52d704ca95613ba26263e0923cece0e1f097 [
file
] [
log
] [
blame
]
{
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"
;
});
};
}