tangled
alpha
login
or
join now
t0.lv
/
core
forked from
tangled.org/core
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
fix knotVM configuration
oppi.li
11 months ago
e2dce639
fe659af2
+8
-4
1 changed file
expand all
collapse all
unified
split
flake.nix
+8
-4
flake.nix
···
20
20
flake = false;
21
21
};
22
22
ibm-plex-mono-src = {
23
23
-
url = "https://github.com/IBM/plex/releases/download/%40ibm%2Fplex-mono%401.1.0/ibm-plex-mono.zip";
24
24
-
flake = false;
23
23
+
url = "https://github.com/IBM/plex/releases/download/%40ibm%2Fplex-mono%401.1.0/ibm-plex-mono.zip";
24
24
+
flake = false;
25
25
};
26
26
gitignore = {
27
27
url = "github:hercules-ci/gitignore.nix";
···
415
415
virtualisation.cores = 2;
416
416
services.getty.autologinUser = "root";
417
417
environment.systemPackages = with pkgs; [curl vim git];
418
418
-
systemd.tmpfiles.rules = [
419
419
-
"w /var/lib/knotserver/secret 0660 git git - KNOT_SERVER_SECRET=6995e040e80e2d593b5e5e9ca611a70140b9ef8044add0a28b48b1ee34aa3e85"
418
418
+
systemd.tmpfiles.rules = let
419
419
+
u = config.services.tangled-knotserver.gitUser;
420
420
+
g = config.services.tangled-knotserver.gitUser;
421
421
+
in [
422
422
+
"d /var/lib/knotserver 0770 ${u} ${g} - -" # Create the directory first
423
423
+
"f+ /var/lib/knotserver/secret 0660 ${u} ${g} - KNOT_SERVER_SECRET=6995e040e80e2d593b5e5e9ca611a70140b9ef8044add0a28b48b1ee34aa3e85"
420
424
];
421
425
services.tangled-knotserver = {
422
426
enable = true;