diff --git a/flake.lock b/flake.lock index bc6420f..87becbf 100644 --- a/flake.lock +++ b/flake.lock @@ -103,6 +103,22 @@ "type": "github" } }, + "nixos-hardware": { + "locked": { + "lastModified": 1694710316, + "narHash": "sha256-uRh46iIC86D8BD1wCDA5gRrt+hslUXiD0kx/UjnjBcs=", + "owner": "NixOS", + "repo": "nixos-hardware", + "rev": "570256327eb6ca6f7bebe8d93af49459092a0c43", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "master", + "repo": "nixos-hardware", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1694618689, @@ -125,6 +141,7 @@ "deploy-rs": "deploy-rs", "flake-utils": "flake-utils", "home-manager": "home-manager", + "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs" } }, diff --git a/flake.nix b/flake.nix index da1c987..95bb01d 100644 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,9 @@ home-manager.url = "github:nix-community/home-manager/release-23.05"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; + nixos-hardware.url = "github:NixOS/nixos-hardware/master"; + nixos-hardware.inputs.nixpkgs.follows = "nixpkgs"; + agenix.url = "github:ryantm/agenix"; agenix.inputs.nixpkgs.follows = "nixpkgs"; agenix.inputs.home-manager.follows = "home-manager"; @@ -30,6 +33,7 @@ deploy-rs, flake-utils, home-manager, + nixos-hardware, } @ inputs: let myData = import ./data.nix; in @@ -84,6 +88,7 @@ agenix.nixosModules.default home-manager.nixosModules.home-manager + nixos-hardware.nixosModules.framework-12th-gen-intel { #age.secrets.motiejus-passwd-hash.file = ./secrets/motiejus_passwd_hash.age;