use nixos-hardware for enoko

This commit is contained in:
insects 2024-09-10 21:34:25 +02:00
parent 0b8783c25d
commit c3c391d558
3 changed files with 23 additions and 0 deletions

17
flake.lock generated
View file

@ -246,6 +246,22 @@
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1725885300,
"narHash": "sha256-5RLEnou1/GJQl+Wd+Bxaj7QY7FFQ9wjnFq1VNEaxTmc=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "166dee4f88a7e3ba1b7a243edb1aca822f00680e",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1725634671,
@ -282,6 +298,7 @@
"inputs": {
"home-manager": "home-manager",
"nix-index-database": "nix-index-database",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"nixpkgs-stable": "nixpkgs-stable",
"stylix": "stylix"

View file

@ -17,12 +17,16 @@
# stylix
stylix.url = "github:danth/stylix";
stylix.inputs.nixpkgs.follows = "nixpkgs";
# nix-hardware
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
};
outputs =
{ self
, nixpkgs
, home-manager
, nixos-hardware
, ...
}@inputs:
let
@ -58,6 +62,7 @@
};
modules = [
./nixos/enoko/configuration.nix
nixos-hardware.nixosModules.framework-13-7040-amd
home-manager.nixosModules.home-manager
{
home-manager.extraSpecialArgs = {

View file

@ -23,5 +23,6 @@
nixpkgs-fmt
nix-tree
nil
nixd
];
}