Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f4b4c66a0838
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b8cf3411d90f
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jan 23, 2020

  1. nixos/unit: fix attrs

    Izorkin committed Jan 23, 2020
    Copy the full SHA
    f2c9bcf View commit details
  2. Merge pull request #78378 from Izorkin/unit-fix

    nixos/unit: fix attrs
    aanderse authored Jan 23, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b8cf341 View commit details
Showing with 4 additions and 2 deletions.
  1. +4 −2 nixos/modules/services/web-servers/unit/default.nix
6 changes: 4 additions & 2 deletions nixos/modules/services/web-servers/unit/default.nix
Original file line number Diff line number Diff line change
@@ -130,8 +130,10 @@ in {
};

users.users = optionalAttrs (cfg.user == "unit") {
unit.group = cfg.group;
isSystemUser = true;
unit = {
group = cfg.group;
isSystemUser = true;
};
};

users.groups = optionalAttrs (cfg.group == "unit") {