mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-21 03:37:01 -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 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
|
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";
|
system = "x86_64-linux";
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
|
@ -35,8 +39,10 @@ nixpkgs.lib.nixosSystem rec {
|
||||||
./boxes/serverpc/configuration.nix
|
./boxes/serverpc/configuration.nix
|
||||||
inputs.home-manager.nixosModules.default
|
inputs.home-manager.nixosModules.default
|
||||||
];
|
];
|
||||||
};
|
};</code>
|
||||||
```
|
</details>
|
||||||
|
they are then used to
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<details><summary><h1>Layout</h1></summary>
|
<details><summary><h1>Layout</h1></summary>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue