manager: include microca as a package

This commit is contained in:
Aaron Bieber 2022-09-04 08:04:56 -06:00
parent ea25ce430a
commit 02af033b2a
No known key found for this signature in database
2 changed files with 8 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
with lib; {
options = {
nixManager = {
@ -14,11 +14,11 @@ with lib; {
};
config = mkIf config.nixManager.enable {
#sops.defaultSopsFile = ../manager.yaml;
sops.defaultSopsFile = config.xin-secrets.manager;
sops.secrets = {
manager_key = { owner = config.nixManager.user; };
manager_pubkey = { owner = config.nixManager.user; };
};
environment.systemPackages = with pkgs; [ microca ];
};
}

View File

@ -54,6 +54,7 @@
overlays = [
flakes.emacs-overlay.overlay
flakes.peerix.overlay
flakes.microca.overlay
];
modules = [
@ -68,7 +69,11 @@
];
};
overlays = [ flakes.emacs-overlay.overlay flakes.peerix.overlay ];
overlays = [
flakes.emacs-overlay.overlay
flakes.peerix.overlay
flakes.microca.overlay
];
buildVer = { system.configurationRevision = self.rev or "DIRTY"; };
buildShell = pkgs: