diff options
author | EuAndreh <eu@euandre.org> | 2020-02-23 00:08:06 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-02-23 00:08:06 -0300 |
commit | 6fd412eb0e71c3010001ad98a48def44fa42b8a2 (patch) | |
tree | 0f4fc0a2ae6bbbef8c2d3ec8a15e490cfa11e35a /_pastebins | |
parent | /home/andreh/dev/libre/dotfiles/scripts/ad-hoc/pastebin.sh: Auto-add _pastebi... (diff) | |
download | euandre.org-6fd412eb0e71c3010001ad98a48def44fa42b8a2.tar.gz euandre.org-6fd412eb0e71c3010001ad98a48def44fa42b8a2.tar.xz |
/home/andreh/dev/libre/dotfiles/scripts/ad-hoc/pastebin.sh: Auto-add _pastebins/gnu-guix-systemd-daemon-for-nixos.md
Diffstat (limited to '_pastebins')
-rw-r--r-- | _pastebins/gnu-guix-systemd-daemon-for-nixos.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/_pastebins/gnu-guix-systemd-daemon-for-nixos.md b/_pastebins/gnu-guix-systemd-daemon-for-nixos.md new file mode 100644 index 0000000..0580993 --- /dev/null +++ b/_pastebins/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" ]; + }; +``` |