From aa7e99bfc68af84ec4fbf17b14137e38d29b9799 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Thu, 26 Jan 2023 15:26:26 +0100 Subject: [PATCH] nix: Pin channel in flake.nix --- flake.lock | 14 ++++++++------ flake.nix | 6 +++++- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index aaf7ced..b2d030e 100644 --- a/flake.lock +++ b/flake.lock @@ -2,16 +2,18 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1673027386, - "narHash": "sha256-Wjt+oDhRLcf3opIjUKHGN+Xrp3w2ZDms6bO4pCLvsco=", - "owner": "NixOS", + "lastModified": 1673163619, + "narHash": "sha256-B33PFBL64ZgTWgMnhFL3jgheAN/DjHPsZ1Ih3z0VE5I=", + "owner": "nixos", "repo": "nixpkgs", - "rev": "b3818a46e686f24561a28eaa9fcf35e18b8d8e89", + "rev": "8c54d842d9544361aac5f5b212ba04e4089e8efe", "type": "github" }, "original": { - "id": "nixpkgs", - "type": "indirect" + "owner": "nixos", + "ref": "nixos-22.11", + "repo": "nixpkgs", + "type": "github" } }, "root": { diff --git a/flake.nix b/flake.nix index 2be2d16..3ab5e80 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,9 @@ { - outputs = { self, nixpkgs }: { + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11"; + }; + + outputs = inputs@{ self, nixpkgs }: { nixosConfigurations.sombrero = nixpkgs.lib.nixosSystem { system = "aarch64-linux"; modules = [ ./hosts/sombrero/configuration.nix ];