flake: pin nix commands nixpkgs
This commit is contained in:
parent
730a95369a
commit
c1335a3438
@ -38,6 +38,7 @@
|
||||
agenix.nixosModules.default
|
||||
home-manager.nixosModules.default
|
||||
({ config, ... }: {
|
||||
nix.registry.nixpkgs.flake = nixpkgs; # pin `nix shell` nixpkgs
|
||||
system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev;
|
||||
nixpkgs.overlays = getSystemOverlays config.nixpkgs.hostPlatform.system config.nixpkgs.config;
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user