fix codexbar

This commit is contained in:
Daniel Bulant 2026-05-16 00:59:14 +02:00
parent 15fdd801d9
commit 4059fd77c7
No known key found for this signature in database
2 changed files with 76 additions and 59 deletions

View file

@ -16,11 +16,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1778226184, "lastModified": 1778820080,
"narHash": "sha256-PV2SjSCv9BLLjNQMDTed51Z6PDfgveGK9bvUNhyJ2a4=", "narHash": "sha256-CWF87Kt4EV8tZG0WqHrb3jYGGW21+I0cwucIwPLnWgY=",
"owner": "mrshmllow", "owner": "mrshmllow",
"repo": "affinity-nix", "repo": "affinity-nix",
"rev": "f76f97513153a753718aa1423e84b4cb8ea4c185", "rev": "656b7d557c219cbd347108c70c64251f3165fb64",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -74,11 +74,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1778481276, "lastModified": 1778831001,
"narHash": "sha256-vLFMeN1lw/Y6p1ZhPVcF6aALLPXS05Bi6PpgqSIVENk=", "narHash": "sha256-wTFynNMsPzd2C4gRBqrzAx9WA8vLWjPed1Pyjla2S8s=",
"owner": "0xferrous", "owner": "0xferrous",
"repo": "CodexBar-flake", "repo": "CodexBar-flake",
"rev": "4e3491c7233b0840341c5340474e53dd05461662", "rev": "19251a9c35b975528878c7b89feec3e58733984c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -319,11 +319,11 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1777969788, "lastModified": 1778662605,
"narHash": "sha256-8sr3w0KyQ0K7TEd8pYwYrxiDk0GZ4A7iIcl1lsxlzVM=", "narHash": "sha256-nGPpWsLZ1dX1Dirf98GsCsFDE/diXkUP0PaAqZlTpkA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "3abc2d5559f4dc30c710ab152abcb4cb60b561ba", "rev": "5c80141c6215ed0a1cdc06ddb68e9bb55e9edfca",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -430,11 +430,11 @@
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
}, },
"locked": { "locked": {
"lastModified": 1777988971, "lastModified": 1778716662,
"narHash": "sha256-qIoWPDs+0/8JecyYgE3gpKQxW/4bLW/gp45vow9ioCQ=", "narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "0678d8986be1661af6bb555f3489f2fdfc31f6ff", "rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -537,11 +537,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1776796298, "lastModified": 1778507602,
"narHash": "sha256-PcRvlWayisPSjd0UcRQbhG8Oqw78AcPE6x872cPRHN8=", "narHash": "sha256-kTwur1wV+01SdqskVMSo6JMEpg71ps3HpbFY2GsflKs=",
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "3cfd774b0a530725a077e17354fbdb87ea1c4aad", "rev": "61ab0e80d9c7ab14c256b5b453d8b3fb0189ba0a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -674,11 +674,11 @@
"utils": "utils" "utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1778054244, "lastModified": 1778817414,
"narHash": "sha256-4yvin6Bm8MxAlAr7QCNSDFQz9WCzBltW+lYdGt1vsv4=", "narHash": "sha256-U1pJAxTPbPMn/SCwePgIwoiMWD43QgUAIL7J3kxgAAU=",
"owner": "schembriaiden", "owner": "schembriaiden",
"repo": "helium-browser-nix-flake", "repo": "helium-browser-nix-flake",
"rev": "b2790d366bbafa7cd01984a8c7eabe73fe10fd41", "rev": "53a220890870c24d8c7ad6a21b8d63260e94507f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -694,11 +694,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1778706808, "lastModified": 1778858474,
"narHash": "sha256-ihH1UnI6nYSOkjAg4QsOadg6sp2LxXnWO9urPbo3/hw=", "narHash": "sha256-uOh5fCoxOgdFa50WymuhCwJKuEVv/Eo4VYjK0SgzlPs=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "9760b31dab3016fc6e422ca241cfeac605fb89c9", "rev": "ca77575d39c908de876c10f93704532689df546f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -715,11 +715,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1777594677, "lastModified": 1778805320,
"narHash": "sha256-h90sHwoRJLRvaTpZroTvU2JRHDFj0czUafM8eqLe1RI=", "narHash": "sha256-nGFJ01m2CTBKD4ABtcY4vLhHrRN91LKr/pn41PcU78A=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "899c08a15beae5da51a5cecd6b2b994777a948da", "rev": "9846abe15e7d0d36b8acbd4d05f2b87461744c92",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1117,11 +1117,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1778600236, "lastModified": 1778862364,
"narHash": "sha256-jWlIT+uKqKZoz6rNweobs/h6FfI5dKnC5OO7/3T7Tdw=", "narHash": "sha256-O0qC3IOHRscJcGPuDlIS4cLboKJZq358KH3oVzBeQjo=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "f525d3b0a684d463dc9cf5c59359b9e67a372939", "rev": "9ab3f8b17e22ead80525c4572b74156acf870526",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1150,11 +1150,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1778389445, "lastModified": 1778858756,
"narHash": "sha256-9NyDMVf8ydUZGTzcPcLMQf0o1B3bte/00UGbuXHNWh8=", "narHash": "sha256-9VvAHNoi2wd0fxLfJOPChZMS7l6rhCtAJmpd59Hv5rw=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "38191826cb1e5fb9051a7e141fefe4941a2b4bed", "rev": "cd5ac3e5e04bb5a11276d3c755fa25242818e05f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1191,11 +1191,11 @@
"nixpkgs": "nixpkgs_10" "nixpkgs": "nixpkgs_10"
}, },
"locked": { "locked": {
"lastModified": 1778644418, "lastModified": 1778730790,
"narHash": "sha256-vqrq47aFxuIUojdWlNqaQ4TEtIiNR9rI9eSZHzPaUYQ=", "narHash": "sha256-g8+lQJL7OjgD1T+k6GzFC6LfHWc2gS0FFiO+MEIjZ9U=",
"owner": "fufexan", "owner": "fufexan",
"repo": "nix-gaming", "repo": "nix-gaming",
"rev": "4b98e5ed48e1973c54a535310573238c81c6fb76", "rev": "2c555b88e541fb9da71d3c01f97d31ef1805d639",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1355,11 +1355,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1778430510, "lastModified": 1778737229,
"narHash": "sha256-Ti+ZBvW6yrWWAg2szExVTwCd4qOJ3KlVr1tFHfyfi8Q=", "narHash": "sha256-6xWoytx8jFW4PF1GjRm/i/53trbpKGfz6zjzQGBr4cI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8fd9daa3db09ced9700431c5b7ad0e8ba199b575", "rev": "d7a713c0b7e47c908258e71cba7a2d77cc8d71d5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1451,11 +1451,11 @@
}, },
"nixpkgs_13": { "nixpkgs_13": {
"locked": { "locked": {
"lastModified": 1777268161, "lastModified": 1778443072,
"narHash": "sha256-bxrdOn8SCOv8tN4JbTF/TXq7kjo9ag4M+C8yzzIRYbE=", "narHash": "sha256-zi7/fsqM/kFdNuED//4WOCUtezGtKKqRNORjMvfwjnA=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1c3fe55ad329cbcb28471bb30f05c9827f724c76", "rev": "da5ad661ba4e5ef59ba743f0d112cbc30e474f32",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1467,11 +1467,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1777954456, "lastModified": 1778443072,
"narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=", "narHash": "sha256-zi7/fsqM/kFdNuED//4WOCUtezGtKKqRNORjMvfwjnA=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1", "rev": "da5ad661ba4e5ef59ba743f0d112cbc30e474f32",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1610,11 +1610,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1778693697, "lastModified": 1778852323,
"narHash": "sha256-lyZJsNaceTFU2czNKoqf7xoCAjlB9X47ADs0eCsFCS8=", "narHash": "sha256-LeFamcVyzYFLFyRWHlzoaYCNkHM9Vugi79JOkTkXR8o=",
"owner": "getpaseo", "owner": "getpaseo",
"repo": "paseo", "repo": "paseo",
"rev": "44292b2b6919da98d83d9014d5b4edc8555ee045", "rev": "35c582913d1fba5beb5e3c6ee336c01998eb3ac9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1626,17 +1626,17 @@
"plugin-loader-src": { "plugin-loader-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1775508798, "lastModified": 1776972538,
"narHash": "sha256-cD2G3M83wCEXVMMl9YoHMLxPIvbXeESgQTkXiM+lzns=", "narHash": "sha256-2EvrOYQCB2Z2YXhcPnjR67KoOCvwTVW3TfLcmU3//ak=",
"owner": "noahc3", "owner": "noahc3",
"repo": "AffinityPluginLoader", "repo": "AffinityPluginLoader",
"rev": "bd93bbf9f84735d8ba6538596620bbe8d8b90efd", "rev": "1d7956d5b791bd6a213e8b28c1e25e1f4bcc6166",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "noahc3", "owner": "noahc3",
"ref": "v0.3.0",
"repo": "AffinityPluginLoader", "repo": "AffinityPluginLoader",
"rev": "1d7956d5b791bd6a213e8b28c1e25e1f4bcc6166",
"type": "github" "type": "github"
} }
}, },
@ -1718,11 +1718,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1778702406, "lastModified": 1778864385,
"narHash": "sha256-x07kzuFhm6ZiT8j/7S+Kl4bqZOGnRWSM17fGsw6CeWQ=", "narHash": "sha256-HHq7MqV7d2aWXvxffGtb4p5FzyIO1N1bnXjzBcbSZ0s=",
"owner": "temidaradev", "owner": "temidaradev",
"repo": "rusic", "repo": "rusic",
"rev": "0fc5da6a3d2b6d94b06728c08831c88215ff7c9b", "rev": "838d562658272ce96986b175d7f4c4694253c89d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1734,11 +1734,11 @@
"rust-analyzer-src": { "rust-analyzer-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1777924689, "lastModified": 1778611623,
"narHash": "sha256-9Z0puLyCSYvtYhP1IZMxC05DSgwA+5rE99jsv1KErc4=", "narHash": "sha256-oNgaKN3iKM1Cud3bKhEXFHXNRRc+j/JDl05d2jYa2Sg=",
"owner": "rust-lang", "owner": "rust-lang",
"repo": "rust-analyzer", "repo": "rust-analyzer",
"rev": "91c7c2c4ca6a0520cfbf97e369e4fb7bf0b63b7a", "rev": "7c28934677b1e7a1c6ef952422e6ef730540f85f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1952,11 +1952,11 @@
"nixpkgs": "nixpkgs_13" "nixpkgs": "nixpkgs_13"
}, },
"locked": { "locked": {
"lastModified": 1778585655, "lastModified": 1778846616,
"narHash": "sha256-yfxy9aTlIgU2Z36H8cJURgYLgjT4qvFeOzoAC/HXcKM=", "narHash": "sha256-cqNwCnEdzUlUgNk9c3bVkXnEfmhzHvHre2Nr2C0sIfo=",
"owner": "0xc000022070", "owner": "0xc000022070",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "42f41abcef13dc81c85407b57aa1fd1bde46e46c", "rev": "3e3671b5f0e7c60e8f10bdf8667598603203546a",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -26,6 +26,22 @@ let
allowUnfree = true; allowUnfree = true;
}; };
}; };
codexbarWrapped = pkgs.writeShellApplication {
name = "codexbar";
runtimeInputs = [ pkgs.bubblewrap ];
text = ''
exec bwrap \
--die-with-parent \
--bind / / \
--dev-bind /dev /dev \
--proc /proc \
--tmpfs /usr \
--dir /usr/bin \
--ro-bind ${pkgs.which}/bin/which /usr/bin/which \
-- \
${codexbar.packages.${pkgs.system}.default}/bin/codexbar "$@"
'';
};
# system = stdenv.hostPlatform.system; # system = stdenv.hostPlatform.system;
in in
{ {
@ -41,7 +57,8 @@ in
stateVersion = "25.11"; stateVersion = "25.11";
packages = with pkgs; [ packages = with pkgs; [
codexbar.packages.${system}.default codexbarWrapped
codex
jellyfin-desktop jellyfin-desktop
(kdePackages.qt6ct.overrideAttrs (oldAttrs: { (kdePackages.qt6ct.overrideAttrs (oldAttrs: {
patches = (oldAttrs.patches or [ ]) ++ [ ../../pkgs/qt6ct-0.11.patch ]; patches = (oldAttrs.patches or [ ]) ++ [ ../../pkgs/qt6ct-0.11.patch ];