| 1 Jun 2025 |
maralorn | In reply to @hexa:lossy.network https://github.com/nilla-nix/nilla Ist es gut? | 09:50:36 |
| 3 Jun 2025 |
maralorn | Ich bin mal wieder in die Falle gelaufen, dass sudo nix-collect-garbage -d nicht alte generations von usern aufräumt. | 21:20:40 |
maralorn | Weiß jemand mit welchem nix Befehl man sich verfügbare profile/generations (e.g. system, home-manager) von nix auflisten lassen kann? | 21:21:46 |
maralorn | nixos-rebuild list-generations tut. | 21:22:03 |
maralorn | Aber das ist ja auf das system profil limitiert. | 21:22:24 |
maralorn | nix-env --list-generations hingegen ist empty. | 21:22:39 |
Atemu | nix-env hat ein -p flag | 21:23:04 |
Atemu | Das lässt du auf ein beliebiges profile zeigen | 21:23:26 |
maralorn | aaah, man dankt. | 21:23:39 |
Atemu | e.g. /nix/var/nix/profiles/per-user/... | 21:23:48 |
maralorn | Wie löscht man wohl ein leeres Profil? | 21:29:44 |
Atemu | rm? | 21:30:00 |
maralorn | Ja, das geht. | 21:30:11 |
maralorn | Nicht sicher, ob es so gedacht ist. 😄 | 21:30:17 |
Atemu | ^^' | 21:30:21 |
Atemu | Ich kenne keinen anderen Weg | 21:30:39 |
Atemu | Und Profile sind halt einfach nur ein (unwritten) standard dir layout | 21:31:16 |
maralorn | Okay, kommen wir nun zu meiner eigentlich Frage: Gibt es ein Flag für nix-collect-garbage -d welches alle Profile aufräumt? 😄 | 21:31:51 |
maralorn | Alles ridiculous | 21:37:43 |
Atemu | Rewrite it in ~rust~haskell? | 21:38:38 |
Atemu | * Rewrite it in rusthaskell? | 21:38:48 |
Atemu | :p | 21:38:59 |
Ben Sparks | RIIB | 21:39:01 |
Ben Sparks | * RIIB (Rewrite It In Bash) | 21:39:09 |
Atemu | NO | 21:39:17 |
maralorn | Ne, was mich gerade noch abfucked, ist dass ich ja eigentlich die blutige Kante mag und deswegen mal geguckt habe ob es nicht auch mit nix profile geht. | 21:39:23 |
maralorn | Aber a) finde ich bei nix profile kein äquivalent zu nix-env --set und b) hat nix-env --delete-generations einfach viel mehr nützlich optionen als nix profile wipe-history. | 21:40:17 |
maralorn | Atemu: Du musst es ja nicht selber machen, das macht einfach ChatGPT für Dich, dann ist die Sprache auch egal. 😇 | 21:41:15 |
Ben Sparks | In reply to@atemu12:matrix.org NO watch this shellcheck > clippy, therefore bash > rust | 21:41:31 |
Ben Sparks | watch this 👀 shellcheck > clippy, therefore bash > rust | 21:42:22 |