aboutsummaryrefslogtreecommitdiff
path: root/nixos (follow)
Commit message (Collapse)AuthorAgeFilesLines
* home-environment: use per-user profile path in /etcRobert Helgesson2020-07-141-0/+2
| | | | | | | | | Before the profile directory value would point directly to the build output in the Nix store. Unfortunately this would cause an infinite loop if the user's configuration directly or indirectly refers to the profile directory value. Fixes #1188
* nixos, nix-darwin: fix user packages installRobert Helgesson2020-07-141-1/+1
| | | | | | It is insufficient to install the packages in `home.packages`, it has to be `home.path`, which includes configured extra package outputs or profile commands.
* nixos: add mount check for home directoryFinn Behrens2020-05-261-0/+2
| | | | PR #1271
* nixos integration: add option 'useGlobalPkgs'Erik Arvstedt2020-03-071-0/+7
| | | | PR #1059
* Apply `nixfmt` on many filesRobert Helgesson2020-02-021-67/+48
|
* Switch to extended Nixpkg's `lib`Robert Helgesson2020-01-211-16/+26
| | | | | | | | | This change makes use of the `extend` function inside `lib` to inject a new `hm` field containing the Home Manager library functions. This simplifies use of the Home Manager library in the modules and reduces the risk of accidental infinite recursion. PR #994
* doc: surround `name?` with fancier charactersRobert Helgesson2019-09-011-1/+1
|
* Replace use of `stdenv.shell` by `runtimeShell`Robert Helgesson2019-08-221-1/+1
|
* nixos: pass on warnings to the system configurationRobert Helgesson2019-08-181-0/+7
| | | | Fixes #804
* nixos: use non-deprecated fontconfig optionRobert Helgesson2019-08-181-1/+1
|
* nixos: add backup file extension and verbosity optionsTobias Happ2019-08-181-0/+22
|
* nixos: use usercfg.home.username for usernameJaka Hudoklin2019-05-251-20/+23
| | | | | Use `usercfg.home.username` for username instead of attribute name, as this way we can change username regardless of the name of the attribute.
* nixos module: evaluate assertions from Home Manager modulesMaximilian Bosch2019-03-061-0/+10
|
* fontconfig: make fonts accessible when in NixOS moduleRobert Helgesson2019-02-161-0/+6
|
* nixos module: support NixOS user packages installRobert Helgesson2019-02-161-5/+19
| | | | | | | | | | | | | | | | | | When using the NixOS module we cannot guarantee that the Nix store will be writable during startup. Installing the user packages through `nix-env -i` will fail in these cases. This commit adds a NixOS option `home-manager.useUserPackages` that, when enabled, installs user packages through the NixOS users.users.<name?>.packages option. Note, when submodule support and external package install is enabled then the installed packages are not available in `~/.nix-profile`. We therefore set `home.profileDirectory` directly to the HM profile packages.
* nixos: use correct username for systemd serviceIngolf Wanger2019-02-101-1/+1
|
* Clean up support code for Home Manager as a submoduleRobert Helgesson2019-02-101-4/+2
| | | | | | This removes the `nixosSubmodule` option in favor of a new option `submoduleSupport.enable`. This name better indicates that the submodule mode applies to both NixOS and nix-darwin.
* nixos module: we need a running nix-daemonRobert Helgesson2018-07-211-0/+2
| | | | | | Make sure the nix-daemon is prepared before we attempt to do the user activation otherwise the script may fail due to not being able to communicate.
* allow Home Manager to be used as a NixOS moduleRobert Helgesson2018-02-071-0/+57
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.