blob: c2b8b62011568a1415291dc913294c296fc080ee (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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" ];
};
```
|