treefmt-check
checks.x86_64-linux.formatting
· build #59
· raw
1treefmt v2.6.0traversed 1627 files2emitted 876 files for processing3formatted 876 files (41 changed) in 1.319s4 M by-name/ko/kodi-tetos/package.nix5 M by-name/ze/zeal-teto/package.nix6 M config/bash/flyline.sh7 M config/nvim/after/ftplugin/Avante.lua8 M config/nvim/after/ftplugin/RikaiPopup.lua9 M config/nvim/lua/init-manual.lua10 M config/nvim/lua/plugins/kitty-scrollback.lua11 M hm/modules/audiocast.nix12 M hm/modules/kitty.nix13 M hm/modules/package-sets.nix14 M hm/profiles/teto-desktop/default.nix15 M hm/profiles/teto-desktop/programs/codex.nix16 M hm/profiles/teto-desktop/programs/firefox.nix17 M hm/profiles/teto-desktop/programs/jujutsu.nix18 M hm/profiles/teto-desktop/programs/rofi.nix19 M hm/profiles/teto-desktop/xdg/default.nix20 M hosts/jedha/default.nix21 M hosts/jedha/home-manager/users/teto/default.nix22 M hosts/jedha/home-manager/users/teto/programs/mcp.nix23 M hosts/jedha/services/avahi.nix24 M hosts/jedha/services/minidlna.nix25 M hosts/jedha/services/opentelemetry-collector.nix26 M hosts/jedha/services/upmpdcli.nix27 M hosts/jedha/systemd.nix28 M hosts/router/services/home-assistant.nix29 M hosts/tatooine/default.nix30 M hosts/tatooine/home-manager/users/teto/programs/mpv.nix31 M hosts/tatooine/services/adguardhome.nix32 M hosts/tatooine/services/avahi.nix33 M hosts/tatooine/services/mediatomb.nix34 M hosts/tatooine/services/minidlna.nix35 M hosts/tatooine/services/pulseaudio.nix36 M hosts/tatooine/tetos.nix37 M justfile38 M nixos/modules/minidlna.nix39 M nixos/modules/upnp.nix40 M nixos/profiles/adguardhome.nix41 M nixos/profiles/avahi.nix42 M nixos/profiles/desktop/default.nix43 M nixos/profiles/desktop/programs/flyline.nix44 M nixos/profiles/desktop/users/default.nix45diff --git a/by-name/ko/kodi-tetos/package.nix b/by-name/ko/kodi-tetos/package.nix46index a4a9a74..4adedee 10064447--- a/by-name/ko/kodi-tetos/package.nix48+++ b/by-name/ko/kodi-tetos/package.nix49@@ -1,11 +1,13 @@50 { kodi, makeWrapper }:51 52 let53- kodiWithPackages = kodi.withPackages (p: with p; [54- jellyfin55- # pvr-iptvsimple56- vfs-sftp57- ]);58+ kodiWithPackages = kodi.withPackages (59+ p: with p; [60+ jellyfin61+ # pvr-iptvsimple62+ vfs-sftp63+ ]64+ );65 in66 kodiWithPackages.overrideAttrs (oldAttrs: {67 nativeBuildInputs = (oldAttrs.nativeBuildInputs or [ ]) ++ [ makeWrapper ];68diff --git a/by-name/ze/zeal-teto/package.nix b/by-name/ze/zeal-teto/package.nix69index 9442d75..a9d8692 10064470--- a/by-name/ze/zeal-teto/package.nix71+++ b/by-name/ze/zeal-teto/package.nix72@@ -1,10 +1,9 @@73 { zeal }:74 zeal.overrideAttrs (oa: {75 76- # export QMLSCENE_DEVICE=software77- postInstall = ''78- wrapProgram $out/bin/zeal --set-default QMLSCENE_DEVICE software79- '';80-81- })82+ # export QMLSCENE_DEVICE=software83+ postInstall = ''84+ wrapProgram $out/bin/zeal --set-default QMLSCENE_DEVICE software85+ '';86 87+})88diff --git a/config/bash/flyline.sh b/config/bash/flyline.sh89index c2b1a84..6b647be 10064490--- a/config/bash/flyline.sh91+++ b/config/bash/flyline.sh92@@ -10,12 +10,11 @@ flyline history --backend flyline93 # it flickers94 # flyline set-cursor --backend flyline --style "#33ccff" --effect fade --effect-easing in-out-sine --interpolate-easing out-elastic --interpolate 295 96-# Codex: change 97+# Codex: change98 flyline set-agent-mode \99- --system-prompt "Be concise. Answer with a JSON array of at most 3 items with objects containing: command and description. Command will be a Bash command. " \100- --trigger-prefix ': ' \101- --command 'codex -a never exec -m GPT-5.1-Codex-Mini --skip-git-repo-check --ephemeral --color always'102-103+ --system-prompt "Be concise. Answer with a JSON array of at most 3 items with objects containing: command and description. Command will be a Bash command. " \104+ --trigger-prefix ': ' \105+ --command 'codex -a never exec -m GPT-5.1-Codex-Mini --skip-git-repo-check --ephemeral --color always'106 107 # Antigravity:108 # flyline set-agent-mode \109@@ -26,7 +25,6 @@ flyline set-agent-mode \110 flyline create-prompt-widget mouse-mode --name MOUSE_MODE "${ANSI_GREEN}M" "${ANSI_BRIGHT_RED}X"111 flyline create-prompt-widget last-command-duration --name FLYLINE_LAST_COMMAND_DUR112 113-114 # precmd_functions+=(set_ps1)115 # Now you can use this animation in your prompt. For example:116 PS1='\u@\h:\w MOUSE_MODE \n$ '117@@ -51,7 +49,6 @@ PROMPT_RULER_FINAL=''118 119 # flyline create-prompt-widget animation --name "MY_ANIMATION" --fps 10 ⣾ ⣷ ⣯ ⣟ ⡿ ⢿ ⣻ ⣽120 121-122 # Experiment with higher frame rates for smooth transitions:123 # flyline create-prompt-widget animation --name "john" --fps 24 \124 # '\e[38;2;255;0;0m\u' \125@@ -117,4 +114,4 @@ PROMPT_RULER_FINAL=''126 # '\e[38;2;255;0;63m\u' \127 # '\e[38;2;255;0;47m\u' \128 # '\e[38;2;255;0;31m\u' \129-# '\e[38;2;255;0;15m\u' 130+# '\e[38;2;255;0;15m\u'131diff --git a/config/nvim/after/ftplugin/Avante.lua b/config/nvim/after/ftplugin/Avante.lua132index 85acdb0..9d9296e 100644133--- a/config/nvim/after/ftplugin/Avante.lua134+++ b/config/nvim/after/ftplugin/Avante.lua135@@ -14,7 +14,6 @@ vim.opt.showbreak = ''136 -- - update_content137 -- - on_state_change138 139-140 -- local sidebar = require('avante').get()141 142 -- vim.api.nvim_create_autocmd('WinEnter', {143@@ -29,8 +28,8 @@ vim.opt.showbreak = ''144 -- vim.wo.cursorline = false145 vim.wo.foldcolumn = '3' -- auto146 -- |fold-expr| expr 'foldexpr' gives the fold level of a line.147--- could work well, react onto 148-vim.wo.foldmethod = "expr"149+-- could work well, react onto150+vim.wo.foldmethod = 'expr'151 vim.opt.foldexpr = 'v:lua.vim.treesitter.foldexpr()'152 153 -- E5113: Lua chunk: [string "vim/_core/options"]:167: Invalid 'foldcolumn': expected a valid type, got Integer154diff --git a/config/nvim/after/ftplugin/RikaiPopup.lua b/config/nvim/after/ftplugin/RikaiPopup.lua155index b321120..bc9e2c6 100644156--- a/config/nvim/after/ftplugin/RikaiPopup.lua157+++ b/config/nvim/after/ftplugin/RikaiPopup.lua158@@ -3,10 +3,9 @@159 vim.keymap.set('n', '<localleader>s', function()160 -- kokoro --text "GMOインターネットグループは、会社のサーバーへ不正アクセスがあったと言っています。外国の通貨を、自動で売ったり買ったりするサービスです." -o file.wav --debug --language j --voice jf_alpha161 162- vim.fn.jobstart({ 163- 'mpv', '--no-video', vim.fn.expand('~/home/data/audio/notif1.wav') }, { detach = true })164-165+ vim.fn.jobstart({166+ 'mpv',167+ '--no-video',168+ vim.fn.expand('~/home/data/audio/notif1.wav'),169+ }, { detach = true })170 end, { buffer = true, desc = 'Play sound' })171-172-173-174diff --git a/config/nvim/lua/init-manual.lua b/config/nvim/lua/init-manual.lua175index cc3dfce..da96811 100644176--- a/config/nvim/lua/init-manual.lua177+++ b/config/nvim/lua/init-manual.lua178@@ -948,8 +948,8 @@ end, { desc = 'Go to file, create if missing' })179 -- Outside of the fork it kills the plugin so careful180 -- normally overriden by setup call181 vim.g.avante = {182- -- -- print error messages, set to false to avoid issues with inspect_ai183- debug = false, 184+ -- -- print error messages, set to false to avoid issues with inspect_ai185+ debug = false,186 -- log_level =187 log_level = vim.log.levels.DEBUG,188 189@@ -1353,8 +1353,8 @@ vim.api.nvim_create_autocmd({ 'User' }, {190 vim.notify('avante: LLM answered')191 -- Leave the event callback before closing all windows, including modified buffers.192 -- vim.schedule(function()193- -- config/nvim/lua/init-manual.lua:p:hconfig/nvim/lua/init-manual.lua194- --195+ -- config/nvim/lua/init-manual.lua:p:hconfig/nvim/lua/init-manual.lua196+ --197 -- vim.cmd('qall!')198 -- end)199 end,200@@ -1371,22 +1371,17 @@ vim.api.nvim_create_autocmd({ 'User' }, {201 --202 -- ╰─203 204-205-vim.api.nvim_create_autocmd(206- 'PackChanged',207- {208+vim.api.nvim_create_autocmd('PackChanged', {209 callback = function(ev)210- local name, kind = ev.data.spec.name, ev.data.kind211- print("package name ", name)212- vim.print("spec ", ev.data.spec)213- -- vim.print("version ", ev.data.spec.version)214-215- -- print("package kind ", kind)216- -- if name == 'avante.nvim' and (kind == 'install' or kind == 'update') then217- -- -- Call `:AvanteBuild` to download prebuilt libraries218- -- vim.system({ 'make' }, { cwd = ev.data.path }):wait()219- -- end220- end221- }222-)223-224+ local name, kind = ev.data.spec.name, ev.data.kind225+ print('package name ', name)226+ vim.print('spec ', ev.data.spec)227+ -- vim.print("version ", ev.data.spec.version)228+229+ -- print("package kind ", kind)230+ -- if name == 'avante.nvim' and (kind == 'install' or kind == 'update') then231+ -- -- Call `:AvanteBuild` to download prebuilt libraries232+ -- vim.system({ 'make' }, { cwd = ev.data.path }):wait()233+ -- end234+ end,235+})236diff --git a/config/nvim/lua/plugins/kitty-scrollback.lua b/config/nvim/lua/plugins/kitty-scrollback.lua237index ffcb08a..8b60a67 100644238--- a/config/nvim/lua/plugins/kitty-scrollback.lua239+++ b/config/nvim/lua/plugins/kitty-scrollback.lua240@@ -2,43 +2,43 @@241 -- if you want to create autocommands242 243 --244- -- myconfig = {245- -- kitty_get_text = {246- -- ansi = false,247- -- },248- -- },249- -- myfnconfig = function(kitty_data)250- -- return {251- -- kitty_get_text = {252- -- extent = (kitty_data.scrolled_by > kitty_data.lines) and 'all' or 'screen',253- -- },254- -- }255- -- end,256+-- myconfig = {257+-- kitty_get_text = {258+-- ansi = false,259+-- },260+-- },261+-- myfnconfig = function(kitty_data)262+-- return {263+-- kitty_get_text = {264+-- extent = (kitty_data.scrolled_by > kitty_data.lines) and 'all' or 'screen',265+-- },266+-- }267+-- end,268 require('kitty-scrollback').setup(269 -- global configuration270 {271- kitty_get_text = {272- -- boolean If true, the text will include the ANSI formatting escape codes for colors,273- ansi = true,274- extent = 'all',275- },276- -- scrollback_columns = 300,277- -- boolean? if true, writes the scrollback buffer to a temporary file (used for external278- scrollback_tempfile = false,279- keymaps_enabled = false,280- close_after_yank = true,281- status_window = {282+ kitty_get_text = {283+ -- boolean If true, the text will include the ANSI formatting escape codes for colors,284+ ansi = true,285+ extent = 'all',286+ },287+ -- scrollback_columns = 300,288+ -- boolean? if true, writes the scrollback buffer to a temporary file (used for external289+ scrollback_tempfile = false,290+ keymaps_enabled = false,291+ close_after_yank = true,292+ status_window = {293 294- style_simple = true, -- user may not have Nerd Fonts installed295- show_timer = true,296+ style_simple = true, -- user may not have Nerd Fonts installed297+ show_timer = true,298 299- autoclose = true,300- },301- paste_window = {302- -- yank_register = '',303- -- boolean? If true, the yank_register copies content to the paste window. If false, d304- -- -- isable yank to paste window305- -- yank_register_enabled = false,306- }307+ autoclose = true,308+ },309+ paste_window = {310+ -- yank_register = '',311+ -- boolean? If true, the yank_register copies content to the paste window. If false, d312+ -- -- isable yank to paste window313+ -- yank_register_enabled = false,314+ },315 }316 )317diff --git a/hm/modules/audiocast.nix b/hm/modules/audiocast.nix318index e95570a..ae177f7 100644319--- a/hm/modules/audiocast.nix320+++ b/hm/modules/audiocast.nix321@@ -1,7 +1,13 @@322-{ config, lib, pkgs, ... }:323+{324+ config,325+ lib,326+ pkgs,327+ ...328+}:329 let330- cfg = config.services.audiocast;331-in {332+ cfg = config.services.audiocast;333+in334+{335 options = {336 services.audiocast = {337 enable = lib.mkEnableOption "audiocast-stream";338@@ -16,44 +22,43 @@ in {339 };340 config = lib.mkIf cfg.enable {341 342-343- # Renderer friendlyName to discover over SSDP344- # Hard-coded AVTransport control URL (skips SSDP discovery)345- # else we give url346- # ❯ yamaha discover347- # name host model udn348- # Espace Musical 192.168.1.164 R-N800A uuid:9ab0c000-f668-11de-9976-54b7bd990c6e349- # port 8082 Local HTTP port for the stream350- xdg.configFile."audiocast/config" = {351- enable = false;352- text = ''353- [audiocast]354- name = Espace Musical355- # url (unset) Hard-coded AVTransport control URL (skips SSDP discovery)356- mode = app357- sink = audiocast358- sink_description = AudioCast (DLNA)359- '';360-};361-362- systemd.user.services.audiocast-stream = {363- Unit = {364- Description = "Stream PipeWire audio to a DLNA renderer";365- After = [366- "pipewire.service"367- "pipewire-pulse.service"368- ];369- Wants = [ "pipewire-pulse.service" ];370+ # Renderer friendlyName to discover over SSDP371+ # Hard-coded AVTransport control URL (skips SSDP discovery)372+ # else we give url373+ # ❯ yamaha discover374+ # name host model udn375+ # Espace Musical 192.168.1.164 R-N800A uuid:9ab0c000-f668-11de-9976-54b7bd990c6e376+ # port 8082 Local HTTP port for the stream377+ xdg.configFile."audiocast/config" = {378+ enable = false;379+ text = ''380+ [audiocast]381+ name = Espace Musical382+ # url (unset) Hard-coded AVTransport control URL (skips SSDP discovery)383+ mode = app384+ sink = audiocast385+ sink_description = AudioCast (DLNA)386+ '';387 };388- Service = {389- ExecStart = "${pkgs.audiocast-stream}/bin/audiocast-stream";390- Restart = "on-failure";391- # The renderer may be asleep or temporarily off the network. The392- # program exits when discovery fails, so retry without a tight loop.393- RestartSec = 30;394+395+ systemd.user.services.audiocast-stream = {396+ Unit = {397+ Description = "Stream PipeWire audio to a DLNA renderer";398+ After = [399+ "pipewire.service"400+ "pipewire-pulse.service"401+ ];402+ Wants = [ "pipewire-pulse.service" ];403+ };404+ Service = {405+ ExecStart = "${pkgs.audiocast-stream}/bin/audiocast-stream";406+ Restart = "on-failure";407+ # The renderer may be asleep or temporarily off the network. The408+ # program exits when discovery fails, so retry without a tight loop.409+ RestartSec = 30;410+ };411+ Install.WantedBy = [ "default.target" ];412 };413- Install.WantedBy = [ "default.target" ];414- };415 };416 417 }418diff --git a/hm/modules/kitty.nix b/hm/modules/kitty.nix419index b6d495f..e7da295 100644420--- a/hm/modules/kitty.nix421+++ b/hm/modules/kitty.nix422@@ -54,7 +54,7 @@ in423 map kitty_mod+h kitty_scrollback_nvim ./tmp424 # Browse output of the last shell command in nvim425 map kitty_mod+g kitty_scrollback_nvim --config ksb_builtin_last_cmd_output426- '';427+ '';428 429 #430 # # Browse output of the last shell command in nvim431diff --git a/hm/modules/package-sets.nix b/hm/modules/package-sets.nix432index c64c1af..0de9f69 100644433--- a/hm/modules/package-sets.nix434+++ b/hm/modules/package-sets.nix435@@ -62,7 +62,6 @@ in436 437 };438 439-440 # this gets merged by default441 config = lib.mkMerge [442 {443@@ -115,7 +114,6 @@ in444 pkgs.blazingjj445 flakeSelf.inputs.jj-gh.packages.${system}.default446 447-448 # pkgs.gg-jj449 # pkgs.lazyjj450 # pkgs.jj-fzf451@@ -419,7 +417,6 @@ in452 lurk # a rust strace453 lsof # to see open files454 455-456 # flakeSelf.inputs.starship-jj.packages.${system}.default # custom.jj for starship457 libossp_uuid # for the 'libuuid' executable458 459@@ -490,7 +487,6 @@ in460 461 # rainfrog # database exploration462 463-464 process-compose # docker-compose - like465 # rpl # to replace strings across files466 repgrep # replace matches found by rg467@@ -502,7 +498,7 @@ in468 tmux # when connecting via ssh469 trurl # used to parse url in the firefox-router executable470 universal-ctags # there are many different ctags, be careful !471- uv # to install python packages472+ uv # to install python packages473 unar # used to view archives by yazi (now using ouch ?)474 vifm475 viu # a console image viewer476@@ -698,7 +694,7 @@ in477 pkgs.tsukumi478 ];479 })480- (mkIf cfg.jellyfin {481+ (mkIf cfg.jellyfin {482 483 home.packages = [484 485@@ -709,13 +705,12 @@ in486 # pkgs.feishin # GUI487 # pkgs.jellycli # could not login :/488 489-490 # VIDEO compatible491 # - Jellyfin MPV Shim492 pkgs.tsukimi # gtk+rust music player GUI493 pkgs.jellyfin-desktop494 pkgs.jellyfin-mpv-shim495- # jellyhaj # not upstreamed yet 496+ # jellyhaj # not upstreamed yet497 # fladder # nice GUI498 # jftui too minimalistic499 # pkgs.jellyflix # nice500diff --git a/hm/profiles/teto-desktop/default.nix b/hm/profiles/teto-desktop/default.nix501index 19d355a..840e346 100644502--- a/hm/profiles/teto-desktop/default.nix503+++ b/hm/profiles/teto-desktop/default.nix504@@ -112,7 +112,7 @@ in505 506 home.packages =507 with pkgs;508- let 509+ let510 lux-cli-teto = flakeSelf.inputs.lux.packages.${pkgs.stdenv.hostPlatform.system}.lux-cli;511 512 # lux-cli-teto = lux-cli;513@@ -123,7 +123,7 @@ in514 in515 516 [517- kodi-teto 518+ kodi-teto519 codex # openai agent520 codex-acp # originated from zed-industries, used in avante521 522@@ -187,8 +187,7 @@ in523 # kaggle # kaggle interface524 # python3Packages.kaggle525 526-527- sonic-pi # for live music coding528+ sonic-pi # for live music coding529 stow530 systemctl-tui531 timr-tui # rust clock532@@ -266,7 +265,7 @@ in533 TETOS_BUILDER_NEOTOKYO = builder_neotokyo;534 TETOS_BUILDER_JEDHA = builder_jedha;535 TETOS_BUILDER_NIXCOMMUNITY = builder_nixcommunity;536- inherit (secrets) 537+ inherit (secrets)538 TAVILY_API_KEY539 FIRECRAWL_API_KEY540 CONFIDENT_AI_API_KEY541diff --git a/hm/profiles/teto-desktop/programs/codex.nix b/hm/profiles/teto-desktop/programs/codex.nix542index e282359..ea63df4 100644543--- a/hm/profiles/teto-desktop/programs/codex.nix544+++ b/hm/profiles/teto-desktop/programs/codex.nix545@@ -1,6 +1,5 @@546 {547 548-549 enable = true;550 enableMcpIntegration = true;551 # CODEX_HOME/AGENTS.md.552diff --git a/hm/profiles/teto-desktop/programs/firefox.nix b/hm/profiles/teto-desktop/programs/firefox.nix553index 9b41b6c..aabc790 100644554--- a/hm/profiles/teto-desktop/programs/firefox.nix555+++ b/hm/profiles/teto-desktop/programs/firefox.nix556@@ -95,19 +95,18 @@ in557 # extraConfig =558 id = 0;559 560- userChrome =561- ''562- /* Hide tab bar in FF Quantum */563- @-moz-document url(chrome://browser/content/browser.xul), url(chrome://browser/content/browser.xhtml) {564- #TabsToolbar {565- visibility: collapse !important;566- margin-bottom: 21px !important;567- }568-569- }570- '';571-572- # userContent = 573+ userChrome = ''574+ /* Hide tab bar in FF Quantum */575+ @-moz-document url(chrome://browser/content/browser.xul), url(chrome://browser/content/browser.xhtml) {576+ #TabsToolbar {577+ visibility: collapse !important;578+ margin-bottom: 21px !important;579+ }580+581+ }582+ '';583+584+ # userContent =585 # ''586 # /* Hide scrollbar in FF Quantum */587 # *{scrollbar-width:none !important}588diff --git a/hm/profiles/teto-desktop/programs/jujutsu.nix b/hm/profiles/teto-desktop/programs/jujutsu.nix589index aacec43..9037ef9 100644590--- a/hm/profiles/teto-desktop/programs/jujutsu.nix591+++ b/hm/profiles/teto-desktop/programs/jujutsu.nix592@@ -34,9 +34,12 @@593 name = "teto";594 };595 ui = {596- # jj splits puts the cursor in a f**** position, we need $line to restore 597+ # jj splits puts the cursor in a f**** position, we need $line to restore598 # sane behavior https://github.com/jj-vcs/jj/pull/10269/changes599- editor = ["nvim" "+$line"];600+ editor = [601+ "nvim"602+ "+$line"603+ ];604 default-command = "status";605 merge-editor = "nvim";606 # Enable pagination for commands that support it (default)607diff --git a/hm/profiles/teto-desktop/programs/rofi.nix b/hm/profiles/teto-desktop/programs/rofi.nix608index be52e45..f9d09d8 100644609--- a/hm/profiles/teto-desktop/programs/rofi.nix610+++ b/hm/profiles/teto-desktop/programs/rofi.nix611@@ -37,8 +37,8 @@612 613 location = "center";614 modes = [615- # modes: [ combi ];616- # combi-modes: [ window, drun, run ];617+ # modes: [ combi ];618+ # combi-modes: [ window, drun, run ];619 620 ];621 622diff --git a/hm/profiles/teto-desktop/xdg/default.nix b/hm/profiles/teto-desktop/xdg/default.nix623index 0dad1af..11dd2ad 100644624--- a/hm/profiles/teto-desktop/xdg/default.nix625+++ b/hm/profiles/teto-desktop/xdg/default.nix626@@ -101,12 +101,12 @@627 "bash/bashrc".text = ''628 script_dir="$(cd -- "$(dirname -- "''${BASH_SOURCE[0]}")" && pwd)"629 source "$script_dir/manual.sh"630- ''631- # check if flyline defined too ?632- + lib.optionalString osConfig.programs.flyline.enable '' 633- source "$script_dir/flyline.sh"634+ ''635+ # check if flyline defined too ?636+ + lib.optionalString osConfig.programs.flyline.enable ''637+ source "$script_dir/flyline.sh"638 639- '';640+ '';641 642 "nvim/lua/generated-by-nix.lua" =643 let644diff --git a/hosts/jedha/default.nix b/hosts/jedha/default.nix645index 77dae93..78c87ca 100644646--- a/hosts/jedha/default.nix647+++ b/hosts/jedha/default.nix648@@ -91,12 +91,20 @@ in649 # Upmpdcli's local-library server needs both discovery and HTTP access.650 networking.firewall = lib.mkIf config.services.upmpdcli.enable {651 allowedUDPPorts = [ 1900 ];652- allowedTCPPorts = with config.services.upmpdcli.configuration; [ upnpport uprclport ];653+ allowedTCPPorts = with config.services.upmpdcli.configuration; [654+ upnpport655+ uprclport656+ ];657 };658 659 systemd.services.upmpdcli = lib.mkIf config.services.upmpdcli.enable {660 # The library plugin launches recollindex; OpenHome uses Python and OpenSSL.661- path = [ pkgs.recoll pkgs.python3 pkgs.openssl pkgs.diffutils ];662+ path = [663+ pkgs.recoll664+ pkgs.python3665+ pkgs.openssl666+ pkgs.diffutils667+ ];668 unitConfig.RequiresMountsFor = [ config.services.upmpdcli.configuration.uprclmediadirs ];669 };670 671diff --git a/hosts/jedha/home-manager/users/teto/default.nix b/hosts/jedha/home-manager/users/teto/default.nix672index 45588a8..3b7bfef 100644673--- a/hosts/jedha/home-manager/users/teto/default.nix674+++ b/hosts/jedha/home-manager/users/teto/default.nix675@@ -104,7 +104,6 @@ in676 btop-cuda # for jedha677 brush # a rust implementation of bash678 679-680 # creates conflicts since it brings python and several executables681 # flakeSelf.inputs.avante-nvim.packages.${pkgs.stdenv.hostPlatform.system}.ragService682 683@@ -147,9 +146,9 @@ in684 # bridge-utils# pour brctl685 # vscode-css-languageserver # to showcase 'cssls' lsp server686 687- rura # to build shell pipelines688- termusic # terminal music689- 690+ rura # to build shell pipelines691+ termusic # terminal music692+693 ];694 695 package-sets = {696diff --git a/hosts/jedha/home-manager/users/teto/programs/mcp.nix b/hosts/jedha/home-manager/users/teto/programs/mcp.nix697index 3378a39..9ce7079 100644698--- a/hosts/jedha/home-manager/users/teto/programs/mcp.nix699+++ b/hosts/jedha/home-manager/users/teto/programs/mcp.nix700@@ -1,36 +1,34 @@701 { pkgs, lib, ... }:702 {703 704-705 enable = true;706 707 # github:utensils/mcp-nixos708- servers = 709- {710-711- nixos = {712- command = "${pkgs.mcp-nixos}/bin/mcp-nixos";713- };714-715- # https://github.com/homeassistant-ai/ha-mcp716- ha-mcp = {717-718- command = "${lib.getExe pkgs.ha-mcp}";719-720- };721-722- # everything = {723- # command = "npx";724- # args = [ "-y" "@modelcontextprotocol/server-everything" ];725- # };726- # context7 = {727- # url = "https://mcp.context7.com/mcp";728- # headers.CONTEXT7_API_KEY = "{env:CONTEXT7_API_KEY}";729- # };730- # codeberg = {731- # command = "/path/to/forgejo-mcp";732- # args = [ "transport" "stdio" "--url" "https://codeberg.org" ];733- # env.FORGEJO_ACCESS_TOKEN.file = "/run/secrets/codeberg_token";734- # };735- };736+ servers = {737+738+ nixos = {739+ command = "${pkgs.mcp-nixos}/bin/mcp-nixos";740+ };741+742+ # https://github.com/homeassistant-ai/ha-mcp743+ ha-mcp = {744+745+ command = "${lib.getExe pkgs.ha-mcp}";746+747+ };748+749+ # everything = {750+ # command = "npx";751+ # args = [ "-y" "@modelcontextprotocol/server-everything" ];752+ # };753+ # context7 = {754+ # url = "https://mcp.context7.com/mcp";755+ # headers.CONTEXT7_API_KEY = "{env:CONTEXT7_API_KEY}";756+ # };757+ # codeberg = {758+ # command = "/path/to/forgejo-mcp";759+ # args = [ "transport" "stdio" "--url" "https://codeberg.org" ];760+ # env.FORGEJO_ACCESS_TOKEN.file = "/run/secrets/codeberg_token";761+ # };762+ };763 }764diff --git a/hosts/jedha/services/avahi.nix b/hosts/jedha/services/avahi.nix765index 083732e..09017c2 100644766--- a/hosts/jedha/services/avahi.nix767+++ b/hosts/jedha/services/avahi.nix768@@ -13,7 +13,6 @@769 770 debug = true;771 772-773 # allowInterfaces = [774 # "wlp10s0"775 # ];776@@ -30,13 +29,12 @@777 };778 779 publish = {780- disable-publishing = false;781- disable-user-service-publishing = false;782- publish-addresses = true;783- };784-785+ disable-publishing = false;786+ disable-user-service-publishing = false;787+ publish-addresses = true;788 };789 790+ };791 792 nssmdns4 = true;793 # publish = {794diff --git a/hosts/jedha/services/minidlna.nix b/hosts/jedha/services/minidlna.nix795index 0ea64f9..9b1b770 100644796--- a/hosts/jedha/services/minidlna.nix797+++ b/hosts/jedha/services/minidlna.nix798@@ -7,7 +7,6 @@799 # announceInterval = 60;800 openFirewall = true;801 802-803 # there are udp errors when it binds to wireguard network ?804 805 settings = {806@@ -16,9 +15,9 @@807 friendly_name = "jedha";808 # inotify = "yes";809 log_level = "warn";810- media_dir = [ 811+ media_dir = [812 # can be prefixed with V/A, to filter audio/video813- "/mnt/ext/music" 814+ "/mnt/ext/music"815 ];816 inotify = "yes";817 # db_dir =818diff --git a/hosts/jedha/services/opentelemetry-collector.nix b/hosts/jedha/services/opentelemetry-collector.nix819index 28cc3b4..1d1609c 100644820--- a/hosts/jedha/services/opentelemetry-collector.nix821+++ b/hosts/jedha/services/opentelemetry-collector.nix822@@ -1,23 +1,22 @@823 {824 825-826 enable = true;827 828 settings =829-let830- port = 4318;831-in832+ let833+ port = 4318;834+ in835 {836- exporters.debug.verbosity = "detailed";837- receivers.otlp.protocols = {838- http.endpoint = "0.0.0.0:${toString port}";839- };840- service = {841- pipelines.logs = {842- receivers = [ "otlp" ];843- exporters = [ "debug" ];844- };845- };846+ exporters.debug.verbosity = "detailed";847+ receivers.otlp.protocols = {848+ http.endpoint = "0.0.0.0:${toString port}";849+ };850+ service = {851+ pipelines.logs = {852+ receivers = [ "otlp" ];853+ exporters = [ "debug" ];854+ };855+ };856 857- };858+ };859 }860diff --git a/hosts/jedha/services/upmpdcli.nix b/hosts/jedha/services/upmpdcli.nix861index ef04f30..390f091 100644862--- a/hosts/jedha/services/upmpdcli.nix863+++ b/hosts/jedha/services/upmpdcli.nix864@@ -1,12 +1,12 @@865 /*866-upmpdcli is a bridge: it receives UPnP commands and controls an MPD server. The UPnP player itself doesn’t play the song; MPD fetches and plays it. So when you choose a track in rmpd, it 867- should change playback if rmpd and upmpdcli are controlling the same MPD instance868- 869- • MPD browsing UPnP servers: MPD has a built-in UPnP/DLNA database plugin (available in MPD 0.19+ configured with --enable-upnp) that lets MPD act as a client to browse and stream music from UPnP media servers. You browse the server's folder and directory trees using a standard MPD client, though direct tag-based queries (like artist/album/genre database searches) and saving playlists directly can have limitations.870-• Using MPD as a UPnP Renderer (upmpdcli): If you want to send music from an external UPnP control point (such as BubbleUPnP on your phone) to MPD, you use a front-end like upmpdcli. In this setup, the control point talks UPnP to upmpdcli, which translates the commands into the MPD protocol to populate and control the local MPD playlist.871+ upmpdcli is a bridge: it receives UPnP commands and controls an MPD server. The UPnP player itself doesn’t play the song; MPD fetches and plays it. So when you choose a track in rmpd, it872+ should change playback if rmpd and upmpdcli are controlling the same MPD instance873 874-mpd now has a plugin that can play music from upnp server 875-https://www.lesbonscomptes.com/pages/mpd-upnp.html#_introduction876+ • MPD browsing UPnP servers: MPD has a built-in UPnP/DLNA database plugin (available in MPD 0.19+ configured with --enable-upnp) that lets MPD act as a client to browse and stream music from UPnP media servers. You browse the server's folder and directory trees using a standard MPD client, though direct tag-based queries (like artist/album/genre database searches) and saving playlists directly can have limitations.877+ • Using MPD as a UPnP Renderer (upmpdcli): If you want to send music from an external UPnP control point (such as BubbleUPnP on your phone) to MPD, you use a front-end like upmpdcli. In this setup, the control point talks UPnP to upmpdcli, which translates the commands into the MPD protocol to populate and control the local MPD playlist.878+879+ mpd now has a plugin that can play music from upnp server880+ https://www.lesbonscomptes.com/pages/mpd-upnp.html#_introduction881 */882 883 { pkgs, lib, ... }:884@@ -44,7 +44,7 @@ in885 mpdport = 6600;886 # try to see if I can control it myself887 ownqueue = 0;888- # seems to be a weird protocol that lets programs such as bubbleupnp or linn kazoo 889+ # seems to be a weird protocol that lets programs such as bubbleupnp or linn kazoo890 # control the playlist. The client can disconnect after playlist was created891 openhome = 0;892 upnpav = 1;893diff --git a/hosts/jedha/systemd.nix b/hosts/jedha/systemd.nix894index 59d7129..e0cab47 100644895--- a/hosts/jedha/systemd.nix896+++ b/hosts/jedha/systemd.nix897@@ -34,61 +34,60 @@ in898 })899 # disabled because ha-mcp broken900 (lib.mkIf false {901- ha-mcp = {902- description = "Home Assistant MCP server";903- wantedBy = [ "multi-user.target" ];904- wants = [ "network-online.target" ];905- after = [ "network-online.target" ];906- environment = {907- HOMEASSISTANT_URL = "http://${hassHost}:${toString hassPort}";908- HOME = "/var/lib/ha-mcp";909- MCP_HOST = "127.0.0.1";910- MCP_PORT = "8086";911- };912- serviceConfig = {913- ExecStart = lib.getExe' pkgs.ha-mcp "ha-mcp-web";914- # Root-owned file containing HOMEASSISTANT_TOKEN=<long-lived access token>.915- EnvironmentFile = "/var/lib/ha-mcp/environment";916- DynamicUser = true;917- StateDirectory = "ha-mcp";918- WorkingDirectory = "/var/lib/ha-mcp";919- Restart = "on-failure";920- RestartSec = 5;921- UMask = "0077";922- };923+ ha-mcp = {924+ description = "Home Assistant MCP server";925+ wantedBy = [ "multi-user.target" ];926+ wants = [ "network-online.target" ];927+ after = [ "network-online.target" ];928+ environment = {929+ HOMEASSISTANT_URL = "http://${hassHost}:${toString hassPort}";930+ HOME = "/var/lib/ha-mcp";931+ MCP_HOST = "127.0.0.1";932+ MCP_PORT = "8086";933 };934+ serviceConfig = {935+ ExecStart = lib.getExe' pkgs.ha-mcp "ha-mcp-web";936+ # Root-owned file containing HOMEASSISTANT_TOKEN=<long-lived access token>.937+ EnvironmentFile = "/var/lib/ha-mcp/environment";938+ DynamicUser = true;939+ StateDirectory = "ha-mcp";940+ WorkingDirectory = "/var/lib/ha-mcp";941+ Restart = "on-failure";942+ RestartSec = 5;943+ UMask = "0077";944+ };945+ };946 947- # copied from https://github.com/NixOS/nixpkgs/pull/544252948- # lib.recursiveUpdate slib.systemd.serviceDefaults {949- speech-to-phrase = {950- # after = [ "home-assistant.service" ];951- script = lib.concatStringsSep " " [952- (lib.getExe pkgs.speech-to-phrase)953- "--models-dir"954- "\"$STATE_DIRECTORY/models\""955- "--train-dir"956- "\"$STATE_DIRECTORY/train\""957- # "--custom-sentences-dir" ""958- "--uri 'tcp://127.0.0.1:10400'"959- "--hass-websocket-uri"960- "ws://${hassHost}:${toString hassPort}/api/websocket"961- "--retrain-on-start"962- "--retrain-on-connect"963- "--retrain-seconds"964- "300"965- ];966- serviceConfig = {967- #968- # EnvironmentFile = config.sops.templates."speech-to-phrase/environment".path;969- Group = "speech-to-phrase";970- StateDirectory = "speech-to-phrase";971- User = "speech-to-phrase";972- # TODO: hardening973- };974+ # copied from https://github.com/NixOS/nixpkgs/pull/544252975+ # lib.recursiveUpdate slib.systemd.serviceDefaults {976+ speech-to-phrase = {977+ # after = [ "home-assistant.service" ];978+ script = lib.concatStringsSep " " [979+ (lib.getExe pkgs.speech-to-phrase)980+ "--models-dir"981+ "\"$STATE_DIRECTORY/models\""982+ "--train-dir"983+ "\"$STATE_DIRECTORY/train\""984+ # "--custom-sentences-dir" ""985+ "--uri 'tcp://127.0.0.1:10400'"986+ "--hass-websocket-uri"987+ "ws://${hassHost}:${toString hassPort}/api/websocket"988+ "--retrain-on-start"989+ "--retrain-on-connect"990+ "--retrain-seconds"991+ "300"992+ ];993+ serviceConfig = {994+ #995+ # EnvironmentFile = config.sops.templates."speech-to-phrase/environment".path;996+ Group = "speech-to-phrase";997+ StateDirectory = "speech-to-phrase";998+ User = "speech-to-phrase";999+ # TODO: hardening1000 };1001+ };1002 1003- }1004- )1005+ })1006 ];1007 1008 # just to test1009diff --git a/hosts/router/services/home-assistant.nix b/hosts/router/services/home-assistant.nix1010index f752c99..13ca2c7 1006441011--- a/hosts/router/services/home-assistant.nix1012+++ b/hosts/router/services/home-assistant.nix1013@@ -32,7 +32,7 @@ in1014 ];1015 1016 customLovelaceModules = with pkgs.home-assistant-custom-lovelace-modules; [1017-# pkgs/servers/home-assistant/custom-lovelace-modules/easy-floorplan/package.nix1018+ # pkgs/servers/home-assistant/custom-lovelace-modules/easy-floorplan/package.nix1019 easy-floorplan1020 button-card1021 card-mod1022@@ -65,8 +65,6 @@ in1023 material-you-theme1024 ];1025 1026-1027-1028 blueprints = {1029 automation = [1030 # ATTENTION: The name should contain the extension .yaml1031diff --git a/hosts/tatooine/default.nix b/hosts/tatooine/default.nix1032index 8cbae35..3c41972 1006441033--- a/hosts/tatooine/default.nix1034+++ b/hosts/tatooine/default.nix1035@@ -132,7 +132,6 @@ in1036 enableRedistributableFirmware = true;1037 sane.enable = true;1038 1039-1040 # High quality BT calls1041 # https://nixos.wiki/wiki/Bluetooth1042 bluetooth = {1043diff --git a/hosts/tatooine/home-manager/users/teto/programs/mpv.nix b/hosts/tatooine/home-manager/users/teto/programs/mpv.nix1044index 9cffa18..950508f 1006441045--- a/hosts/tatooine/home-manager/users/teto/programs/mpv.nix1046+++ b/hosts/tatooine/home-manager/users/teto/programs/mpv.nix1047@@ -1,9 +1,9 @@1048-{ pkgs, ...}:1049+{ pkgs, ... }:1050 {1051 1052- scripts = [1053- # as python1054- pkgs.mpvDLNA1055- ];1056+ scripts = [1057+ # as python1058+ pkgs.mpvDLNA1059+ ];1060 1061 }1062diff --git a/hosts/tatooine/services/adguardhome.nix b/hosts/tatooine/services/adguardhome.nix1063index adc82dd..1724c86 1006441064--- a/hosts/tatooine/services/adguardhome.nix1065+++ b/hosts/tatooine/services/adguardhome.nix1066@@ -10,7 +10,7 @@1067 settings = {1068 1069 # http (since v0.107.36): Web interface configuration.1070- # address: Web interface IP address with port to listen on 1071+ # address: Web interface IP address with port to listen on1072 http.address = "127.0.0.1:8084";1073 1074 };1075diff --git a/hosts/tatooine/services/avahi.nix b/hosts/tatooine/services/avahi.nix1076index dd02f3f..f14c221 1006441077--- a/hosts/tatooine/services/avahi.nix1078+++ b/hosts/tatooine/services/avahi.nix1079@@ -21,19 +21,19 @@1080 1081 settings = {1082 publish = {1083- publish-domain = true;1084- disable-publishing = false;1085- disable-user-service-publishing = false;1086- publish-addresses = true;1087- };1088+ publish-domain = true;1089+ disable-publishing = false;1090+ disable-user-service-publishing = false;1091+ publish-addresses = true;1092+ };1093 1094 server = {1095 use-ipv6 = false; # bug with multiple hostnames1096- # # Set the host name avahi-daemon tries to register on the LAN. If omited defaults to the system host name as set with the sethostname() system call.1097- # # secrets.jedha.hostname;1098- # # host-name = "jedha";1099- # # enable-dbus = true;1100- #1101+ # # Set the host name avahi-daemon tries to register on the LAN. If omited defaults to the system host name as set with the sethostname() system call.1102+ # # secrets.jedha.hostname;1103+ # # host-name = "jedha";1104+ # # enable-dbus = true;1105+ #1106 };1107 };1108 1109diff --git a/hosts/tatooine/services/mediatomb.nix b/hosts/tatooine/services/mediatomb.nix1110index eeaac6c..6c8f6bb 1006441111--- a/hosts/tatooine/services/mediatomb.nix1112+++ b/hosts/tatooine/services/mediatomb.nix1113@@ -6,7 +6,7 @@1114 1115 # to avoid having to rewire the permissions1116 group = "minidlna";1117- interface="wlp2s0";1118+ interface = "wlp2s0";1119 transcoding = true;1120 transcodingMimeMappings = [1121 ''<transcode mimetype="video/x-flv" using="freebox-h264" />''1122@@ -42,19 +42,18 @@1123 1124 # 49152 already used by mdp1125 port = 49153;1126- mediaDirectories= [1127- {1128- hidden-files = false;1129- path = "/home/teto/videos";1130- recursive = true;1131- }1132- {1133- hidden-files = false;1134- path = "/home/teto/Music";1135- recursive = true;1136- }1137-1138- ];1139+ mediaDirectories = [1140+ {1141+ hidden-files = false;1142+ path = "/home/teto/videos";1143+ recursive = true;1144+ }1145+ {1146+ hidden-files = false;1147+ path = "/home/teto/Music";1148+ recursive = true;1149+ }1150 1151+ ];1152 1153 }1154diff --git a/hosts/tatooine/services/minidlna.nix b/hosts/tatooine/services/minidlna.nix1155index 5a3e20e..e9c8039 1006441156--- a/hosts/tatooine/services/minidlna.nix1157+++ b/hosts/tatooine/services/minidlna.nix1158@@ -13,7 +13,6 @@1159 # to receive sssdp answers1160 openFirewall = true;1161 1162-1163 # there are udp errors when it binds to wireguard network ?1164 1165 settings = {1166@@ -22,7 +21,7 @@1167 friendly_name = "tatooine";1168 # inotify = "yes";1169 log_level = "warn";1170- media_dir = [ 1171+ media_dir = [1172 # can be prefixed with V/A, to filter audio/video1173 "/home/teto/videos"1174 "/home/teto/Music"1175@@ -30,11 +29,9 @@1176 1177 # Network interface to bind (optional; self-discovers if commented out)1178 # to avoid erros on wireguard if1179- network_interface="wlp2s0"; 1180+ network_interface = "wlp2s0";1181 # to remove warnings1182 inotify = "no";1183 # db_dir =1184 };1185 }1186-1187-1188diff --git a/hosts/tatooine/services/pulseaudio.nix b/hosts/tatooine/services/pulseaudio.nix1189index 0c082b6..58d9c85 1006441190--- a/hosts/tatooine/services/pulseaudio.nix1191+++ b/hosts/tatooine/services/pulseaudio.nix1192@@ -1,9 +1,8 @@1193 { pkgs, ... }:1194- # cant be enabled with pipewire1195- {1196- # Using PipeWire as the sound server conflicts with PulseAudio. This option requires `services.pulseaudio.enable` to be set to false1197- enable = false;1198- # for ad2p profle ?1199- package = pkgs.pulseaudioFull;1200- }1201-1202+# cant be enabled with pipewire1203+{1204+ # Using PipeWire as the sound server conflicts with PulseAudio. This option requires `services.pulseaudio.enable` to be set to false1205+ enable = false;1206+ # for ad2p profle ?1207+ package = pkgs.pulseaudioFull;1208+}1209diff --git a/hosts/tatooine/tetos.nix b/hosts/tatooine/tetos.nix1210index e158259..4b6709c 1006441211--- a/hosts/tatooine/tetos.nix1212+++ b/hosts/tatooine/tetos.nix1213@@ -9,7 +9,8 @@1214 {1215 allowUpnp = true;1216 1217-} // lib.optionalAttrs withSecrets {1218+}1219+// lib.optionalAttrs withSecrets {1220 wireguard = {1221 id = 2;1222 publicKey = "HPrWcZUuJMsxc+qDrN08IC9GJoy/c1UofmvmTC/bm3U=";1223@@ -19,4 +20,4 @@1224 flakeSelf.nixosConfigurations.neotokyo1225 ];1226 };1227-} 1228+}1229diff --git a/justfile b/justfile1230index b0840de..a898c42 1006441231--- a/justfile1232+++ b/justfile1233@@ -65,12 +65,12 @@ bootstrap-vps target:1234 --debug1235 1236 bump-meli:1237- nix-update -F --version=branch=master meli-teto1238+ nix-update -F --version=branch=master meli-teto1239 1240 # urn:schemas-upnp-org:device:MediaRenderer:11241 discover-upnp-renderers:1242- gssdp-discover --timeout=5 \1243- --target=urn:schemas-upnp-org:device:MediaRenderer:11244+ gssdp-discover --timeout=5 \1245+ --target=urn:schemas-upnp-org:device:MediaRenderer:11246 1247 # just to save the command1248 1249@@ -326,7 +326,6 @@ inspect-current-generation:1250 flash-ulanzi-tc001:1251 esptool --chip esp32 --port /dev/ttyUSB0 --baud 460800 write-flash 0x0 usb-awtrix-ng-4mb.bin1252 1253-1254 # check dlna servers on the network1255 scan-upnp:1256 nmap --script=broadcast-upnp-info 192.168.0.0/161257diff --git a/nixos/modules/minidlna.nix b/nixos/modules/minidlna.nix1258index c73a06e..5448ba8 1006441259--- a/nixos/modules/minidlna.nix1260+++ b/nixos/modules/minidlna.nix1261@@ -1,7 +1,8 @@1262 { config, lib, ... }:1263 let1264 cfg = config.services.minidlna;1265- mediaDirs = map (dir:1266+ mediaDirs = map (1267+ dir:1268 let1269 prefix = builtins.match "^[A-Za-z]:(.*)$" dir;1270 in1271diff --git a/nixos/modules/upnp.nix b/nixos/modules/upnp.nix1272index dd25744..86ddd25 1006441273--- a/nixos/modules/upnp.nix1274+++ b/nixos/modules/upnp.nix1275@@ -1,7 +1,8 @@1276 { config, lib, ... }:1277 let1278- cfg = config.programs.upnp;1279-in {1280+ cfg = config.programs.upnp;1281+in1282+{1283 options = {1284 programs.upnp = {1285 enable = lib.mkEnableOption "upnp";1286@@ -17,13 +18,12 @@ in {1287 config = lib.mkIf cfg.enable {1288 networking.firewall.allowedUDPPorts = lib.mkIf cfg.openFirewall [ 1900 ];1289 1290- networking.firewall.allowedTCPPorts = lib.mkIf cfg.openFirewall [8200];1291-# # SSDP multicast discovery port (UDP)1292-# sudo ufw allow 1900/udp comment 'DLNA SSDP'1293-#1294-# # MiniDLNA HTTP streaming & web status port (TCP)1295-# sudo ufw allow 8200/tcp comment 'MiniDLNA HTTP'1296+ networking.firewall.allowedTCPPorts = lib.mkIf cfg.openFirewall [ 8200 ];1297+ # # SSDP multicast discovery port (UDP)1298+ # sudo ufw allow 1900/udp comment 'DLNA SSDP'1299+ #1300+ # # MiniDLNA HTTP streaming & web status port (TCP)1301+ # sudo ufw allow 8200/tcp comment 'MiniDLNA HTTP'1302 1303 };1304 }1305-1306diff --git a/nixos/profiles/adguardhome.nix b/nixos/profiles/adguardhome.nix1307index 3820510..e4bca1c 1006441308--- a/nixos/profiles/adguardhome.nix1309+++ b/nixos/profiles/adguardhome.nix1310@@ -9,7 +9,6 @@1311 # mutableSettings = true;1312 # openFirewall = false;1313 1314-1315 # mutableSettings = true;1316 # extraArgs = [];1317 1318diff --git a/nixos/profiles/avahi.nix b/nixos/profiles/avahi.nix1319index 9ceeefc..3835a79 1006441320--- a/nixos/profiles/avahi.nix1321+++ b/nixos/profiles/avahi.nix1322@@ -1,9 +1,6 @@1323 /*1324-1325-guide:1326-avahi-browse-domains 1327-1328-1329+ guide:1330+ avahi-browse-domains1331 */1332 {1333 config,1334@@ -23,7 +20,7 @@ avahi-browse-domains1335 1336 server = {1337 1338- # List of non-local DNS domains to be browsed.1339+ # List of non-local DNS domains to be browsed.1340 browse-domains = [1341 # "0pointer.de"1342 # "zeroconf.org"1343diff --git a/nixos/profiles/desktop/default.nix b/nixos/profiles/desktop/default.nix1344index db4eb98..38e8c16 1006441345--- a/nixos/profiles/desktop/default.nix1346+++ b/nixos/profiles/desktop/default.nix1347@@ -2,7 +2,6 @@1348 {1349 fonts.enableDefaultPackages = true;1350 1351-1352 console = {1353 # seems like a kernel bug resets it https://github.com/NixOS/nixpkgs/issues/4131281354 earlySetup = true;1355diff --git a/nixos/profiles/desktop/programs/flyline.nix b/nixos/profiles/desktop/programs/flyline.nix1356index 3f9282d..9039e39 1006441357--- a/nixos/profiles/desktop/programs/flyline.nix1358+++ b/nixos/profiles/desktop/programs/flyline.nix1359@@ -1,5 +1,5 @@1360 {1361 enable = true;1362- # 1363+ #1364 # package = ;1365 }1366diff --git a/nixos/profiles/desktop/users/default.nix b/nixos/profiles/desktop/users/default.nix1367index daadd3f..d3fc61c 1006441368--- a/nixos/profiles/desktop/users/default.nix1369+++ b/nixos/profiles/desktop/users/default.nix1370@@ -1,3 +1,3 @@1371 {1372- groups.minidlna = {};1373+ groups.minidlna = { };1374 }