diff options
author | Ben Sima <ben@bsima.me> | 2024-04-01 13:30:45 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2024-04-01 13:30:45 -0400 |
commit | db373a8c727cad91d375b40a6c70b11ed73bdafb (patch) | |
tree | a7ed24e98242b6e38f44cb0c9884718d248cc613 /Biz/Dev/Guix.nix | |
parent | 5c8ef1bf4dff4fc7c6e66a57673a81477bcc850a (diff) |
Add nixfmt to Lint.hs
nixfmt is the soon-to-be official formatter for Nix code, as per the NixOS
GitHub group. So I figure I should just adopt it without worrying too much about
the specifics of the formatting. I just formatted everything in one go, hence
the huge diff, oh well.
Diffstat (limited to 'Biz/Dev/Guix.nix')
-rw-r--r-- | Biz/Dev/Guix.nix | 24 |
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" = { }; }; }; }; } |