summaryrefslogtreecommitdiff
path: root/Biz/Dev/Guix.nix
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/Dev/Guix.nix')
-rw-r--r--Biz/Dev/Guix.nix24
1 files changed, 10 insertions, 14 deletions
diff --git a/Biz/Dev/Guix.nix b/Biz/Dev/Guix.nix
index 8ee55d4..0b261fb 100644
--- a/Biz/Dev/Guix.nix
+++ b/Biz/Dev/Guix.nix
@@ -6,7 +6,6 @@ let
cfg = config.services.guix;
-
in {
options.services.guix = {
@@ -21,7 +20,8 @@ in {
serviceConfig = {
Restart = "always";
- ExecStart = "${pkgs.guix}/bin/guix-daemon --build-users-group=guixbuild";
+ ExecStart =
+ "${pkgs.guix}/bin/guix-daemon --build-users-group=guixbuild";
Environment = null;
RemainAfterExit = "yes";
StandardOutput = "syslog";
@@ -30,18 +30,14 @@ in {
};
};
users = {
- extraUsers = lib.attrs.genAttrs
- (lib.lists.range 1 10)
- (n: {
- name = "guixbuilder${n}";
- isSystemUser = true;
- extraGroups = ["guixbuild"];
- group = "guixbuild";
- description = "Guix build user ${n}";
- });
- extraGroups = {
- "guixbuild" = {};
- };
+ extraUsers = lib.attrs.genAttrs (lib.lists.range 1 10) (n: {
+ name = "guixbuilder${n}";
+ isSystemUser = true;
+ extraGroups = [ "guixbuild" ];
+ group = "guixbuild";
+ description = "Guix build user ${n}";
+ });
+ extraGroups = { "guixbuild" = { }; };
};
};
}