forked from c3d2/nix-config
Add nixos-hardware modules to glotzbert
This commit is contained in:
parent
1088bd7e6a
commit
ad42cc9838
15
flake.lock
15
flake.lock
|
@ -1,5 +1,19 @@
|
|||
{
|
||||
"nodes": {
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1613453906,
|
||||
"narHash": "sha256-w6oeQ3OTCKxRAG9KtjK+ErxpvUhNr48binO99JVQP9Q=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "115770eed0c0fa50c1277cd0f7fe0f15501dbc43",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixos-hardware",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1613993207,
|
||||
|
@ -18,6 +32,7 @@
|
|||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"secrets": "secrets"
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, secrets }:
|
||||
outputs = { self, nixpkgs, secrets, nixos-hardware }:
|
||||
let
|
||||
forAllSystems = f:
|
||||
nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ]
|
||||
|
@ -67,7 +67,11 @@
|
|||
in {
|
||||
|
||||
glotzbert = nixosSystem' {
|
||||
modules = [ ./hosts/glotzbert ];
|
||||
modules = [
|
||||
./hosts/glotzbert
|
||||
nixos-hardware.nixosModules.common-cpu-intel
|
||||
nixos-hardware.nixosModules.common-pc-ssd
|
||||
];
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue