summaryrefslogtreecommitdiff
path: root/src/content/en/pastebins/2018/07/13/guix-nixos-systemd.adoc
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-04-18 02:17:12 -0300
committerEuAndreh <eu@euandre.org>2025-04-18 02:48:42 -0300
commit020c1e77489b772f854bb3288b9c8d2818a6bf9d (patch)
tree142aec725a52162a446ea7d947cb4347c9d573c9 /src/content/en/pastebins/2018/07/13/guix-nixos-systemd.adoc
parentMakefile: Remove security.txt.gz (diff)
downloadeuandre.org-020c1e77489b772f854bb3288b9c8d2818a6bf9d.tar.gz
euandre.org-020c1e77489b772f854bb3288b9c8d2818a6bf9d.tar.xz
git mv src/content/* src/content/en/
Diffstat (limited to 'src/content/en/pastebins/2018/07/13/guix-nixos-systemd.adoc')
-rw-r--r--src/content/en/pastebins/2018/07/13/guix-nixos-systemd.adoc22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/content/en/pastebins/2018/07/13/guix-nixos-systemd.adoc b/src/content/en/pastebins/2018/07/13/guix-nixos-systemd.adoc
new file mode 100644
index 0000000..fa4226a
--- /dev/null
+++ b/src/content/en/pastebins/2018/07/13/guix-nixos-systemd.adoc
@@ -0,0 +1,22 @@
+= GNU Guix systemd daemon for NixOS
+:catgories: nix, guix
+:sort: 3
+
+[source,nix]
+----
+ # Derived from Guix guix-daemon.service.in
+ # https://git.savannah.gnu.org/cgit/guix.git/tree/etc/guix-daemon.service.in?id=00c86a888488b16ce30634d3a3a9d871ed6734a2
+ systemd.services.guix-daemon = {
+ enable = true;
+ description = "Build daemon for GNU Guix";
+ serviceConfig = {
+ ExecStart = "/var/guix/profiles/per-user/root/guix-profile/bin/guix-daemon --build-users-group=guixbuild";
+ Environment="GUIX_LOCPATH=/root/.guix-profile/lib/locale";
+ RemainAfterExit="yes";
+ StandardOutput="syslog";
+ StandardError="syslog";
+ TaskMax= 8192;
+ };
+ wantedBy = [ "multi-user.target" ];
+ };
+----