Server/pipebert: Unterschied zwischen den Versionen
Vater (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Vater (Diskussion | Beiträge) (flakes rules!) |
||
Zeile 24: | Zeile 24: | ||
* Account ''k-ot'' hinzugefügt | * Account ''k-ot'' hinzugefügt | ||
nixos-install | : <code>nixos-install</code> | ||
Passwort für root gesetzt | Passwort für root gesetzt | ||
Zeile 36: | Zeile 36: | ||
: <code>nix-locate hwinfo</code> | : <code>nix-locate hwinfo</code> | ||
<!-- | |||
==== [https://nixos.wiki/wiki/Home_Manager home-manager] ==== | ==== [https://nixos.wiki/wiki/Home_Manager home-manager] ==== | ||
Zeile 68: | Zeile 69: | ||
: <code>home-manager switch</code> | : <code>home-manager switch</code> | ||
--> | |||
=== Konfiguration === | === Konfiguration === | ||
Zeile 73: | Zeile 75: | ||
[[gitea:C3D2/nix-config/src/branch/master/hosts/pulsebert]] | [[gitea:C3D2/nix-config/src/branch/master/hosts/pulsebert]] | ||
==== Verwaltung der Konfiguration ==== | |||
[[gitea:C3D2/nix-config#flakes]] | |||
<!-- | |||
==== Systemweite Konfiguration ==== | ==== Systemweite Konfiguration ==== | ||
Zeile 88: | Zeile 95: | ||
: <code>home-manager switch</code> | : <code>home-manager switch</code> | ||
--> | |||
== Betrieb == | == Betrieb == | ||
=== Installieren eines weiteren Paketes === | |||
: am Beispiel vom notwendigen ''ddate'' | |||
<pre>[k-ot@pulsebert:~]$ </pre> | |||
: <code>ddate</code> | |||
<pre> | |||
ddate: command not found | |||
</pre> | |||
---- | |||
<pre>[k-ot@pulsebert:~]$ </pre> | |||
: <code>[https://www.mankier.com/1/nix-shell#--packages nix-shell -p] [https://search.nixos.org/packages?query=ddate ddate]</code> | |||
---- | |||
<pre>[nix-shell:~]$ </pre> | |||
: <code>[[man:ddate | ddate]]</code> | |||
<pre> | |||
Today is Pungenday, the 10th day of Discord in the YOLD 3187 | |||
</pre> | |||
---- | |||
<pre>[nix-shell:~]$ </pre> | |||
: <code>exit</code> | |||
<pre> | |||
exit | |||
</pre> | |||
---- | |||
<pre>[k-ot@pulsebert:~]$ </pre> | |||
: <code>ddate</code> | |||
<pre> | |||
ddate: command not found | |||
</pre> | |||
=== Abspielen von einem Stream für Audio === | === Abspielen von einem Stream für Audio === |
Version vom 24. März 2021, 21:53 Uhr
Host
Betriebssystem
Installation
standardmäßige Partitionierung gemäß https://nixos.org/nixos/manual/index.html#sec-installation-partitioning-UEFI
sda1 1 GB (statt 512 MB) für boot
kein swap
standardmäßiges Formatieren gemäß https://nixos.org/nixos/manual/index.html#sec-installation-partitioning-formatting
https://nixos.org/nixos/manual/index.html#sec-installation-installing
erstellte /mnt/etc/nixos/hardware-configuration.nix kontrolliert
erstellte /mnt/etc/nixos/configuration.nix geringfügig angepasst
- Account k-ot hinzugefügt
nixos-install
Passwort für root gesetzt
Einrichtung
Erstellen von einem Index für nix-locate
Anzeigen von …
nix-locate hwinfo
Konfiguration
gitea:C3D2/nix-config/src/branch/master/hosts/pulsebert
Verwaltung der Konfiguration
Betrieb
Installieren eines weiteren Paketes
- am Beispiel vom notwendigen ddate
[k-ot@pulsebert:~]$
ddate
ddate: command not found
[k-ot@pulsebert:~]$
[nix-shell:~]$
Today is Pungenday, the 10th day of Discord in the YOLD 3187
[nix-shell:~]$
exit
exit
[k-ot@pulsebert:~]$
ddate
ddate: command not found
Abspielen von einem Stream für Audio
- aka "Radio (als Klangtapete) aus dem Internet im Space hören"
Erstellen einer Umgebung im #Betreibssystem (NixOS) mit dem Paket mpv
Abspielen von einem Stream (nur Ton, also ohne Video) am Beispiel DEF CON Radio von SomaFM mit dem Programm mpv
mpv --vid=no https://somafm.com/defcon256.pls
Siehe auch
- (Ersatz) Server/cibert (ehemals Server/cider)
- (Ersatz) Server/lisbeth (als Ersatz von Server/cibert)
- Server/glotzbert (Gerät am TV)
foo im HQ
Server/pipebert ist Teil vom HQ. Mit der hier verwendeten Vorlage:foo im HQ sollst du eine Übersicht über andere wichtige Gegenstände im HQ bekommen.