!TZxOcMejPbtFPrCZIA:matrix.org

Nix Community Bochum

76 Members
Channel for the Nix Learning Group and other events in Bochum, Germany.27 Servers

Load older messages


SenderMessageTime
2 Jul 2024
@britter:yatrix.orgBenedikt Ritter (britter)
In reply to @msanft:matrix.org
imo geht das ganze immer auch per Nix. Nix kann dir ja beliebige Dateien irgendwo hinschreiben, und Nix-Code kann direkt zu YAML, JSON, XML, INI, ... transformiert werden

Das Kanidm-CLI hält den State ja auch nicht magisch irgendwo vor, sondern schreibt auch nur eine Datei die irgendwo abgelegt wird.
Hab ich in der Doku nicht zu gefunden. Nur, dass eine SQLite DB verwendet wird…
18:19:14
@kaisea74:ruhr-uni-bochum.deaaronKanidm schreibt das halt in eine sql Datenbank18:19:23
@msanft:matrix.orgMoritz SanftOk, das ist tatsächlich ein unglücklicher Fall. :(18:19:45
@britter:yatrix.orgBenedikt Ritter (britter)Finde ich auch.18:19:52
@britter:yatrix.orgBenedikt Ritter (britter)Das sind ja Sachen, die sich gut statisch festlegen lassen. Warum also die Datenbank dazwischen?18:20:14
@msanft:matrix.orgMoritz SanftVielleicht speichern sie dort den anderen State ihrer Anwendung, und wollen nur eine Datei haben.. Aber schon eine komische Designentscheidung18:20:54
@msanft:matrix.orgMoritz SanftKannst dir natürlich ein Skript in Nix hinlegen, mit dem du daas ganze konfigurierst, und das bei jeder Aktivierung deines Systems ausführen18:21:23
@msanft:matrix.orgMoritz SanftAber ist auch nur ein Hack natürlich18:21:29
5 Jul 2024
@kayset9k:ruhr-uni-bochum.deTimonKann mir jemand bei nixos-anywhere helfen? Ich bin stuck bei "Building disko script", wenn nixos-anywahere mit "--build-on-remote" ausführe. Ansonsten bin ich schon bei "Gathering machine facts" stuck .17:53:47
@kayset9k:ruhr-uni-bochum.deTimon Spezifisch bleibt nix copy stecken 17:59:36
@kayset9k:ruhr-uni-bochum.deTimonWeiß jemand, wie ich eine valide UEFI partitionierung mit einer nixos system flake hinbekomme von der ich booten kann?21:06:16
@kayset9k:ruhr-uni-bochum.deTimon* Weiß jemand, wie ich eine valide UEFI partition mit einer nixos system flake hinbekomme von der ich booten kann?21:06:37
@kayset9k:ruhr-uni-bochum.deTimonIch bekomme es nämlich schon die ganze zeit nicht hin nixos zu installieren.21:07:17
@msanft:matrix.orgMoritz Sanfthttps://nixos.wiki/wiki/Creating_a_NixOS_live_CD21:07:34
@kayset9k:ruhr-uni-bochum.deTimonIch kann nicht von einer live iso booten. Ich habe nur ssh zugriff auf den server.21:08:31
@kayset9k:ruhr-uni-bochum.deTimon* Ich kann nicht von einer live iso booten. Ich habe nur ssh zugriff (+rescue os) auf den server.21:08:47
@msanft:matrix.orgMoritz SanftDu kannst kein Bootmedium anhängen?21:09:23
@kayset9k:ruhr-uni-bochum.deTimonIch installiere nixos vom nix kexec enviroment21:09:25
@kayset9k:ruhr-uni-bochum.deTimon
In reply to @msanft:matrix.org
Du kannst kein Bootmedium anhängen?
nope
21:09:32
@msanft:matrix.orgMoritz SanftDann einfach nixos-install21:09:49
@kayset9k:ruhr-uni-bochum.deTimonja, aber das gibt mir keine valide uefi partition21:10:07
@msanft:matrix.orgMoritz SanftWas ist eine valide UEFI Partition?21:10:47
@kayset9k:ruhr-uni-bochum.deTimonEine UEFI partition von der ein system booten kann21:10:59
@kayset9k:ruhr-uni-bochum.deTimonEs wird einfach nichts auf die efi geschrieben21:11:28
@kayset9k:ruhr-uni-bochum.deTimon
[root@nixos-installer:~/flake]# nixos-install --flake .#PixelMain --cores 16 -j 16
building the flake in path:/root/flake?lastModified=1720213658&narHash=sha256-x15%2BOi2qh7IhGBqvlhP0Qk22P7Ls1bQYruFzzhirsTw%3D...
trace: warning: mdadm: Neither MAILADDR nor PROGRAM has been set. This will cause the `mdmon` service to crash.
installing the boot loader...
setting up /etc...
updating GRUB 2 menu...
installing the GRUB 2 boot loader on /dev/nvme2n1...
Installing for i386-pc platform.
/nix/store/bhpghs9kl74zg5pwm184v2rijrbsnh1v-grub-2.12/sbin/grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
/nix/store/bhpghs9kl74zg5pwm184v2rijrbsnh1v-grub-2.12/sbin/grub-install: error: filesystem `btrfs' doesn't support blocklists.
/nix/store/2js95l6lpapk9bkic375ssdby06sxvkr-install-grub.pl: installation of GRUB on /dev/nvme2n1 failed: No such file or directory
setting up /etc...
setting up /etc...
setting root password...
New password: 
Retype new password: 
passwd: password updated successfully
installation finished!

[root@nixos-installer:~/flake]# ls /mnt/boot

[root@nixos-installer:~/flake]# ls /mnt/boot1
21:12:05
@msanft:matrix.orgMoritz SanftUnd unter /Boot liegt nichts?21:12:47
@kayset9k:ruhr-uni-bochum.deTimon /boot existiert nicht. 21:13:05
@msanft:matrix.orgMoritz SanftEr sagt ja vorher, dass die grub Installation failed. Guck mal was unter /boot gemounted ist21:13:25
@kayset9k:ruhr-uni-bochum.deTimon und die mountpoints sollen schon alle unter /mnt liegen 21:13:31
@msanft:matrix.orgMoritz SanftDann halt /mnt/boot21:13:46

Show newer messages


Back to Room ListRoom Version: 10