before we get too crazy

This commit is contained in:
atagen 2026-02-25 14:53:38 +11:00
parent fe668b5b9e
commit 453d780695
21 changed files with 612 additions and 291 deletions

18
common/nix/plugins.nix Normal file
View file

@ -0,0 +1,18 @@
{
inputs,
getFlakePkg,
...
}:
{
nix.settings.plugin-files = [
"${getFlakePkg inputs.nix-scope-plugin}/lib/nix/plugins/libnix-scope-plugin.so"
];
imports = [ inputs.nix-shorturl-plugin.nixosModules.default ];
nix.shorturls = {
enable = true;
schemes = {
atagen = "git+https://git.lobotomise.me/atagen/{path}";
amaan = "github:amaanq/{path}";
};
};
}

View file

@ -17,7 +17,6 @@
extraOptions = ''
keep-outputs = true
keep-derivations = true
allow-import-from-derivation = false
'';
optimise.automatic = true;
};

View file

@ -11,6 +11,7 @@ scope "nix.settings" {
# "https://cache.privatevoid.net"
"https://cache.flox.dev"
"https://cache.amaanq.com"
"https://cache.nixos-cuda.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
@ -19,6 +20,7 @@ scope "nix.settings" {
# "cache.atagen.co:SOUkNQxuu/eQ7FcI8nlUe7FpV27e7YjQlDQdn8HTUnw="
# "cache.privatevoid.net:SErQ8bvNWANeAvtsOESUwVYr2VJynfuc9JRwlzTTkVg="
"flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs="
"cache.amaanq.com:3qm0ZOxlHr7UQqj0G3MKlAn1votV9/3KjHGU2GQ9rEM="
"cache.amaanq.com:H0iXsEEFsvUNtWb5v9V8Kss+L4F/tnXwDHXcY+xbmKk="
"cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M="
];
}