diff --git a/README.adoc b/README.adoc index bad4ba98..05e260f4 100644 --- a/README.adoc +++ b/README.adoc @@ -191,7 +191,7 @@ Sudden changes can happen at any point. This has been moved into its own dedicated page at the website. But still, we'll list it here. -include::./docs/content/en-US/08-acknowledgement/index.adoc[tag=acknowledgement] +include::./docs/website/content/en/08-acknowledgement/index.adoc[tag=acknowledgement] diff --git a/configs/nixos/README.adoc b/configs/nixos/README.adoc index 06b6e089..2a7f7bfd 100644 --- a/configs/nixos/README.adoc +++ b/configs/nixos/README.adoc @@ -71,7 +71,8 @@ Take note, it requires `foo-dogsquared` to be defined in `setups.home-manager.co setups.nixos.ni = { systems = [ "x86_64-linux" ]; formats = null; - homeManagerUsers = { + home-manager = { + branch = "home-manager-unstable"; nixpkgsInstance = "global"; users.foo-dogsquared = { userConfig = { @@ -99,10 +100,10 @@ Take note, it requires `foo-dogsquared` to be defined in `setups.home-manager.co Points of interests include: -* `homeManagerUsers.nixpkgsInstance = "global";` option where it enforces the system to use the same nixpkgs instance throughout all of the home-manager users. +* `home-manager.nixpkgsInstance = "global";` option where it enforces the system to use the same nixpkgs instance throughout all of the home-manager users. As an effect, it will apply of the home-manager users' overlays into the nixpkgs instance of the NixOS system instead. -* `homeManagerUsers.users..userConfig` where it simply maps the home-manager user into a NixOS system by applying `users.users.` with the given `userConfig` value. +* `home-manager.users..userConfig` where it simply maps the home-manager user into a NixOS system by applying `users.users.` with the given `userConfig` value. While this method makes for an incomplete system declaration in the config file and fully relies on the declarative host module to handle it, it isn't that much of a problem especially that you have to import third-party modules somewhere, regardless if it's with flakes or not. footnote:[Similar to the <>, home-manager configurations also don't allow for `inputs` to be part of the module arguments.] -- @@ -119,6 +120,9 @@ This set of NixOS configuration have some constraints mainly for consistency (ea If you want to add home-manager users to it, make sure the included home-manager user is only buildable with the baseline home-manager configuration. Otherwise, you'll have to use the `setups.nixos.configs..homeManagerUsers.users.` interface for that. +* Configuring nixpkgs instance is not allowed. +This is because the setup module for NixOS sets the nixpkgs instance themselves and NixOS systems doesn't allow further configuring the nixpkgs instance if `pkgs` is set externally. + * Private libraries and modules are allowed to be used here. Both custom-made libraries and modules are easy to setup both with flake and non-flake way so it isn't limiting us to lean one over the other.