diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 148c501..75ec44b 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -8,9 +8,9 @@ jobs: - uses: actions/checkout@v4 name: Checkout repository - name: Attic login - run: attic login nixfleet http://10.100.0.1:8081 ${{secrets.ATTIC_NIXFLEET_TOKEN}} + run: attic login sisko http://10.100.0.1:8081 ${{secrets.ATTIC_SISKO_TOKEN}} - name: Build with nix - run: nix-fast-build --no-nom --systems "x86_64-linux aarch64-linux" --attic-cache "nixfleet" --skip-cached --result-file result.json || true + run: nix-fast-build --no-nom --systems "x86_64-linux aarch64-linux" --attic-cache "sisko" --result-file result.json || true - name: Report checks run: report-checks diff --git a/flake.lock b/flake.lock index 33af5b3..38ce456 100644 --- a/flake.lock +++ b/flake.lock @@ -23,11 +23,11 @@ }, "catppuccin": { "locked": { - "lastModified": 1734397929, - "narHash": "sha256-VCTVpU/RlrI9StxzDnqc1R3ZTQloLVALSkiN/Fgiad4=", + "lastModified": 1734057772, + "narHash": "sha256-waF/2Y39JXJ4kG3zawmw1J1GxPHopyoOkJKJhfJ7RBs=", "owner": "catppuccin", "repo": "nix", - "rev": "21310cde33d3ee8023679dec01a9724a346c63ff", + "rev": "20b6328df20ae45752c81311d225fd47cba32483", "type": "github" }, "original": { @@ -119,11 +119,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1734427318, - "narHash": "sha256-NQ1bI/iV5N7zGcfFd0+SYdh4O5EYBzJ7mTR9j6K1QWQ=", + "lastModified": 1734355561, + "narHash": "sha256-ZdWqrGn+4f2kZT19ZiRvDNFpoBsGZp9cLytAqunZUyU=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "08c065bf80654e214e8ded2d27b0dea39c66f452", + "rev": "c4908cd54234341a1faa15e55f673fc60a34b9d6", "type": "github" }, "original": { @@ -361,11 +361,11 @@ "nixpkgs-stable": "nixpkgs-stable_2" }, "locked": { - "lastModified": 1734425854, - "narHash": "sha256-nzE5UbJ41aPEKf8R2ZFYtLkqPmF7EIUbNEdHMBLg0Ig=", + "lastModified": 1734279981, + "narHash": "sha256-NdaCraHPp8iYMWzdXAt5Nv6sA3MUzlCiGiR586TCwo0=", "owner": "cachix", "repo": "git-hooks.nix", - "rev": "0ddd26d0925f618c3a5d85a4fa5eb1e23a09491d", + "rev": "aa9f40c906904ebd83da78e7f328cd8aeaeae785", "type": "github" }, "original": { @@ -871,11 +871,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1734323986, - "narHash": "sha256-m/lh6hYMIWDYHCAsn81CDAiXoT3gmxXI9J987W5tZrE=", + "lastModified": 1734083684, + "narHash": "sha256-5fNndbndxSx5d+C/D0p/VF32xDiJCJzyOqorOYW4JEo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "394571358ce82dff7411395829aa6a3aad45b907", + "rev": "314e12ba369ccdb9b352a4db26ff419f7c49fa84", "type": "github" }, "original": { diff --git a/hosts/sisko/default.nix b/hosts/sisko/default.nix index b67b313..41ccfd3 100644 --- a/hosts/sisko/default.nix +++ b/hosts/sisko/default.nix @@ -110,6 +110,4 @@ environment.systemPackages = with pkgs; [ cifs-utils ]; - - powerManagement.scsiLinkPolicy = "med_power_with_dipm"; } diff --git a/modules/atticd/default.nix b/modules/atticd/default.nix index 6af974f..507ba59 100644 --- a/modules/atticd/default.nix +++ b/modules/atticd/default.nix @@ -5,7 +5,7 @@ settings = { listen = "0.0.0.0:8081"; allowed-hosts = [ ]; # Allow all hosts - # api-endpoint = "https://cache.aciceri.dev"; + # api-endpoint = "https://cache.staging.mlabs.city/"; soft-delete-caches = false; require-proof-of-possession = true; @@ -13,12 +13,13 @@ storage = { type = "local"; - path = "/mnt/hd/attic"; + path = "/mnt/hd/atticd"; }; - compression.type = "none"; - - garbage-collection.interval = "0 hours"; # disable garbage collection + compression = { + level = 8; + type = "zstd"; + }; chunking = { nar-size-threshold = 64 * 1024; # 64 KiB diff --git a/packages/forgejo-report-checks/forgejo-report-checks.py b/packages/forgejo-report-checks/forgejo-report-checks.py index 538399f..a66a825 100644 --- a/packages/forgejo-report-checks/forgejo-report-checks.py +++ b/packages/forgejo-report-checks/forgejo-report-checks.py @@ -26,7 +26,7 @@ for result in data['results']: context=type, description=attr, target_url="https://git.aciceri.dev", # FIXME - state="success" if success else "failure" # may be pending,success,failure,error_message + state="success" if success else "failure" # ma be pending,success,failure,error_message ) )