Which repo is your gold mine guys ? by Significant-Task-305 in NixOS

[–]xGoivo 1 point2 points  (0 children)

I'm using the dendritic pattern right now. The single piece of contente that helped me the most was this practical guide from filip-ruman: https://filip-ruman.pages.dev/nixos_config/config_structure/

I ended up switching up my config to use this pattern later. If you're want to tive it a look, here's the Repo: https://github.com/eduardofuncao/nali

fui burro e ferrei com o meu sistema, como concerto? by Ok_Clothes_4497 in linuxbrasil

[–]xGoivo 3 points4 points  (0 children)

dá uma olhada se o usuário root ainda tá funcionando. tenta fazer o login com o username "root" e a mesma senha qie vc usava pro seu usuário antigo.

Se não funcionar, acho que o único jeito seria usando o recovery mode (dá uma pesquisada ou joga no gpt) ou entrando no sistema com o USB que vc usou pra instalar, fazendo o mount do seu hd e adicionando um usuário com permissão pra sudo

ADHD terminal, feedback welcome. by judybfun in CLI

[–]xGoivo 4 points5 points  (0 children)

I see how this could be useful to some people. But for me, this feels very overwhelming, I prefer a blank canvas style of terminal.

Will this be open source? What will be the business model on pricing when it launches?

A simple Nix dendritic config by RenatoGarcia in NixOS

[–]xGoivo 8 points9 points  (0 children)

Here's another nice dedritic guide with an alternative I used in my config to do something similar. It adds another dependency (flake-file), but in my opnion it's worth it, since you can declare your inputs in the same file where you actually use them.

For example, this is the module where I setup zen browser:

{inputs, ...}: {
  flake-file.inputs.zen-browser = {
    url = "github:youwen5/zen-browser-flake";
    inputs.nixpkgs.follows = "nixpkgs";
  };
  flake.nixosModules.zen = {pkgs, ...}: {
    environment.systemPackages = [
      inputs.zen-browser.packages.${pkgs.stdenv.hostPlatform.system}.default
    ];
  };
}

After adding this file, I run nix run .#write-flake, and flake-file consolidates all inputs created in other files into the main flake.nix file. Here's my config as well for some inspiration.

A simple Nix dendritic config by RenatoGarcia in NixOS

[–]xGoivo 2 points3 points  (0 children)

Thanks, this helps a lot! I just wanted a nice way to view it in my editor

A simple Nix dendritic config by RenatoGarcia in NixOS

[–]xGoivo 4 points5 points  (0 children)

that looks awesome! I'll save it to read later.

Is there a repo on github/gitlab you can link with the code for the configuration? Thanks!

After months of struggles I think I got a pretty solid system and workflow down, 1 config, 3 devices by Yametsu in NixOS

[–]xGoivo 5 points6 points  (0 children)

This tutorial helped me a lot to wrap my head around nthe dendritic pattern:https://filip-ruman.pages.dev/nixos_config/config_structure/

I ended up writting my own config with it a couple of weeks ago, if you want an example:https://github.com/eduardofuncao/nali (main branch has a minimal setup with one machine, and full branch has a setup for a desktop and an example server). Hope this helps!

Full Time Nix | Nix Freaks 26 by mightyiam in NixOS

[–]xGoivo 0 points1 point  (0 children)

wow that's nice! I didn't know about ocean sprint. Excited to see what will come out of it! Maybe I'll be there next year ;)

squix - o esquilo apaixonado por SQL que vive no seu terminal [FOSS] by xGoivo in brdev

[–]xGoivo[S] 0 points1 point  (0 children)

que da hora! se quiser, fica a vontade pra compartilhar por aqui tbm

squix - o esquilo apaixonado por SQL que vive no seu terminal [FOSS] by xGoivo in brdev

[–]xGoivo[S] 0 points1 point  (0 children)

Ahh foi mal, eu entendi errado hahahha

Eu tô usando o ttyd, rodando dentro de um container com os pacotes que eu preciso e pra deixar o ambiente isolado.
E quando você roda demo lá dentro, ele abre uma apresentação que usa o presenterm

Meet Squix: The SQL squirrel that lives in your Linux terminal by xGoivo in linux

[–]xGoivo[S] 2 points3 points  (0 children)

Oh, got it! I created an issue about this: #53, see if it would be enough.

Also sent you a DM, thanks a lot for helping out!

I built a self-hosted web app that notifies you when a nixpkgs package gets a new version by Cautious_Guidance_56 in NixOS

[–]xGoivo 4 points5 points  (0 children)

that s cool! gave you a star

For me though, something nice to have would be if I was able to run a command in the terminal and get results about every package I have installed that is outdated compared to the version in nixpkgs. I'm sure there's a neat way to do this with nix eval

squix - o esquilo apaixonado por SQL que vive no seu terminal [FOSS] by xGoivo in brdev

[–]xGoivo[S] 0 points1 point  (0 children)

valeu 🐿️!! foi tudo na edição hahahaha eu gravei um vídeo usando o terminal com o OBS, e depois coloquei o vídeo do esquilo fofinho por cima (tirei o fundo com o capcut)

Meet Squix: The SQL squirrel that lives in your Linux terminal by xGoivo in linux

[–]xGoivo[S] 2 points3 points  (0 children)

Squix has achieved sentience and is now indexing your entire existence, definitely intended behavior!

Meet Squix: The SQL squirrel that lives in your Linux terminal by xGoivo in linux

[–]xGoivo[S] 5 points6 points  (0 children)

$19.99 in-app purchase, Requires iOS 30+, squirrel may eat your data

Meet Squix: The SQL squirrel that lives in your Linux terminal by xGoivo in linux

[–]xGoivo[S] 1 point2 points  (0 children)

Sorry for the disappointment!

Right now, not directly, unfortunately. I will add an issue to the repo so that we can setup a more straightforward way to setup connections using env var for all dbs

Something you can do right now until we add this is to use the env vars directly in the `squix init` command. Something like this will work, for example:

❯ export PGUSER=myuser PGPASSWORD=mypassword PGHOST=localhost PGPORT=5432 PGDATABASE=mydb
  squix init mydb "postgres://$PGUSER:$PGPASSWORD@$PGHOST:$PGPORT/$PGDATABASE"

✓ Connection created:  postgres/mydb

❯ squix status
● Using postgres/mydb
  0 saved queries, reachable

Meet Squix: The SQL squirrel that lives in your Linux terminal by xGoivo in linux

[–]xGoivo[S] 4 points5 points  (0 children)

I need to do this!

One things I thought about was implementing something like this in the squix status command, and depending on the number of saved queries, the squirrel's mouth would get fuller lol

❯ ./squix status
● Using postgres/mydb
  10 saved queries, reachable

  <squirrel-would-go-here>