flake attempt

This commit is contained in:
2025-07-17 11:12:48 -06:00
parent 6928166354
commit 61a644183a
3 changed files with 64 additions and 5 deletions

60
mcp/flake.lock generated Normal file
View File

@@ -0,0 +1,60 @@
{
"nodes": {
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1752771207,
"narHash": "sha256-OpHtrxIaJj5lQDDzQnrOKPLkkwSJRjSkvaOwqIpTBw0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a1407c95bfe33c8f253c26d1333718e47f6f6e67",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",
"version": 7
}

View File

@@ -7,17 +7,15 @@
outputs = { self, nixpkgs, flake-utils }: outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system: flake-utils.lib.eachDefaultSystem (system:
let let
pkgs = import nixpkgs { inherit system; }; pkgs = nixpkgs.legacyPackages.${system};
in { in {
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
buildInputs = [ buildInputs = [
pkgs.bash pkgs.bash
pkgs.python313Packages.pyppeteer pkgs.python313Packages.pyppeteer
pkgs.python312
pkgs.glib pkgs.glib
pkgs.glib.out
pkgs.chromium pkgs.chromium
pkgs.uvx pkgs.uv
pkgs.nodejs_22 pkgs.nodejs_22
]; ];
shellHook = '' shellHook = ''
@@ -28,4 +26,4 @@
uvx mcpo --port 8008 --config ./config.json uvx mcpo --port 8008 --config ./config.json
''; '';
}); });
} }

View File

@@ -41,6 +41,7 @@ in {
jellyfin-tui jellyfin-tui
firefoxpwa firefoxpwa
bluetui bluetui
nixfmt
]; ];
programs.firefox = { programs.firefox = {