move most of the binary caches back into their modules

I actually have no idea what to do twith the nix community one
This commit is contained in:
jacekpoz 2024-09-03 01:36:22 +02:00
parent 6029433087
commit 629a57f88f
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
6 changed files with 45 additions and 10 deletions

View file

@ -5,6 +5,15 @@
}: let
port = 6167;
in {
nix.settings = {
substituters = [
"https://attic.conduit.rs/conduit"
];
trusted-public-keys = [
"conduit:ddcaWZiWm0l0IXZlO8FERRdWvEufwmd0Negl1P+c0Ns="
];
};
environment.systemPackages = [ pkgs.mautrix-discord ];
services.matrix-conduit = {

View file

@ -2,19 +2,9 @@ _: {
nix.settings = {
substituters = [
"https://nix-community.cachix.org"
"https://attic.conduit.rs/conduit"
"https://helix.cachix.org"
"https://viperml.cachix.org"
"https://anyrun.cachix.org"
"https://hyprland.cachix.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"conduit:ddcaWZiWm0l0IXZlO8FERRdWvEufwmd0Negl1P+c0Ns="
"helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs="
"viperml.cachix.org-1:qZhKBMTfmcLL+OG6fj/hzsMEedgKvZVFRRAhq7j8Vh8="
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
};
}

View file

@ -20,6 +20,15 @@ in {
};
config = mkIf cfg.enable {
nix.settings = {
substituters = [
"https://viperml.cachix.org"
];
trusted-public-keys = [
"viperml.cachix.org-1:qZhKBMTfmcLL+OG6fj/hzsMEedgKvZVFRRAhq7j8Vh8="
];
};
programs.nh = {
enable = true;
package = inputs.nh.packages.${pkgs.system}.default;

View file

@ -15,6 +15,15 @@ in {
options.poz.programs.anyrun.enable = mkEnableOption "anyrun";
config = mkIf cfg.enable {
nix.settings = {
substituters = [
"https://anyrun.cachix.org"
];
trusted-public-keys = [
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
];
};
home-manager.users.${username} = {
imports = [ inputs.anyrun.homeManagerModules.default ];

View file

@ -117,6 +117,15 @@ in {
disabledModules = [ "programs/hyprland.nix" ];
config = mkIf cfg.enable {
nix.settings = {
substituters = [
"https://hyprland.cachix.org"
];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
};
environment.sessionVariables = {
XDG_CURRENT_DESKTOP = "Hyprland";
XDG_SESSION_TYPE = "wayland";

View file

@ -20,6 +20,15 @@ in {
options.poz.programs.helix.enable = mkEnableOption "helix";
config = mkIf cfg.enable {
nix.settings = {
substituters = [
"https://helix.cachix.org"
];
trusted-public-keys = [
"helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs="
];
};
home-manager.users.${username} = {
programs.helix = {
enable = true;