1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00
home-manager/home-manager
Naïm Camille Favier 64ab7d6e8d
Prepare inclusion in nixos-search (#2971)
* Add flake.lock and clean up flake.nix

Add a lockfile to work around https://github.com/NixOS/nix/issues/6541
(and because it's a good idea anyway).

Also use flake-utils, and restrict ourselves to the five platforms
supported by nixpkgs. Otherwise, the IFD for nmd fails on weird
platforms. This fixes `nix flake check`.

Remove the redundant `apps` output, see https://github.com/nix-community/home-manager/pull/2442#issuecomment-1133670487

* nixos,nix-darwin: factor out into a common module

* nixos,nix-darwin: make `home-managers.users` shallowly visible

Make sure the option is included in the NixOS/nix-darwin manual (but the
HM submodule options aren't).

Also add a static description to the HM submodule type so that we don't need to
evaluate the submodules just to build the option manual. This makes
nixos-search able to index the home-manager flake.

Also clean up some TODOs.

* flake: add nmd and nmt

This avoids having to use `pkgs.fetchFromGitLab` in an IFD, which causes
issues when indexing packages with nixos-search because `pkgs` is
instantiated with every platform.
2022-06-07 20:45:06 +02:00
..
po Translate using Weblate (Italian) 2022-04-24 23:38:56 +02:00
completion.bash completion.*: add flake-related arguments 2022-02-15 22:47:41 +01:00
completion.fish completion.*: add flake-related arguments 2022-02-15 22:47:41 +01:00
completion.zsh completion.*: add flake-related arguments 2022-02-15 22:47:41 +01:00
default.nix Prepare inclusion in nixos-search (#2971) 2022-06-07 20:45:06 +02:00
home-manager home-manager: fix command option 2022-03-27 09:43:19 +02:00
home-manager.nix home-manager: remove top-level with pkgs.lib 2021-10-31 08:50:55 +01:00
install.nix home-manager: support i18n of install script 2021-12-14 18:53:54 +01:00