Add hermes config

This commit is contained in:
Dave Gallant
2021-01-23 02:26:54 -05:00
parent 6ffb521dc3
commit 64401beff4
4 changed files with 108 additions and 1 deletions

View File

@@ -7,9 +7,10 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-20.09";
nixpkgs-master.url = "github:NixOS/nixpkgs";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-hardware.url = github:NixOS/nixos-hardware/master;
};
outputs = { self, home-manager, nixpkgs, nixpkgs-master, nixpkgs-unstable }: {
outputs = { self, home-manager, nixpkgs, nixpkgs-master, nixpkgs-unstable, nixos-hardware }: {
nixosConfigurations = let
defaultModules = [
home-manager.nixosModules.home-manager
@@ -53,6 +54,14 @@
./machines/hephaestus/hardware.nix
] ++ defaultModules;
};
hermes = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
nixos-hardware.nixosModules.lenovo-thinkpad-t480s
./machines/hermes/configuration.nix
./machines/hermes/hardware.nix
] ++ defaultModules;
};
};
};
}