Gitiles
Code Review
Sign In
git.clicks.codes
/
Infra
/
NixFiles
/
452ee7c62791f71df882c61f4e396ebf08f9f510
/
.
/
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"
;
});
};
}