diff --git a/home/homepkgs/git-credential-keepassxc.nix b/home/homepkgs/git-credential-keepassxc.nix index 7168a37..50b2784 100644 --- a/home/homepkgs/git-credential-keepassxc.nix +++ b/home/homepkgs/git-credential-keepassxc.nix @@ -14,10 +14,10 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "sha256-gXW08plJRE1Q6W+Dc2y+gu2R+KBRs3fBG1umdawDduA="; meta = with lib; { - description = ""; + description = "Helper that allows Git (and shell scripts) to use KeePassXC as credential store"; homepage = "https://github.com/frederick888/git-credential-keepassxc"; license = licenses.gpl3Only; - maintainers = [ "all me baby" ]; + maintainers = [ ]; }; } diff --git a/system/cachix.nix b/system/cachix.nix new file mode 100644 index 0000000..88b2f08 --- /dev/null +++ b/system/cachix.nix @@ -0,0 +1,13 @@ + +# WARN: this file will get overwritten by $ cachix use +{ pkgs, lib, ... }: + +let + folder = ./cachix; + toImport = name: value: folder + ("/" + name); + filterCaches = key: value: value == "regular" && lib.hasSuffix ".nix" key; + imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder)); +in { + inherit imports; + nix.binaryCaches = ["https://cache.nixos.org/"]; +} diff --git a/system/cachix/nix-community.nix b/system/cachix/nix-community.nix new file mode 100644 index 0000000..427a518 --- /dev/null +++ b/system/cachix/nix-community.nix @@ -0,0 +1,11 @@ + +{ + nix = { + binaryCaches = [ + "https://nix-community.cachix.org" + ]; + binaryCachePublicKeys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + }; +}