summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
98604ba)
sudo can complain: "sudo: you are not permitted to use the -D option"
# Build
in_tmpdir hydrate ${config.system.build.nixos-rebuild}/bin/nixos-rebuild build
while read user;do
# Build
in_tmpdir hydrate ${config.system.build.nixos-rebuild}/bin/nixos-rebuild build
while read user;do
- hydrate /run/wrappers/bin/sudo -u "$user" -D / \
+ pushd /
+ hydrate /run/wrappers/bin/sudo -u "$user" \
${pkgs.nix}/bin/nix-build --no-out-link '<nixpkgs>' -A "$(userenv_query "$user" .package)"
${pkgs.nix}/bin/nix-build --no-out-link '<nixpkgs>' -A "$(userenv_query "$user" .package)"
done < <( config_query '.userEnvironments | keys []' )
# Install
done < <( config_query '.userEnvironments | keys []' )
# Install