flake: some agenix fixes

This commit is contained in:
Kabbone 2022-12-17 20:20:29 +01:00
parent 4c48cd18b6
commit 807070c755
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY
2 changed files with 5 additions and 5 deletions

View File

@ -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.
}
);
};

View File

@ -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