Pin flakes registry

This commit is contained in:
Vili Sinervä 2025-06-01 13:41:01 +03:00
parent e3f3b47602
commit 78439054dd
Signed by: Vili Sinervä
SSH key fingerprint: SHA256:FladqYjaE4scJY3Hi+gnShZ6ygnTJgixy0I6BAoHyos
2 changed files with 10 additions and 2 deletions

View file

@ -6,7 +6,7 @@
};
outputs =
{ nixpkgs, ... }:
inputs@{ nixpkgs, ... }:
{
nixosConfigurations = (
let

View file

@ -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"