diff --git a/configs/manager.nix b/configs/manager.nix index 3d67ea3..ae0b3e3 100644 --- a/configs/manager.nix +++ b/configs/manager.nix @@ -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 ]; }; } diff --git a/flake.nix b/flake.nix index b5079ae..70ab4ca 100644 --- a/flake.nix +++ b/flake.nix @@ -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: