1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 11:07:44 +00:00

jujutsu: don't sign when on non-desktop

This commit is contained in:
RGBCube 2025-05-22 17:34:29 +03:00
parent 821e2b228e
commit d7a7a77cf4
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -1,5 +1,5 @@
{ self, config, lib, pkgs, ... }: let
inherit (lib) attrValues enabled getExe head;
inherit (lib) attrValues enabled getExe head mkIf;
in {
environment.systemPackages = attrValues {
inherit (pkgs)
@ -79,9 +79,9 @@ in {
git.fetch = [ "origin" "upstream" "rad" ];
git.push = "origin";
signing.backend = "ssh";
signing.behavior = "own";
signing.key = "~/.ssh/id";
signing.backend = mkIf config.isDesktop "ssh";
signing.behavior = mkIf config.isDesktop "own";
signing.key = mkIf config.isDesktop "~/.ssh/id";
};
};
}];