nix: Pin channel in flake.nix

This commit is contained in:
Alexander Heldt
2023-01-26 15:26:26 +01:00
parent d1d59c9e40
commit aa7e99bfc6
2 changed files with 13 additions and 7 deletions

14
flake.lock generated
View File

@@ -2,16 +2,18 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1673027386, "lastModified": 1673163619,
"narHash": "sha256-Wjt+oDhRLcf3opIjUKHGN+Xrp3w2ZDms6bO4pCLvsco=", "narHash": "sha256-B33PFBL64ZgTWgMnhFL3jgheAN/DjHPsZ1Ih3z0VE5I=",
"owner": "NixOS", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b3818a46e686f24561a28eaa9fcf35e18b8d8e89", "rev": "8c54d842d9544361aac5f5b212ba04e4089e8efe",
"type": "github" "type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "owner": "nixos",
"type": "indirect" "ref": "nixos-22.11",
"repo": "nixpkgs",
"type": "github"
} }
}, },
"root": { "root": {

View File

@@ -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 { nixosConfigurations.sombrero = nixpkgs.lib.nixosSystem {
system = "aarch64-linux"; system = "aarch64-linux";
modules = [ ./hosts/sombrero/configuration.nix ]; modules = [ ./hosts/sombrero/configuration.nix ];