Added nixos-hardware

This commit is contained in:
Benson Chu 2024-04-05 20:44:14 -05:00
parent d163914d14
commit 997f49100d
2 changed files with 20 additions and 1 deletions

View file

@ -79,6 +79,22 @@
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1711352745,
"narHash": "sha256-luvqik+i3HTvCbXQZgB6uggvEcxI9uae0nmrgtXJ17U=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "9a763a7acc4cfbb8603bb0231fec3eda864f81c0",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1701539137,
@ -116,6 +132,7 @@
"bashcfg-input": "bashcfg-input",
"emacs-overlay": "emacs-overlay",
"home-manager": "home-manager",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"unstable": "unstable"
}

View file

@ -6,6 +6,7 @@
url = "github:nix-community/emacs-overlay/master";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
home-manager = {
url = "github:nix-community/home-manager/release-23.11";
@ -17,7 +18,7 @@
};
};
outputs = { self, nixpkgs, unstable, home-manager, ... }@inputs:
outputs = { self, nixpkgs, unstable, home-manager, nixos-hardware, ... }@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
@ -38,6 +39,7 @@
# specialArgs = { inherit inputs; };
modules = [
{ nixpkgs.overlays = [ unstable-overlay ]; }
nixos-hardware.nixosModules.framework-13-7040-amd
./hosts/NixFrame/configuration.nix
home-manager.nixosModules.home-manager
{