config: make nixpkgs properly follow nixos-unstable branch

This commit is contained in:
Gabriel Arazas 2023-11-08 20:34:06 +08:00
parent f7bf00b356
commit a90e123fbb
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 4 additions and 18 deletions

20
flake.lock generated
View File

@ -662,22 +662,6 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_3": {
"locked": {
"lastModified": 1698611440,
"narHash": "sha256-jPjHjrerhYDy3q9+s5EAsuhyhuknNfowY6yt6pjn9pc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0cbe9f69c234a7700596e943bfae7ef27a31b735",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1698968727, "lastModified": 1698968727,
@ -711,7 +695,9 @@
"nixos-stable": "nixos-stable", "nixos-stable": "nixos-stable",
"nixos-unstable": "nixos-unstable", "nixos-unstable": "nixos-unstable",
"nixos-unstable-small": "nixos-unstable-small", "nixos-unstable-small": "nixos-unstable-small",
"nixpkgs": "nixpkgs_3", "nixpkgs": [
"nixos-unstable"
],
"nur": "nur", "nur": "nur",
"sops-nix": "sops-nix" "sops-nix": "sops-nix"
} }

View File

@ -12,7 +12,7 @@
# I know NixOS can be stable but we're going cutting edge, baybee! While # I know NixOS can be stable but we're going cutting edge, baybee! While
# `nixpkgs-unstable` branch could be faster delivering updates, it is # `nixpkgs-unstable` branch could be faster delivering updates, it is
# looser when it comes to stability for the entirety of this configuration. # looser when it comes to stability for the entirety of this configuration.
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.follows = "nixos-unstable";
# Here are the nixpkgs variants used for creating the system configuration # Here are the nixpkgs variants used for creating the system configuration
# in `mkHost`. # in `mkHost`.