mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 20:17:45 +00:00
mkIf isn't what I expected it to be
This commit is contained in:
parent
1a034ace4f
commit
b8c7e95643
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ homeConfiguration {
|
|||
push.autoSetupRemote = true;
|
||||
|
||||
url."ssh://git@github.com/".insteadOf = "https://github.com/";
|
||||
} // lib.mkIf ulib.isDesktop {
|
||||
} // lib.optionalAttrs ulib.isDesktop {
|
||||
commit.gpgSign = true;
|
||||
gpg.format = "ssh";
|
||||
user.signingKey = "~/.ssh/id_rsa";
|
||||
|
|
|
@ -18,7 +18,7 @@ systemConfiguration {
|
|||
registry = (lib.filterAttrs
|
||||
(name: value: value != {})
|
||||
(builtins.mapAttrs
|
||||
(name: value: lib.mkIf (value ? sourceInfo) {
|
||||
(name: value: lib.optionalAttrs (value ? sourceInfo) {
|
||||
flake = value;
|
||||
}) inputs)) // { default.flake = inputs.nixpkgs; };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue