mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-04-01 21:21:57 -04:00
work on top
This commit is contained in:
parent
285be5b691
commit
b003175b0e
1 changed files with 10 additions and 4 deletions
14
README.md
14
README.md
|
@ -11,8 +11,12 @@
|
|||
This repo uses both stable and unstable nix at the same time, in all configurations, in a way where any given configuration can use either stable or unstable as the default
|
||||
|
||||
This is done by adding the arguments stable and unstable as special args
|
||||
```nix
|
||||
nixpkgs.lib.nixosSystem rec {
|
||||
|
||||
> [!IMPORTANT]
|
||||
> Remember to pass stable and unstable to home manager as `extraSpecialArgs` along with the rest of your args (`inputs`, `pkgs`, ...)
|
||||
|
||||
<details><summary>example</summary>
|
||||
<code>nixpkgs.lib.nixosSystem rec {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
|
@ -35,8 +39,10 @@ nixpkgs.lib.nixosSystem rec {
|
|||
./boxes/serverpc/configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
};
|
||||
```
|
||||
};</code>
|
||||
</details>
|
||||
they are then used to
|
||||
|
||||
|
||||
|
||||
<details><summary><h1>Layout</h1></summary>
|
||||
|
|
Loading…
Add table
Reference in a new issue