diff --git a/flake.lock b/flake.lock index 6eb6184..3373e66 100644 --- a/flake.lock +++ b/flake.lock @@ -1,20 +1,5 @@ { "nodes": { - "nixos-hardware": { - "locked": { - "lastModified": 1648141026, - "narHash": "sha256-h8e3+5EZFbYHTMb0DN2ACuQTJBNHpqigvmEV1w2WIuE=", - "owner": "NixOS", - "repo": "nixos-hardware", - "rev": "feceb4d24f582817d8f6e737cd40af9e162dee05", - "type": "github" - }, - "original": { - "owner": "NixOS", - "repo": "nixos-hardware", - "type": "github" - } - }, "nixpkgs": { "locked": { "lastModified": 1648203577, @@ -32,7 +17,6 @@ }, "root": { "inputs": { - "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs" } } diff --git a/flake.nix b/flake.nix index 5196e6f..b53af3c 100644 --- a/flake.nix +++ b/flake.nix @@ -1,16 +1,13 @@ { inputs.nixpkgs.url = "nixpkgs/nixos-21.11"; - inputs.nixos-hardware.url = "github:NixOS/nixos-hardware"; - outputs = { self, nixpkgs, nixos-hardware, ... }: + outputs = { self, nixpkgs, ... }: let mypkgs = import ./pkgs; deploy = import lib/deploy.nix; - hardware = - nixos-hardware.nixosModules // - import lib/hardware.nix; + hardware = import lib/hardware.nix; forAllSystems = f: nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" ]