feat: add self-hosted cache server

This commit is contained in:
danny 2025-09-25 19:58:19 +08:00
parent 05bc6a185f
commit 69705431bf
16 changed files with 313 additions and 95 deletions

View file

@ -129,6 +129,11 @@
flake = false;
};
# ======================== #
attic = {
url = "github:zhaofengli/attic";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
@ -161,6 +166,7 @@
inputs.chaotic.nixosModules.default
inputs.actual-budget-api.nixosModules.default
inputs.stylix.nixosModules.stylix
inputs.attic.nixosModules.atticd
];
args = {
inherit
@ -294,6 +300,9 @@
nixpkgs.lib.nixosSystem {
modules = [
{
environment.systemPackages = [
inputs.attic.packages.${system}.attic
];
system.stateVersion = nix-version;
home-manager = {
backupFileExtension = "backup-hm";