aboutsummaryrefslogtreecommitdiff
path: root/_pastebins/2018-07-13-gnu-guix-systemd-daemon-for-nixos.md
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-10-10 14:51:52 -0300
committerEuAndreh <eu@euandre.org>2020-10-10 14:57:40 -0300
commitd8e400c40c970996599c801974fadb6d49e60fdd (patch)
tree1920204911c4931635f569ad629b9dea73dfbec8 /_pastebins/2018-07-13-gnu-guix-systemd-daemon-for-nixos.md
parentRefactor i18n structure, remove layouts, add slides (diff)
downloadeuandre.org-d8e400c40c970996599c801974fadb6d49e60fdd.tar.gz
euandre.org-d8e400c40c970996599c801974fadb6d49e60fdd.tar.xz
Enforce all "post" and "pastebin" layouts have dates in filenames
Diffstat (limited to '_pastebins/2018-07-13-gnu-guix-systemd-daemon-for-nixos.md')
-rw-r--r--_pastebins/2018-07-13-gnu-guix-systemd-daemon-for-nixos.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/_pastebins/2018-07-13-gnu-guix-systemd-daemon-for-nixos.md b/_pastebins/2018-07-13-gnu-guix-systemd-daemon-for-nixos.md
new file mode 100644
index 0000000..0580993
--- /dev/null
+++ b/_pastebins/2018-07-13-gnu-guix-systemd-daemon-for-nixos.md
@@ -0,0 +1,24 @@
+---
+title: GNU Guix systemd daemon for NixOS
+date: 2018-07-13
+layout: pastebin
+lang: en
+---
+
+```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" ];
+ };
+```