mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
chore: update persist immich containers, add nix-ld on kroma, disable
STT until jaxlib is fixed
This commit is contained in:
parent
09c4531854
commit
fe75b5b78c
7 changed files with 45 additions and 41 deletions
|
@ -105,5 +105,6 @@
|
|||
}
|
||||
];
|
||||
|
||||
programs.nix-ld.enable = true;
|
||||
topology.self.icon = "devices.desktop";
|
||||
}
|
||||
|
|
|
@ -149,6 +149,13 @@ in {
|
|||
# Forwarding required to masquerade podman network
|
||||
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
|
||||
|
||||
environment.persistence."/state".directories = [
|
||||
{
|
||||
directory = "/var/lib/containers";
|
||||
mode = "0755";
|
||||
}
|
||||
];
|
||||
|
||||
# Mirror the original oauth2 secret
|
||||
age.secrets.immich-oauth2-client-secret = {
|
||||
inherit (nodes.ward-kanidm.config.age.secrets.kanidm-oauth2-immich) rekeyFile;
|
||||
|
|
|
@ -112,7 +112,6 @@
|
|||
};
|
||||
dhcpPrefixDelegationConfig.UplinkInterface = "wan";
|
||||
dhcpPrefixDelegationConfig.Token = "::ff";
|
||||
ipv6SendRAConfig.Managed = true;
|
||||
# Announce a static prefix
|
||||
ipv6Prefixes = [
|
||||
{Prefix = globals.net.home-lan.cidrv6;}
|
||||
|
@ -122,10 +121,12 @@
|
|||
SubnetId = "22";
|
||||
};
|
||||
# Provide a DNS resolver
|
||||
ipv6SendRAConfig = {
|
||||
EmitDNS = true;
|
||||
DNS = globals.net.home-lan.hosts.ward-adguardhome.ipv6;
|
||||
};
|
||||
# ipv6SendRAConfig = {
|
||||
# Managed = true;
|
||||
# EmitDNS = true;
|
||||
# FIXME: this is not the true ipv6 of adguardhome DNS = globals.net.home-lan.hosts.ward-adguardhome.ipv6;
|
||||
# FIXME: todo assign static additional to reservation in kea
|
||||
# };
|
||||
linkConfig.RequiredForOnline = "routable";
|
||||
};
|
||||
# Remaining macvtap interfaces should not be touched.
|
||||
|
|
BIN
pkgs/TransferOrb.png
Normal file
BIN
pkgs/TransferOrb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
|
@ -17,11 +17,6 @@
|
|||
Categories=Game
|
||||
'';
|
||||
file = "Awakened-PoE-Trade-${version}.AppImage";
|
||||
|
||||
icon = pkgs.fetchurl {
|
||||
url = "https://web.poecdn.com/image/Art/2DItems/Currency/TransferOrb.png";
|
||||
hash = "sha256-K6cG5ybC3uIveu/4JIcc5mGQFgDlQSw8L9aSzbkLe1w=";
|
||||
};
|
||||
in
|
||||
pkgs.appimageTools.wrapType2 {
|
||||
name = "awakened-poe-trade";
|
||||
|
@ -32,7 +27,7 @@ in
|
|||
|
||||
extraInstallCommands = ''
|
||||
mkdir -p $out/share/applications
|
||||
cp ${icon} $out/share/applications/awakened-poe-trade.png
|
||||
cp ${./TransferOrb.png} $out/share/applications/awakened-poe-trade.png
|
||||
cp ${desktopEntry} $out/share/applications/${name}.desktop
|
||||
substituteInPlace $out/share/applications/awakened-poe-trade.desktop --replace /share/ $out/share/
|
||||
'';
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"tray"
|
||||
"hyprland/submap"
|
||||
"privacy"
|
||||
"custom/whisper_overlay"
|
||||
#"custom/whisper_overlay"
|
||||
];
|
||||
modules-center = [
|
||||
"hyprland/window"
|
||||
|
@ -90,34 +90,34 @@
|
|||
escape = true;
|
||||
};
|
||||
|
||||
"custom/whisper_overlay" = {
|
||||
tooltip = true;
|
||||
format = "{icon}";
|
||||
format-icons = {
|
||||
disconnected = "<span foreground='gray'></span>";
|
||||
connected = "<span foreground='#4ab0fa'></span>";
|
||||
connected-active = "<span foreground='red'></span>";
|
||||
};
|
||||
return-type = "json";
|
||||
exec = "${lib.getExe pkgs.whisper-overlay} waybar-status";
|
||||
on-click-right = lib.getExe (pkgs.writeShellApplication {
|
||||
name = "toggle-realtime-stt-server";
|
||||
runtimeInputs = [
|
||||
pkgs.systemd
|
||||
pkgs.libnotify
|
||||
];
|
||||
text = ''
|
||||
if systemctl --user is-active --quiet realtime-stt-server; then
|
||||
systemctl --user stop realtime-stt-server.service
|
||||
notify-send "Stopped realtime-stt-server" "⛔ Stopped" --transient || true
|
||||
else
|
||||
systemctl --user start realtime-stt-server.service
|
||||
notify-send "Started realtime-stt-server" "✅ Started" --transient || true
|
||||
fi
|
||||
'';
|
||||
});
|
||||
escape = true;
|
||||
};
|
||||
#"custom/whisper_overlay" = {
|
||||
# tooltip = true;
|
||||
# format = "{icon}";
|
||||
# format-icons = {
|
||||
# disconnected = "<span foreground='gray'></span>";
|
||||
# connected = "<span foreground='#4ab0fa'></span>";
|
||||
# connected-active = "<span foreground='red'></span>";
|
||||
# };
|
||||
# return-type = "json";
|
||||
# exec = "${lib.getExe pkgs.whisper-overlay} waybar-status";
|
||||
# on-click-right = lib.getExe (pkgs.writeShellApplication {
|
||||
# name = "toggle-realtime-stt-server";
|
||||
# runtimeInputs = [
|
||||
# pkgs.systemd
|
||||
# pkgs.libnotify
|
||||
# ];
|
||||
# text = ''
|
||||
# if systemctl --user is-active --quiet realtime-stt-server; then
|
||||
# systemctl --user stop realtime-stt-server.service
|
||||
# notify-send "Stopped realtime-stt-server" "⛔ Stopped" --transient || true
|
||||
# else
|
||||
# systemctl --user start realtime-stt-server.service
|
||||
# notify-send "Started realtime-stt-server" "✅ Started" --transient || true
|
||||
# fi
|
||||
# '';
|
||||
# });
|
||||
# escape = true;
|
||||
#};
|
||||
|
||||
privacy = {
|
||||
icon-spacing = 4;
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
".local/state/realtime-stt-server"
|
||||
];
|
||||
|
||||
services.realtime-stt-server.enable = true;
|
||||
#services.realtime-stt-server.enable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue