From aa519ba3ee02eab0a7f25b3cf2e803c50b654521 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 19 Jun 2024 22:36:18 +0200 Subject: [PATCH] Update --- flake.nix | 7 +++++-- hosts/modules/server/sops.nix | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index a2d1de2..dbc5bdd 100644 --- a/flake.nix +++ b/flake.nix @@ -26,7 +26,7 @@ nixos-hardware.url = "github:NixOS/nixos-hardware/master"; }; - outputs = inputs@{ nixpkgs, nur, ... }: { + outputs = inputs@{ nixpkgs, nur, sops-nix, ... }: { nixosConfigurations = { nixy = nixpkgs.lib.nixosSystem { @@ -37,7 +37,10 @@ inputs.home-manager.nixosModules.home-manager { nixpkgs.overlays = [ nur.overlay ]; - _module.args = { inherit inputs; }; + _module.args = { + inherit inputs; + inherit sops-nix; + }; home-manager = { useGlobalPkgs = true; useUserPackages = true; diff --git a/hosts/modules/server/sops.nix b/hosts/modules/server/sops.nix index 70720c9..8156d06 100644 --- a/hosts/modules/server/sops.nix +++ b/hosts/modules/server/sops.nix @@ -1,4 +1,4 @@ -{ pkgs, inputs, config, ... }: { +{ inputs, ... }: { imports = [ inputs.sops-nix.nixosModules.sops ];