diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 75ec44b..148c501 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 sisko http://10.100.0.1:8081 ${{secrets.ATTIC_SISKO_TOKEN}} + run: attic login nixfleet http://10.100.0.1:8081 ${{secrets.ATTIC_NIXFLEET_TOKEN}} - name: Build with nix - run: nix-fast-build --no-nom --systems "x86_64-linux aarch64-linux" --attic-cache "sisko" --result-file result.json || true + run: nix-fast-build --no-nom --systems "x86_64-linux aarch64-linux" --attic-cache "nixfleet" --skip-cached --result-file result.json || true - name: Report checks run: report-checks diff --git a/flake.lock b/flake.lock index 38ce456..33af5b3 100644 --- a/flake.lock +++ b/flake.lock @@ -23,11 +23,11 @@ }, "catppuccin": { "locked": { - "lastModified": 1734057772, - "narHash": "sha256-waF/2Y39JXJ4kG3zawmw1J1GxPHopyoOkJKJhfJ7RBs=", + "lastModified": 1734397929, + "narHash": "sha256-VCTVpU/RlrI9StxzDnqc1R3ZTQloLVALSkiN/Fgiad4=", "owner": "catppuccin", "repo": "nix", - "rev": "20b6328df20ae45752c81311d225fd47cba32483", + "rev": "21310cde33d3ee8023679dec01a9724a346c63ff", "type": "github" }, "original": { @@ -119,11 +119,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1734355561, - "narHash": "sha256-ZdWqrGn+4f2kZT19ZiRvDNFpoBsGZp9cLytAqunZUyU=", + "lastModified": 1734427318, + "narHash": "sha256-NQ1bI/iV5N7zGcfFd0+SYdh4O5EYBzJ7mTR9j6K1QWQ=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "c4908cd54234341a1faa15e55f673fc60a34b9d6", + "rev": "08c065bf80654e214e8ded2d27b0dea39c66f452", "type": "github" }, "original": { @@ -361,11 +361,11 @@ "nixpkgs-stable": "nixpkgs-stable_2" }, "locked": { - "lastModified": 1734279981, - "narHash": "sha256-NdaCraHPp8iYMWzdXAt5Nv6sA3MUzlCiGiR586TCwo0=", + "lastModified": 1734425854, + "narHash": "sha256-nzE5UbJ41aPEKf8R2ZFYtLkqPmF7EIUbNEdHMBLg0Ig=", "owner": "cachix", "repo": "git-hooks.nix", - "rev": "aa9f40c906904ebd83da78e7f328cd8aeaeae785", + "rev": "0ddd26d0925f618c3a5d85a4fa5eb1e23a09491d", "type": "github" }, "original": { @@ -871,11 +871,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1734083684, - "narHash": "sha256-5fNndbndxSx5d+C/D0p/VF32xDiJCJzyOqorOYW4JEo=", + "lastModified": 1734323986, + "narHash": "sha256-m/lh6hYMIWDYHCAsn81CDAiXoT3gmxXI9J987W5tZrE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "314e12ba369ccdb9b352a4db26ff419f7c49fa84", + "rev": "394571358ce82dff7411395829aa6a3aad45b907", "type": "github" }, "original": { diff --git a/hosts/sisko/default.nix b/hosts/sisko/default.nix index 41ccfd3..b67b313 100644 --- a/hosts/sisko/default.nix +++ b/hosts/sisko/default.nix @@ -110,4 +110,6 @@ 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 507ba59..6af974f 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.staging.mlabs.city/"; + # api-endpoint = "https://cache.aciceri.dev"; soft-delete-caches = false; require-proof-of-possession = true; @@ -13,13 +13,12 @@ storage = { type = "local"; - path = "/mnt/hd/atticd"; + path = "/mnt/hd/attic"; }; - compression = { - level = 8; - type = "zstd"; - }; + compression.type = "none"; + + garbage-collection.interval = "0 hours"; # disable garbage collection 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 a66a825..538399f 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" # ma be pending,success,failure,error_message + state="success" if success else "failure" # may be pending,success,failure,error_message ) )