diff options
author | EuAndreh <eu@euandre.org> | 2024-11-18 08:21:58 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-11-18 08:44:57 -0300 |
commit | 960e4410f76801356ebd42801c914b2910a302a7 (patch) | |
tree | 615d379416f72956d0c1666c63ce062859041fbe /src/content/pastebins/2018/07/13/guix-nixos-systemd.adoc | |
parent | Remove jekyll infrastructure setup (diff) | |
download | euandre.org-960e4410f76801356ebd42801c914b2910a302a7.tar.gz euandre.org-960e4410f76801356ebd42801c914b2910a302a7.tar.xz |
v0 migration to mkwb
Diffstat (limited to 'src/content/pastebins/2018/07/13/guix-nixos-systemd.adoc')
-rw-r--r-- | src/content/pastebins/2018/07/13/guix-nixos-systemd.adoc | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/content/pastebins/2018/07/13/guix-nixos-systemd.adoc b/src/content/pastebins/2018/07/13/guix-nixos-systemd.adoc new file mode 100644 index 0000000..c2b8b62 --- /dev/null +++ b/src/content/pastebins/2018/07/13/guix-nixos-systemd.adoc @@ -0,0 +1,33 @@ +--- + +title: GNU Guix systemd daemon for NixOS + +date: 2018-07-13 + +layout: post + +lang: en + +eu_categories: nix,guix + +ref: gnu-guix-systemd-daemon-for-nixos + +--- + +```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" ]; + }; +``` |