add hardware config

This commit is contained in:
iofq 2023-04-25 05:38:43 -05:00
parent 1a5d89af7a
commit 7cc67eda0f
7 changed files with 66 additions and 40 deletions

View file

@ -3,22 +3,23 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, home-manager, ... }:
outputs = { self, nixpkgs, home-manager, nixos-hardware, ... }:
let
username = "e";
in {
nixosConfigurations = (
import ./hosts {
inherit (nixpkgs) lib;
inherit nixos-hardware;
inherit nixpkgs home-manager username;
}
);
};
}