Skip to content

Commit

Permalink
NixOS: use nixpkgs-flake to pin nixpkgs (NixOS/nix#7075)
Browse files Browse the repository at this point in the history
  • Loading branch information
delan committed Dec 23, 2024
1 parent 27b993d commit 7be840e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions nix/nixos/lib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,6 @@
experimental-features = nix-command flakes
'';

# pin nixpkgs flakeref to match our nixos config, to avoid constantly fetching unstable packages
# https://discourse.nixos.org/t/how-to-pin-nix-registry-nixpkgs-to-release-channel/14883/7
# TODO unwrap path in NixOS 22.11
nix.registry.nixpkgs.to = { type = "path"; path = "${pkgs.path}"; };

# pin nixpkgs channel to nixpkgs flakeref
nix.nixPath = ["nixpkgs=flake:nixpkgs"];

console.keyMap = "us";
i18n.defaultLocale = "en_AU.UTF-8";
time.timeZone = "Australia/Perth";
Expand Down

0 comments on commit 7be840e

Please sign in to comment.