From c3c391d558e0b8ccd29fad8bf3cbae730adc4a44 Mon Sep 17 00:00:00 2001 From: liv Date: Tue, 10 Sep 2024 21:34:25 +0200 Subject: [PATCH] use nixos-hardware for enoko --- flake.lock | 17 +++++++++++++++++ flake.nix | 5 +++++ home/features/devel/default.nix | 1 + 3 files changed, 23 insertions(+) diff --git a/flake.lock b/flake.lock index 8d1f406..6813b5c 100644 --- a/flake.lock +++ b/flake.lock @@ -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" diff --git a/flake.nix b/flake.nix index b743444..ec8760a 100644 --- a/flake.nix +++ b/flake.nix @@ -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 = { diff --git a/home/features/devel/default.nix b/home/features/devel/default.nix index 49b0833..c423e5f 100644 --- a/home/features/devel/default.nix +++ b/home/features/devel/default.nix @@ -23,5 +23,6 @@ nixpkgs-fmt nix-tree nil + nixd ]; }