Disable systemd service outside of Linux

This commit is contained in:
Matthew Toohey 2022-07-20 22:30:24 -04:00 committed by Pogobanane
parent 466d039190
commit c3d2a46e44

View file

@ -216,7 +216,7 @@ in {
}]) cfg.secrets)
);
systemd.user.services.sops-nix = {
systemd.user.services.sops-nix = lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
Unit = {
Description = "sops-nix activation";
};