Compare commits

..

6 Commits

Author SHA1 Message Date
Sandro - a7c8396393
audio-server: fix pipewire extraConfig 2024-05-25 03:06:12 +02:00
Sandro - 180dc53f69
audio-server: fix ledfx with headless 2024-05-25 02:42:22 +02:00
Sandro - 8479d347f8
gitea: don't generate avatars all the time 2024-05-25 02:42:12 +02:00
Sandro - 0660d2c658
flake.lock: Update
Flake lock file updates:

• Updated input 'nixos':
    'git+file:///home/sandro/src/nixpkgs?ref=refs/heads/nixos-24.05&rev=53804b7167b145631898ad2e3210fcf11a3394af' (2024-05-24)
  → 'github:SuperSandro2000/nixpkgs/df1b8c7a39bd3856cfe6e6373f1a651d084e430c' (2024-05-25)
2024-05-25 02:42:01 +02:00
Sandro - a7ef8ad8e7
flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-modules':
    'github:SuperSandro2000/nixos-modules/683b0fd959c6595317a98c9f080c4e93b4882605' (2024-05-16)
  → 'github:SuperSandro2000/nixos-modules/946efb7a5e60fc51d7d543d5510ee2a1a6280f61' (2024-05-24)
2024-05-25 01:18:10 +02:00
Sandro - b7cfb55d7a
flake.lock: Update
Flake lock file updates:

• Updated input 'buzzrelay':
    'github:astro/buzzrelay/dd1d6444815be52508a1ca515585b9ed165ee563' (2024-05-24)
  → 'github:astro/buzzrelay/064f50a859b334d9f0a5d8d4dfee87fc94528ace' (2024-05-24)
• Updated input 'caveman':
    'git+https://gitea.c3d2.de/astro/caveman.git?ref=main&rev=2c65d61dd645a899af2fb8c89bac374edea23e09' (2024-05-24)
  → 'git+https://gitea.c3d2.de/astro/caveman.git?ref=main&rev=331529047deec9fec0ffef05ce4260e6d8baa7c3' (2024-05-24)
• Updated input 'nixos':
    'github:SuperSandro2000/nixpkgs/dcd0a3f6933823034d58d4e9158b5ee1b5a12bbb' (2024-05-24)
  → 'github:SuperSandro2000/nixpkgs/ae7021673c35fec8b9e4868fd21d3e3e2bdffb0c' (2024-05-24)
• Updated input 'openwrt-imagebuilder':
    'github:astro/nix-openwrt-imagebuilder/77ceed66ea245834c3fd337f02936b8ef1f68f49' (2024-05-23)
  → 'github:astro/nix-openwrt-imagebuilder/9c20653726ce58916ad06aae2657b1adca950925' (2024-05-24)
• Updated input 'scrapers':
    'git+https://gitea.c3d2.de/c3d2/scrapers.git?ref=refs/heads/master&rev=4bdef3adf8ca8beefc2ebf6a838bb351bf8ca113' (2024-04-15)
  → 'git+https://gitea.c3d2.de/c3d2/scrapers.git?ref=refs/heads/master&rev=b1c90547d231938bc58f4955fbeeb272e9421779' (2024-05-24)
• Updated input 'ticker':
    'git+https://gitea.c3d2.de/astro/ticker.git?ref=refs/heads/master&rev=f76b7bc517ffd068972b3660daa67b1f6b22c4cb' (2024-03-27)
  → 'git+https://gitea.c3d2.de/astro/ticker.git?ref=refs/heads/master&rev=d82e0df37c7d9da3870131a8bfe470db731f29a6' (2024-05-24)
• Updated input 'zentralwerk':
    'git+https://gitea.c3d2.de/zentralwerk/network.git?ref=refs/heads/master&rev=fc805e6f9fed27a522904cca55c80ee25c3d1382' (2024-05-19)
  → 'git+https://gitea.c3d2.de/zentralwerk/network.git?ref=refs/heads/master&rev=5c802d51bbea3ea62ebf9f07b57c24c477a25a91' (2024-05-24)
2024-05-25 01:17:48 +02:00
3 changed files with 18 additions and 12 deletions

View File

@ -432,11 +432,11 @@
},
"nixos": {
"locked": {
"lastModified": 1716590556,
"narHash": "sha256-e4vaLRzZK7BvU+60kmy4Eg5yVABGHE99GjkUghWu3pA=",
"lastModified": 1716597331,
"narHash": "sha256-WwwdxO2Jlni3QktWoeLWk0zzszPu3VchU6pCF/HhIPA=",
"owner": "SuperSandro2000",
"repo": "nixpkgs",
"rev": "0af8c16a7154e0fde1d228f78e68cb179cd378cd",
"rev": "df1b8c7a39bd3856cfe6e6373f1a651d084e430c",
"type": "github"
},
"original": {
@ -471,11 +471,11 @@
]
},
"locked": {
"lastModified": 1715849326,
"narHash": "sha256-jsngEk+qI/gd2WeinTmeztYQWZjWBGfQrsHbJaNOYtc=",
"lastModified": 1716592654,
"narHash": "sha256-xxBP4LzBJeaY4FrZSxvm2r3czpiOMCRgdeO/7/OLVGM=",
"owner": "SuperSandro2000",
"repo": "nixos-modules",
"rev": "683b0fd959c6595317a98c9f080c4e93b4882605",
"rev": "946efb7a5e60fc51d7d543d5510ee2a1a6280f61",
"type": "github"
},
"original": {

View File

@ -47,7 +47,6 @@
settings = {
# we use drone for internal tasks and don't want people to execute code on our infrastructure
actions.ENABLED = true;
"cron.delete_generated_repository_avatars".ENABLED = true;
"cron.repo_health_check".TIMEOUT = "300s";
database.LOG_SQL = false;
# enable if it is actually useful

View File

@ -67,7 +67,14 @@ in
};
nixpkgs.overlays = [
(final: prev: {
(final: prev: (lib.optionalAttrs config.environment.noXlibs {
ledfx = prev.ledfx.overrideAttrs ({ postPatch ? "", ...}: {
postPatch = postPatch + ''
substituteInPlace pyproject.toml \
--replace-fail 'pystray = ">=0.19.5"' ""
'';
});
} // {
python3 = prev.python3.override {
packageOverrides = python-final: python-prev:
(lib.optionalAttrs config.environment.noXlibs {
@ -81,7 +88,7 @@ in
});
};
python3Packages = final.python3.pkgs;
})
}))
];
security = {
@ -130,8 +137,8 @@ in
# errors such as:
# mod.zeroconf-publish: error id:47 seq:349 res:-2 (No such file or directory): enum params id:16 (Spa:Enum:ParamId:ProcessLatency) failed
# are harmless and can be ignored. You most likely want to restart your local avahi-daemon: sudo systemctl restart avahi-daemon
extraConfig.pipewire = {
"audio-server.conf" = {
extraConfig = {
pipewire."audio-server" = {
"context.modules" = [ {
# https://wiki.archlinux.org/title/PulseAudio/Examples#PulseAudio_over_network
name = "libpipewire-module-rtp-sap";
@ -141,7 +148,7 @@ in
};
} ];
};
"audio-server.conf" = {
pipewire-pulse."audio-server" = {
"context.exec" = [ {
path = "${pkgs.pulseaudio}/bin/pactl";
args = "load-module module-zeroconf-publish";