aboutsummaryrefslogtreecommitdiff
path: root/default.nix (follow)
Commit message (Collapse)AuthorAgeFilesLines
* home-manager: add documentation to root `default.nix`Damien Cassou2020-06-111-0/+6
| | | | | | This adds documentation related packages to default.nix to allow building documentation separately from building a Home Manager configuration.
* Add path attribute to root `default.nix`Matthew Bauer2020-05-261-0/+2
| | | | | | | | | This makes it possible to refer to the path of Home Manager when you just have a Nix expression, not the actual source. Some things run import on a source and just give access to the result of the import, not the source. PR #1259
* Apply `nixfmt` on many filesRobert Helgesson2020-02-021-7/+4
|
* home-manager: use `callPackage` where appropriatearcnmx2019-04-061-4/+3
|
* tests: remove tests attribute from root default.nixRobert Helgesson2019-02-231-4/+0
| | | | | | | Having it there prevented, e.g., `nix-env -qaP` from working in some cases. Fixes #509
* tests: add initial test frameworkRobert Helgesson2018-12-111-0/+4
|
* allow Home Manager to be used as a NixOS moduleRobert Helgesson2018-02-071-0/+2
| | | | | | | | | | | | | | | | This is a NixOS module that is intended to be imported into a NixOS system configuration. It allows the system users to be set up directly from the system configuration. The actual profile switch is performed by a oneshot systemd unit per configured user that acts much like the regular `home-manager switch` command. With this implementation, the NixOS module does not work properly with the `nixos-rebuild build-vm` command. This can be solved by using the `users.users.<name?>.packages` option to install packages but this does not work flawlessly with certain Nixpkgs packages. In particular, for programs using the Qt libraries.
* home-manager: use `shellHook` to installRobert Helgesson2017-11-291-5/+3
| | | | | | | | | | | | | This changes the installation command from nix-shell $HM_PATH -A install --run 'home-manager switch' to nix-shell $HM_PATH -A install The added shell hook will print some useful information and run `home-manager switch`.
* home-manager: avoid unnecessary copyRobert Helgesson2017-11-201-1/+1
|
* home-manager: point <home-manager> to project rootRobert Helgesson2017-10-241-2/+14
| | | | | | | | | | | | | | | Before this path would point to the modules path. Using the project root instead makes it possible to set `<home-manager>` to point to a downloadable archive of Home Manager. This should make it significantly easier to install and keep Home Manager up to date. To match this change we also deprecate the Home Manager option programs.home-manager.modulesPath and instead ask users to use programs.home-manager.path
* Initial importRobert Helgesson2017-01-141-0/+2