1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-22 06:28:32 +02:00
home-manager/home-manager
Carl Dong 8c66b46a86
home-manager: Use path: URI type for flake default (#3646)
Nix interprets a path-like URI as a git repository if any of the path's
parents is a git repository. Since home-manager uses a default flake URI
of ~/.config/nixpkgs/flake.nix, if you have a git repository as your
home directory and a '*' .gitignore it leads to the following problems:

    evaluating derivation 'git+file:///Users/dongcarl?dir=.config%2fnixpkgs#homeConfigurations."dongcarl".activationPackage'
    The following paths are ignored by one of your .gitignore files:
    .config

This is solved by explicitly specifying the `path:` URI type prefix for
the default flake URI argument.
2023-07-03 17:00:10 +02:00
..
po Translate using Weblate (Indonesian) 2023-06-22 21:28:55 +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: Use path: URI type for flake default (#3646) 2023-07-03 17:00:10 +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