From 6dc783a2d0d9d1f0cd15fdc1f9a05a5b4d85d75b Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Mon, 28 Mar 2022 00:48:15 -0400 Subject: [PATCH] remove nixos-hardware (currently unused) --- flake.lock | 16 ---------------- flake.nix | 7 ++----- 2 files changed, 2 insertions(+), 21 deletions(-) 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" ]