Pin flakes registry
This commit is contained in:
parent
e3f3b47602
commit
78439054dd
2 changed files with 10 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
};
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, ... }:
|
||||
inputs@{ nixpkgs, ... }:
|
||||
{
|
||||
nixosConfigurations = (
|
||||
let
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [ /etc/nixos/hardware-configuration.nix ];
|
||||
|
||||
|
@ -142,6 +147,9 @@
|
|||
};
|
||||
|
||||
nix = {
|
||||
registry = {
|
||||
nixpkgs.flake = inputs.nixpkgs;
|
||||
};
|
||||
settings = {
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue