manager: include microca as a package
This commit is contained in:
parent
ea25ce430a
commit
02af033b2a
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user