home-manager/home-manager
Robert Helgesson 6a19225683
home-manager: verify username and home directory
The generation activation script should be run by the user specified
in `home.username` and `home.homeDirectory`. If some other user runs
the activation script, then files may end up in the wrong place or
with the wrong owner.

This commits adds a check early in the activation script that verifies
that the running user match the user in the configuration.

Fixes #4019
2023-05-27 09:14:05 +02:00
..
po home-manager: verify username and home directory 2023-05-27 09:14:05 +02:00
completion.bash home-manager: add `init` command to main tool 2023-03-15 22:47:04 +01:00
completion.fish home-manager: pass --refresh to nix (#3624) 2023-02-05 11:14:03 +01:00
completion.zsh home-manager: add `init` command to main tool 2023-03-15 22:47:04 +01:00
default.nix home-manager: use `hostname` from Nixpkgs 2022-12-05 23:45:07 +01:00
home-manager home-manager: fix error message in flake check 2023-05-21 23:23:14 +02:00
home-manager.nix format: update and remove exceptions (#3029) 2022-06-16 14:13:06 +02:00
install.nix home-manager: add `init` command to main tool 2023-03-15 22:47:04 +01:00