diff --git a/.github/workflows/actions-check.yaml b/.github/workflows/actions-check.yaml deleted file mode 100644 index 6778768..0000000 --- a/.github/workflows/actions-check.yaml +++ /dev/null @@ -1,33 +0,0 @@ -name: Check actions -on: - push: - paths: - - .github/workflows/*.yaml - - .github/workflows/*.yml - pull_request: - paths: - - .github/workflows/*.yaml - - .github/workflows/*.yml - -jobs: - check-actions-actionlint: - runs-on: ubuntu-latest - container: - image: ghcr.io/catthehacker/ubuntu:runner-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v5 - with: - go-version: '1.23' - - run: | - go install github.com/rhysd/actionlint/cmd/actionlint@latest - actionlint .github/workflows/*.yaml - check-actions-yamllint: - runs-on: ubuntu-latest - container: - image: ghcr.io/catthehacker/ubuntu:runner-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v5 - - run: | - pipx run yamllint .github/workflows/*.yaml diff --git a/.github/workflows/flake-check.yaml b/.github/workflows/flake-check.yaml deleted file mode 100644 index 93c4acb..0000000 --- a/.github/workflows/flake-check.yaml +++ /dev/null @@ -1,14 +0,0 @@ -name: Run nix flake check -on: - push: - pull_request: - -jobs: - flake-check: - runs-on: ubuntu-latest - container: - image: ghcr.io/catthehacker/ubuntu:runner-latest - steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v27 - - run: nix flake check diff --git a/.github/workflows/flake-update.yaml b/.github/workflows/flake-update.yaml deleted file mode 100644 index dc82e08..0000000 --- a/.github/workflows/flake-update.yaml +++ /dev/null @@ -1,36 +0,0 @@ ---- -name: Periodic flake update -on: # yamllint disable-line rule:truthy - schedule: - - cron: "0 */2 * * *" - -permissions: - contents: write - -jobs: - flake-update: - runs-on: ubuntu-latest - container: - image: ghcr.io/catthehacker/ubuntu:runner-latest - steps: - - uses: actions/checkout@v3 - with: - ref: master - - uses: cachix/install-nix-action@v27 - - name: configure git - env: - SSH_PRIVKEY: ${{ secrets.BOT_SSH_PRIVKEY }} - SSH_PUBKEY: ${{ secrets.BOT_SSH_PUBKEY }} - run: | - echo "$SSH_PRIVKEY" > "$RUNNER_TEMP/id_ed25519" - echo "$SSH_PUBKEY" > "$RUNNER_TEMP/id_ed25519.pub" - chmod -R 0600 "$RUNNER_TEMP/id_ed25519.pub" "$RUNNER_TEMP/id_ed25519" - git config --global user.name 'torjus-bot' - git config --global user.email 'torjus-bot@git.t-juice.club' - git config --global user.signingKey "$RUNNER_TEMP/id_ed25519.pub" - git config --global gpg.format ssh - git config --global commit.gpgsign true - - name: flake update - run: nix flake update --commit-lock-file - - name: push - run: git push diff --git a/.mcp.json b/.mcp.json index fa88f45..7428b12 100644 --- a/.mcp.json +++ b/.mcp.json @@ -2,28 +2,28 @@ "mcpServers": { "nixpkgs-options": { "command": "nix", - "args": ["run", "git+https://git.t-juice.club/torjus/labmcp#nixpkgs-search", "--", "options", "serve"], + "args": ["run", "git+https://code.t-juice.club/torjus/labmcp#nixpkgs-search", "--", "options", "serve"], "env": { "NIXPKGS_SEARCH_DATABASE": "sqlite:///run/user/1000/labmcp/nixpkgs-search.db" } }, "nixpkgs-packages": { "command": "nix", - "args": ["run", "git+https://git.t-juice.club/torjus/labmcp#nixpkgs-search", "--", "packages", "serve"], + "args": ["run", "git+https://code.t-juice.club/torjus/labmcp#nixpkgs-search", "--", "packages", "serve"], "env": { "NIXPKGS_SEARCH_DATABASE": "sqlite:///run/user/1000/labmcp/nixpkgs-search.db" } }, "hm-options": { "command": "nix", - "args": ["run", "git+https://git.t-juice.club/torjus/labmcp#hm-options", "--", "serve"], + "args": ["run", "git+https://code.t-juice.club/torjus/labmcp#hm-options", "--", "serve"], "env": { "HM_OPTIONS_DATABASE": "sqlite:///run/user/1000/labmcp/hm-options.db" } }, "git-explorer": { "command": "nix", - "args": ["run", "git+https://git.t-juice.club/torjus/labmcp#git-explorer", "--", "serve"], + "args": ["run", "git+https://code.t-juice.club/torjus/labmcp#git-explorer", "--", "serve"], "env": { "GIT_REPO_PATH": "/home/torjus/git/nixos-servers" } diff --git a/flake.lock b/flake.lock index a79e8dc..c2c0a24 100644 --- a/flake.lock +++ b/flake.lock @@ -25,18 +25,18 @@ ] }, "locked": { - "lastModified": 1728602333, - "narHash": "sha256-sKbnng/g4ijuKcjShBi7oPxyUrCnMJDDy17U9W/TuMg=", + "lastModified": 1773164481, + "narHash": "sha256-pAHExVIUqQdnaKniNTdlxheQ/IOU3nTeEV/DRrCc8wg=", "ref": "master", - "rev": "84fcfdde62de9888d3af8bcb0d7134137b276b55", - "revCount": 23, + "rev": "bb7f415c08d6189514dce8c43d69eea6372f0528", + "revCount": 24, "type": "git", - "url": "https://git.t-juice.club/torjus/ghettoptt" + "url": "https://code.t-juice.club/torjus/ghettoptt" }, "original": { "ref": "master", "type": "git", - "url": "https://git.t-juice.club/torjus/ghettoptt" + "url": "https://code.t-juice.club/torjus/ghettoptt" } }, "home-manager": { @@ -69,18 +69,18 @@ "uv2nix": "uv2nix" }, "locked": { - "lastModified": 1757974387, - "narHash": "sha256-vVFZTB3NxJCH91aaAtop3MEZcilPQ273epV1gcnQE4s=", + "lastModified": 1773164725, + "narHash": "sha256-FNW+hOB6NCEpZt73FPiafLBPfwnSdTJeaGNCN3r+zEQ=", "ref": "master", - "rev": "b341e613337b87cef7a0f4ea05d677288cafa3fb", - "revCount": 33, + "rev": "e5226d3e32180eb59edae6c29053854dda82750c", + "revCount": 34, "type": "git", - "url": "https://git.t-juice.club/torjus/huecli" + "url": "https://code.t-juice.club/torjus/huecli" }, "original": { "ref": "master", "type": "git", - "url": "https://git.t-juice.club/torjus/huecli" + "url": "https://code.t-juice.club/torjus/huecli" } }, "natstonotify": { @@ -90,18 +90,18 @@ ] }, "locked": { - "lastModified": 1739302828, - "narHash": "sha256-D6l5tAh1FDpdz9/tQC7kYhFPQzqI1HICwNh7fRejfrw=", + "lastModified": 1773164311, + "narHash": "sha256-HRR4TBCGp5okWW2eV6vUTYAhUR7I+MNADtlOaIe8fec=", "ref": "master", - "rev": "bfcf518fe0b2fe19075667f7b22227376d102509", - "revCount": 7, + "rev": "7e784076242f4bbcf63a35c14ea752bf7a285d8a", + "revCount": 8, "type": "git", - "url": "https://git.t-juice.club/torjus/natstonotify" + "url": "https://code.t-juice.club/torjus/natstonotify" }, "original": { "ref": "master", "type": "git", - "url": "https://git.t-juice.club/torjus/natstonotify" + "url": "https://code.t-juice.club/torjus/natstonotify" } }, "nix-packages": { @@ -183,18 +183,18 @@ "uv2nix": "uv2nix_2" }, "locked": { - "lastModified": 1767871861, - "narHash": "sha256-Oh0Y9bTvvMm3JQH/C/8XLCeemgvMDbIgFh1NSYFyINY=", + "lastModified": 1773164966, + "narHash": "sha256-uwkLjHH6BmNzcF791y9ceUcfZtRu/v0+61d4/TbGLxY=", "ref": "master", - "rev": "b4e3e6de659bf8c96b84dd47249c71b357dd50c2", - "revCount": 62, + "rev": "61c04a87f944cfc93b9f3f2904991c41664e28c5", + "revCount": 63, "type": "git", - "url": "https://git.t-juice.club/torjus/nixprstatus" + "url": "https://code.t-juice.club/torjus/nixprstatus" }, "original": { "ref": "master", "type": "git", - "url": "https://git.t-juice.club/torjus/nixprstatus" + "url": "https://code.t-juice.club/torjus/nixprstatus" } }, "pyproject-build-systems": { diff --git a/flake.nix b/flake.nix index 390171f..6cbf591 100644 --- a/flake.nix +++ b/flake.nix @@ -13,11 +13,11 @@ inputs.nixpkgs.follows = "nixpkgs"; }; ghettoptt = { - url = "git+https://git.t-juice.club/torjus/ghettoptt?ref=master"; + url = "git+https://code.t-juice.club/torjus/ghettoptt?ref=master"; inputs.nixpkgs.follows = "nixpkgs"; }; huecli = { - url = "git+https://git.t-juice.club/torjus/huecli?ref=master"; + url = "git+https://code.t-juice.club/torjus/huecli?ref=master"; inputs.nixpkgs.follows = "nixpkgs"; }; nix-packages = { @@ -25,11 +25,11 @@ inputs.nixpkgs.follows = "nixpkgs"; }; nixprstatus = { - url = "git+https://git.t-juice.club/torjus/nixprstatus?ref=master"; + url = "git+https://code.t-juice.club/torjus/nixprstatus?ref=master"; inputs.nixpkgs.follows = "nixpkgs"; }; natstonotify = { - url = "git+https://git.t-juice.club/torjus/natstonotify?ref=master"; + url = "git+https://code.t-juice.club/torjus/natstonotify?ref=master"; inputs.nixpkgs.follows = "nixpkgs"; }; catppuccin = {