Commit Graph

8 Commits

Author SHA1 Message Date
Bernardo Meurer 6d2ba4654d
home-manager: pass --refresh to nix (#3624)
This flag is useful to force Nix to re-fetch cached flakes. Without it,
you cannot deploy from a non-local flake in quick succession, since the
caching causes the flake to not be re-fetched.
2023-02-05 11:14:03 +01:00
Anders Kaseorg c55fa26ce0
home-manager: pass -L/--print-build-logs to nix build
When building from a flake, `nix build` hides the build output by
default, with a `-L`/`--print-build-logs` option to show it. Pass this
option along from `home-manager` if the user provides it.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-12-25 12:09:29 +01:00
Shamrock Lee 50204cea94
completion.*: add flake-related arguments 2022-02-15 22:47:41 +01:00
Robert Helgesson adaea605db
home-manager: document the `--version` command option
Fixes #2604
2022-01-02 08:33:32 +01:00
c4605 1a6df903e3
home-manager: add command line argument `--impure` 2021-08-19 00:07:49 +02:00
Timur Demin d11afee973
home-manager: allow remote builders for nix-build (#2268)
This allows running home-manager with --builders option passed through
to nix-build, which will then pass build execution to remote builders on
other machines.

This may be useful with relatively complex home-manager configurations
where building on a local machine is not feasible.
2021-08-17 16:53:44 -04:00
Sandro Jäckel 5f6364fc28
home-manager: add `--no-out-link` command line option
When this option is used then `home-manager build` will not produce a
`result` link in the current working directory.
2021-07-29 16:04:41 +02:00
axion 82b06103ae
home-manager: add fish completion 2021-07-18 23:13:06 +02:00