add sops-nix dependency

This commit is contained in:
do butterflies cry? 2026-02-26 15:21:23 +10:00
parent fe1537735d
commit e1f8c6cc3b
3 changed files with 9 additions and 4 deletions

View file

@ -13,12 +13,11 @@
# limitations under the License. # limitations under the License.
{ {
root, root,
lib,
system, system,
_cerulean, _cerulean,
... ...
} @ args: { } @ args: {
imports = imports = with _cerulean.inputs;
[ [
# add support for `options.legacyImports` # add support for `options.legacyImports`
# ./legacy-imports.nix # ./legacy-imports.nix
@ -27,6 +26,9 @@
(import (root + "/nixpkgs.nix")) (import (root + "/nixpkgs.nix"))
# options declarations # options declarations
(import ./nixpkgs.nix (args // {contextName = "hosts";})) (import ./nixpkgs.nix (args // {contextName = "hosts";}))
sops-nix.nixosModules.sops
# microvm.nixosModules.microvm
] ]
++ ( ++ (
if _cerulean.homeManager != null if _cerulean.homeManager != null

View file

@ -112,8 +112,6 @@ in
[ [
self.nixosModules.default self.nixosModules.default
(findImport (root + "/hosts/${name}")) (findImport (root + "/hosts/${name}"))
# inputs.microvm.nixosModules.microvm
] ]
++ (groupModules root) ++ (groupModules root)
++ node.modules ++ node.modules

View file

@ -32,6 +32,11 @@
url = "github:microvm-nix/microvm.nix"; url = "github:microvm-nix/microvm.nix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { outputs = {