home-manager/modules/misc
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
..
dconf.nix dconf: note that system dconf must be enabled 2022-03-26 09:33:10 +01:00
debug.nix debug: add module 2020-03-07 15:03:44 +01:00
fontconfig.nix fontconfig: only remove directory if it exists 2021-10-06 15:02:34 +02:00
gtk.nix gtk: Update example strings for gtk.theme.package (#2904) 2022-05-06 21:27:31 -04:00
lib.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
news.nix news: remove a bunch of old (>1 year) entries 2022-06-01 21:56:45 +02:00
nix.nix misc: fix nix.conf generation (#2824) 2022-04-17 17:46:26 -04:00
nixpkgs-disabled.nix nixpkgs-disabled: add module 2021-10-13 23:46:38 +02:00
nixpkgs.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
numlock.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
pam.nix pam: add yubico option 2021-12-16 19:46:47 +01:00
qt.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
specialization.nix specialization: add module 2022-05-03 00:42:23 +02:00
submodule-support.nix doc: surround name? with fancier characters 2019-09-01 21:28:40 +02:00
tmpfiles.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
version.nix docs: set 22.11 as next version 2022-06-01 21:56:46 +02:00
vte.nix vte: add module 2020-06-14 12:20:12 +02:00
xdg-desktop-entries.nix Prepare inclusion in nixos-search (#2971) 2022-06-07 20:45:06 +02:00
xdg-mime-apps.nix xdg-mime-apps: add function mimeAssociations 2022-04-18 19:09:46 +02:00
xdg-mime.nix Replace pkgs.hostPlatform by pkgs.stdenv.hostPlatform 2021-12-03 23:36:50 +01:00
xdg-system-dirs.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xdg-user-dirs.nix xdg-user-dirs: allow paths and define sessionVariables (#2757) 2022-04-04 23:32:03 -04:00
xdg.nix xdg: add XDG_*_HOME variables to systemd.user.sessionVariables (#2790) 2022-03-17 22:22:53 -04:00