From 807070c75546780c814f08bb53a6145d6a114bb1 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 17 Dec 2022 20:20:29 +0100 Subject: [PATCH] flake: some agenix fixes --- flake.nix | 2 +- hosts/default.nix | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 06666e5..439e930 100644 --- a/flake.nix +++ b/flake.nix @@ -44,7 +44,7 @@ nixosConfigurations = ( # NixOS configurations import ./hosts { # Imports ./hosts/default.nix inherit (nixpkgs) lib; - inherit inputs nixpkgs nixpkgs-stable nixos-hardware home-manager nur user location hyprland; # Also inherit home-manager so it does not need to be defined here. + inherit inputs nixpkgs nixpkgs-stable nixos-hardware home-manager nur user location hyprland agenix; # Also inherit home-manager so it does not need to be defined here. } ); }; diff --git a/hosts/default.nix b/hosts/default.nix index 2ade62e..d3e2096 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -11,7 +11,7 @@ # └─ ./home.nix # -{ lib, inputs, nixpkgs, nixos-hardware, home-manager, nur, user, location, hyprland, ... }: +{ lib, inputs, nixpkgs, nixos-hardware, home-manager, nur, user, location, hyprland, agenix, ... }: let system = "x86_64-linux"; # System architecture @@ -27,7 +27,7 @@ in { desktop = lib.nixosSystem { # Desktop profile inherit system; - specialArgs = { inherit inputs user location hyprland nixos-hardware nur; }; + specialArgs = { inherit inputs user location hyprland nixos-hardware nur agenix; }; modules = [ agenix.nixosModules.age nur.nixosModules.nur @@ -55,7 +55,7 @@ in laptop = lib.nixosSystem { # Laptop profile inherit system; - specialArgs = { inherit inputs user location hyprland nixos-hardware nur; }; + specialArgs = { inherit inputs user location hyprland nixos-hardware nur agenix; }; modules = [ agenix.nixosModules.age nur.nixosModules.nur @@ -83,7 +83,7 @@ in dmz = lib.nixosSystem { # Desktop profile inherit system; #user = "dmz-user"; - specialArgs = { inherit inputs user location nixos-hardware nur; }; + specialArgs = { inherit inputs user location nixos-hardware nur agenix; }; modules = [ agenix.nixosModules.age nur.nixosModules.nur