This commit is contained in:
Daniel Langbein 2023-09-18 16:42:13 +02:00
parent a7b6a463c8
commit 5ad3bd43ae
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
2 changed files with 1 additions and 17 deletions

View File

@ -130,22 +130,6 @@ Change the tracking branch of nixpkgs from unstable to 23.05:
niv modify nixpkgs --branch nixos-23.05 niv modify nixpkgs --branch nixos-23.05
``` ```
Pinning Nixpkgs. At the top of your `configuration.nix` file, replace
```nix
{ config, pkgs, ... }:
{}
```
with
```nix
{ config, sources ? import ../../nix/sources.nix, pkgs ? import sources.nixpkgs {}, ... }:
{}
```
TODO: This does not yet work.
## Add Home Manager with niv ## Add Home Manager with niv
Home Manager: Home Manager:

View File

@ -7,7 +7,7 @@ in
# Colmena local node: https://colmena.cli.rs/0.4/features/apply-local.html # Colmena local node: https://colmena.cli.rs/0.4/features/apply-local.html
meta = { meta = {
# Override to pin the Nixpkgs version. # Pin the Nixpkgs version with niv.
# Note: You can also override Nixpkgs by node. # Note: You can also override Nixpkgs by node.
nixpkgs = import sources.nixpkgs {}; nixpkgs = import sources.nixpkgs {};
}; };