From d227bd741cf9e3297d29f95d0c396d68fe5e836a Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 11 Jul 2023 20:37:30 +0900 Subject: [PATCH] test --- flake.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index b81a47df..ca7deb7d 100644 --- a/flake.nix +++ b/flake.nix @@ -19,12 +19,15 @@ # Nix User Repository nur.url = "github:nix-community/NUR"; + # Hardware support + inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master"; + # Encrypted secrets in Nix configuration files # https://github.com/Mic92/sops-nix sops-nix.url = "github:Mic92/sops-nix"; }; - outputs = { stable-nixpkgs, unstable-nixpkgs, home-manager, lanzaboote, nur, sops-nix, ... }@inputs: + outputs = { stable-nixpkgs, unstable-nixpkgs, home-manager, lanzaboote, nur, sops-nix, nixos-hardware, ... }@inputs: let # Variables - Remember to set these hostname = "nixos-laptop"; @@ -58,9 +61,10 @@ ./configuration.nix # Common NixOS Configuration # Flake Imports - sops-nix.nixosModules.sops # Handle secrets - lanzaboote.nixosModules.lanzaboote # SecureBoot Configuration - nur.nixosModules.nur # NixOS User Repository + sops-nix.nixosModules.sops # Handle secrets + lanzaboote.nixosModules.lanzaboote # SecureBoot Configuration + nur.nixosModules.nur # NixOS User Repository + nixos-hardware.nixosModules.lenovo-thinkpad-p1 # Thinkpad P1 hardware configuration # Home Manager settings home-manager.nixosModules.home-manager {