From 131141ba00a93de7be7491df3681cbd1f4c39099 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Wed, 15 May 2024 11:29:43 -0700 Subject: Fix agenix configuration --- flake.nix | 16 +++++++++++++--- hosts/ginaz/default.nix | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 6cbd2ad..2291950 100644 --- a/flake.nix +++ b/flake.nix @@ -2,10 +2,18 @@ description = "nipsy's NixOS configuration"; inputs = { - agenix.url = "github:ryantm/agenix"; + agenix = { + url = "github:ryantm/agenix"; + inputs = { + nixpkgs.follows = "nixpkgs-unstable"; + darwin.follows = ""; + }; + }; - disko.url = "github:nix-community/disko"; - disko.inputs.nixpkgs.follows = "nixpkgs-unstable"; + disko = { + url = "github:nix-community/disko"; + inputs.nixpkgs.follows = "nixpkgs-unstable"; + }; home-manager-stable = { url = "github:nix-community/home-manager/release-23.11"; @@ -27,6 +35,7 @@ nixosConfigurations = { darkstar = nixpkgs-unstable.lib.nixosSystem { pkgs = pkgs-unstable; + specialArgs = inputs; system = "x86_64-linux"; modules = [ ./hosts/darkstar @@ -40,6 +49,7 @@ ginaz = nixpkgs-unstable.lib.nixosSystem { pkgs = pkgs-unstable; + specialArgs = inputs; system = "x86_64-linux"; modules = [ ./hosts/ginaz diff --git a/hosts/ginaz/default.nix b/hosts/ginaz/default.nix index 61dbf95..b20c687 100644 --- a/hosts/ginaz/default.nix +++ b/hosts/ginaz/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: { +{ agenix, config, pkgs, ... }: { boot = { initrd.kernelModules = [ "amdgpu" "zfs" ]; kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; -- cgit v1.2.3