mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
niv
This commit is contained in:
parent
0c49512ebc
commit
a2fe1208b9
16
README.md
16
README.md
@ -94,7 +94,7 @@ Remove old generations from EFI:
|
||||
sudo /run/current-system/bin/switch-to-configuration boot
|
||||
```
|
||||
|
||||
## Add Home Manager with niv
|
||||
## Dependency management with niv
|
||||
|
||||
niv:
|
||||
|
||||
@ -110,6 +110,20 @@ niv:
|
||||
>
|
||||
> https://github.com/mikeroyal/NixOS-Guide
|
||||
|
||||
Initialize:
|
||||
|
||||
```shell
|
||||
niv init
|
||||
```
|
||||
|
||||
Change the tracking branch of nixpkgs from unstable to 23.05:
|
||||
|
||||
```shell
|
||||
niv modify nixpkgs --branch nixos-23.05
|
||||
```
|
||||
|
||||
## Add Home Manager with niv
|
||||
|
||||
Home Manager:
|
||||
|
||||
> [Home Manager] allows declarative configuration of user specific (non-global) packages and dotfiles.
|
||||
|
@ -5,10 +5,10 @@
|
||||
"homepage": "https://nur.nix-community.org/",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "85d19938ef33d82db0207c39f11f5947d5a5215e",
|
||||
"sha256": "0vxjj8czwcg2vz42r5jknaxg1z6jhq1djf6zs5rq70mhsb041v3x",
|
||||
"rev": "5341c93b5fc3dd3c920e23e09c65c924b65e0be7",
|
||||
"sha256": "027scf623kc20pyrbsg3lrvrqch3jx6n5y865pym8nzms0kwn8pf",
|
||||
"type": "tarball",
|
||||
"url": "https://github.com/nix-community/NUR/archive/85d19938ef33d82db0207c39f11f5947d5a5215e.tar.gz",
|
||||
"url": "https://github.com/nix-community/NUR/archive/5341c93b5fc3dd3c920e23e09c65c924b65e0be7.tar.gz",
|
||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||
},
|
||||
"home-manager": {
|
||||
@ -17,22 +17,22 @@
|
||||
"homepage": "https://nix-community.github.io/home-manager/",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "5bac4a1c06cd77cf8fc35a658ccb035a6c50cd2c",
|
||||
"sha256": "1lhkqlizabh107mgj9b3fsfzz6cwpcmplkwspqqavwqr9dlmlwc4",
|
||||
"rev": "9787dffff5d315c9593d3f9fb0f9bf2097e1b57b",
|
||||
"sha256": "0n047422nnk5f0z6s8jkvdhq3qy7lyjc6fv3dk12gb6chsx2457h",
|
||||
"type": "tarball",
|
||||
"url": "https://github.com/nix-community/home-manager/archive/5bac4a1c06cd77cf8fc35a658ccb035a6c50cd2c.tar.gz",
|
||||
"url": "https://github.com/nix-community/home-manager/archive/9787dffff5d315c9593d3f9fb0f9bf2097e1b57b.tar.gz",
|
||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||
},
|
||||
"nixpkgs": {
|
||||
"branch": "nixos-unstable",
|
||||
"branch": "nixos-23.05",
|
||||
"description": "Nix Packages collection",
|
||||
"homepage": null,
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "db9208ab987cdeeedf78ad9b4cf3c55f5ebd269b",
|
||||
"sha256": "0y0npijdqbjmcm3jssinsg32y24l7p6419awwxix6r30m8swc8v3",
|
||||
"rev": "e5f018cf150e29aac26c61dac0790ea023c46b24",
|
||||
"sha256": "18jlakvhnbvaxgggimw1qpikdwdkz9yhwiv4hmns4sr2ab7lrg27",
|
||||
"type": "tarball",
|
||||
"url": "https://github.com/NixOS/nixpkgs/archive/db9208ab987cdeeedf78ad9b4cf3c55f5ebd269b.tar.gz",
|
||||
"url": "https://github.com/NixOS/nixpkgs/archive/e5f018cf150e29aac26c61dac0790ea023c46b24.tar.gz",
|
||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user