tack and everything and wow

This commit is contained in:
atagen 2026-06-09 16:01:48 +10:00
parent 480c556d32
commit 7a6f387652
24 changed files with 801 additions and 358 deletions

View file

@ -1,14 +1,8 @@
{
pkgs,
inputs,
...
}:
{
imports = [
inputs.angrr.nixosModules.angrr
];
nix = {
package = pkgs.nixVersions.git;
optimise = {
automatic = true;
dates = "weekly";
@ -23,9 +17,4 @@
};
};
services.angrr = {
enable = true;
period = "7d";
};
}

View file

@ -12,6 +12,7 @@
enable = true;
flake = "/home/${mainUser}/.nix";
monitor = getFlakePkg inputs.rom;
tack = getFlakePkg inputs.tack;
};
# services.smooooth = {

View file

@ -1,28 +1,75 @@
{
scope,
lib,
inputs,
...
}:
scope "nix.settings" {
substituters = [
"https://nix-community.cachix.org"
"https://anmonteiro.nix-cache.workers.dev"
"https://cache.lobotomise.me"
# "https://cache.atagen.co"
# "https://cache.privatevoid.net"
"https://cache.flox.dev"
"https://cache.amaanq.com"
"https://cache.nixos-cuda.org"
"https://niri.cachix.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"ocaml.nix-cache.com-1:/xI2h2+56rwFfKyyFVbkJSeGqSIYMC/Je+7XXqGKDIY="
"cache.lobotomise.me:oF5s/f/RDfVuMH7hl0q/Cby4V/KbPCrZJn8SjKOf/bk="
# "cache.atagen.co:SOUkNQxuu/eQ7FcI8nlUe7FpV27e7YjQlDQdn8HTUnw="
# "cache.privatevoid.net:SErQ8bvNWANeAvtsOESUwVYr2VJynfuc9JRwlzTTkVg="
"flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs="
"cache.amaanq.com:H0iXsEEFsvUNtWb5v9V8Kss+L4F/tnXwDHXcY+xbmKk="
"cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M="
"niri.cachix.org-1:Wv0OmO7PsuocRKzfDoJ3mulSl7Z6oezYhGhR+3W2964="
];
{
imports = [ inputs.ncro.nixosModules.default ];
nix.settings = {
# trusted-public-keys = [
# "cache.privatevoid.net:SErQ8bvNWANeAvtsOESUwVYr2VJynfuc9JRwlzTTkVg="
# ];
substituters = lib.mkForce [
"http://localhost:8080"
];
};
services.ncro = {
enable = true;
settings = {
upstreams = [
{
url = "https://cache.nixos.org";
public_key = "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=";
priority = 10;
}
{
url = "https://nix-community.cachix.org";
public_key = "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=";
priority = 20;
}
{
url = "https://cache.lobotomise.me";
public_key = "cache.lobotomise.me:oF5s/f/RDfVuMH7hl0q/Cby4V/KbPCrZJn8SjKOf/bk=";
priority = 30;
}
{
public_key = "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=";
url = "https://cache.nixos-cuda.org";
priority = 40;
}
# {
# url = "https://cache.privatevoid.net";
# # public_key = "cache.privatevoid.net:SErQ8bvNWANeAvtsOESUwVYr2VJynfuc9JRwlzTTkVg=";
# priority = 50;
# filters = [
# {
# action = "allow";
# field = "name";
# pattern = "zedless*";
# }
# {
# action = "deny";
# field = "name";
# pattern = "*";
# }
# ];
# }
{
url = "https://cache.flox.dev";
public_key = "flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs=";
priority = 50;
}
{
url = "https://cache.amaanq.com";
public_key = "cache.amaanq.com:H0iXsEEFsvUNtWb5v9V8Kss+L4F/tnXwDHXcY+xbmKk=";
priority = 50;
}
{
url = "https://niri.cachix.org";
public_key = "niri.cachix.org-1:Wv0OmO7PsuocRKzfDoJ3mulSl7Z6oezYhGhR+3W2964=";
priority = 50;
}
];
};
};
}

View file

@ -1,6 +1,7 @@
{
pkgs,
inputs,
getFlakePkg,
...
}:
{
@ -8,8 +9,16 @@
nixfmt
nil
];
imports = [
inputs.nix-index-database.nixosModules.nix-index
inputs.tack.nixosModules.default
];
programs.tack = {
enable = true;
nixConfTokens = true;
};
programs.nix-index-database.comma.enable = true;
}