add sops-nix dependency
This commit is contained in:
parent
fe1537735d
commit
e1f8c6cc3b
3 changed files with 9 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue