!BrOouUOucaGdxbaRca:nixos.org

NixOS Portuguese

350 Members
Sala de Conversação sobre o ecossistema Nix em português. Ponteada com o grupo do Telegram: https://t.me/nixosbrasil/ Link Matrix: https://matrix.to/#/!BrOouUOucaGdxbaRca:nixos.org22 Servers

Load older messages


SenderMessageTime
18 Aug 2025
@telegram_1063077630:t2bot.io● Igor Caféaqui as vezes abro esse menu e crasha do nada:19:33:50
@telegram_1063077630:t2bot.io● Igor Cafépovo q usa KDE, fica crashando ai pra vcs direto tbm?19:33:40
@telegram_1063077630:t2bot.io● Igor CafénixOS19:37:30
@telegram_1063077630:t2bot.io● Igor Caféimage.jpeg
Download image.jpeg
19:33:51
19 Aug 2025
@telegram_5020094156:t2bot.ioт я е и т s - GTI 017 changed their display name from Mister Terrific 🍫🎧👽◢ ◤Ⓐ to т я е и т s 🍫🎧👽◢ ◤Ⓐ.17:23:02
@telegram_5020094156:t2bot.ioт я е и т s - GTI 017 changed their profile picture.17:23:02
20 Aug 2025
@telegram_68827099:t2bot.ioPedroHLC
systemd.proxies.${targetUnitName} = {
  bindTCP = [ "ip:port" ];
  bindUDP = [ "ip:port" ];
  target = "ip:port";
};

e já criava o "systemd.sockets.proxy-${targetUnitName}" e o "sytemd.services.proxy-${targetUnitName}"
00:26:03
@telegram_68827099:t2bot.ioPedroHLC A gente podia ter umas options para isso aqui né?:
https://www.freedesktop.org/software/systemd/man/latest/systemd-socket-proxyd.html
00:24:10
@telegram_68827099:t2bot.ioPedroHLC
  mkSystemdProxy = unitName: port: {
    systemd.sockets."proxy-${unitName}" = {
      wantedBy = [ "sockets.target" ];
      socketConfig = {
        ListenStream = [
          "${vpn.desktop.v4}:${toString port}"
          "${vpn.desktop.v6}:${toString port}"
        ];
        NoDelay = true;
      };
    };

    systemd.services."proxy-${unitName}" = {
      requires = [ "${unitName}.service" "proxy-${unitName}.socket" ];
      after = [ "${unitName}.service" "proxy-${unitName}.socket" ];
      unitConfig.JoinsNamespaceOf = "${unitName}.service";

      serviceConfig = {
        Type = "notify";
        ExecStart = "${pkgs.systemd}/lib/systemd/systemd-socket-proxyd 127.0.0.23:${toString port}";
        PrivateTmp = true;
        PrivateNetwork = true;
      };
    };
  };
00:44:01
@telegram_68827099:t2bot.ioPedroHLC botei um wantedBy = lib.mkForce []; nos services originais e:
  imports =
    [
      (mkSystemdProxy "ollama" vpn.desktop.ollamaPort)
      (mkSystemdProxy "nextjs-ollama-llm-ui" vpn.desktop.nextjsOllamaPort)
      (mkSystemdProxy "llama-cpp" vpn.desktop.llamaCppPort)
    ];
00:45:02
@telegram_68827099:t2bot.ioPedroHLC
╭─pedrohlc at desktop in /etc/nixos
╰─λ sudo systemctl stop ollama.service
╭─pedrohlc at desktop in /etc/nixos
╰─λ ollama ps
NAME    ID    SIZE    PROCESSOR    CONTEXT    UNTIL
╭─pedrohlc at desktop in /etc/nixos
╰─λ systemctl is-active ollama.service
active
00:45:39
@telegram_68827099:t2bot.ioPedroHLCfiz com uma função mesmo00:43:55
@telegram_68827099:t2bot.ioPedroHLCHumm, infelizmente o nextjs-ollama-llm-ui demora de mais para abrir a conexão, o systemd entende que ele ta pronto muito antes, a conexão restarta. Mas o resto funciona bem.01:04:54
@telegram_5981623636:t2bot.iowilliam
In reply to PedroHLC
A gente podia ter umas options para isso aqui né?:
https://www.freedesktop.org/software/systemd/man/latest/systemd-socket-proxyd.html
Eu criei um modulozinho pra mim pra fazer quase isso, fazer os servicos subirem "on demand" e pararem depois de um tempo sem usar

muito bom
02:02:01
21 Aug 2025
@telegram_30130261:t2bot.ioᠨᠣᠮ ‍ᠤᠨ ᠬᠦᠷᠢᠶᠡᠨ changed their profile picture.19:44:41
25 Aug 2025
@telegram_112793910:t2bot.ioHugo Ribeiro https://landscape.nix-community.org/ 19:13:50
26 Aug 2025
@telegram_7547872389:t2bot.ioDeleted Account changed their profile picture.16:47:02
@telegram_68827099:t2bot.ioPedroHLCE ele mandou um "que é algo que não suportamos e que volte e meia dá problema"17:20:11
@telegram_68827099:t2bot.ioPedroHLCTava falando que a Steam no NixOS roda dentro de um bubblewrap quase igual FlatPak17:19:51
@telegram_68827099:t2bot.ioPedroHLC
In reply to Hugo Ribeiro
https://landscape.nix-community.org/
Acho que esse dava para pinnar
17:23:23
@telegram_68827099:t2bot.ioPedroHLC(o assunto original é que eu tava apontando que o launcher da EA falha em abrir seus jogos quando tem uma envvar com mais de 1000 caracteres)17:21:17
@telegram_68827099:t2bot.ioPedroHLCCara da Valve quase me xingou outro dia17:19:14
28 Aug 2025
@telegram_68827099:t2bot.ioPedroHLCQue interessante, depois desse bump de ontem, não cabe mais 1 geração de initrd do meu sistema em 512Mb de EFI17:46:38
@telegram_68827099:t2bot.ioPedroHLC( eu tenho dois initrd por geração )17:49:50
@telegram_68827099:t2bot.ioPedroHLCisso que eu apago os GSPs das GPUs que não são a minha18:16:31
@telegram_11781989:t2bot.ioVictor Matheustalvez se forçar a mão no compressor/nivel de compressão? ou ficou muito maior?18:06:02
@telegram_68827099:t2bot.ioPedroHLCjá tentei, muda 1%18:16:22
@telegram_549944806:t2bot.io@telegram_549944806:t2bot.ioRedacted or Malformed Event18:14:17
@telegram_11781989:t2bot.ioVictor Matheusimage.jpeg
Download image.jpeg
18:15:32
@telegram_1063077630:t2bot.io● Igor Café changed their profile picture.18:19:47

Show newer messages


Back to Room ListRoom Version: 9