cleanup of assets

This commit is contained in:
Ingolf Wagner 2024-06-07 21:58:33 +02:00
parent 249b9fb4c4
commit c66025b32c
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
20 changed files with 256 additions and 395 deletions

View file

@ -210,7 +210,7 @@
({ config, ... }: { ({ config, ... }: {
users.users.root.openssh.authorizedKeys.keyFiles = [ users.users.root.openssh.authorizedKeys.keyFiles = [
# master key # master key
./nixos/assets/ssh/palo_rsa.pub ./nixos/assets/mrvandalo_rsa.pub
# backup key # backup key
"${config.clanCore.clanDir}/machines/chungus/facts/ssh.syncoid.id_ed25519.pub" "${config.clanCore.clanDir}/machines/chungus/facts/ssh.syncoid.id_ed25519.pub"
"${config.clanCore.clanDir}/machines/chungus/facts/ssh.rbackup.id_ed25519.pub" "${config.clanCore.clanDir}/machines/chungus/facts/ssh.rbackup.id_ed25519.pub"

View file

@ -1,108 +0,0 @@
#!/usr/bin/env bash
set -e
defaultDevice=PCH
start_jack() {
internal_device_number=-1
komplete_device_number=$(aplay -l | grep Vestax | cut -d":" -f1 | cut -d" " -f2)
babyface_device_number=$(aplay -l | grep Babyface | cut -d":" -f1 | cut -d" " -f2)
cmedia_device_number=$(aplay -l | grep C-Media | cut -d":" -f1 | cut -d" " -f2)
h2n_device_number=$(aplay -l | grep H2n | cut -d":" -f1 | cut -d" " -f2)
# this should be more readable some day
if [[ $babyface_device_number == "" ]]; then
if [[ $komplete_device_number == "" ]]; then
if [[ $cmedia_device_number == "" ]]; then
if [[ $h2n_device_number == "" ]]; then
echo "use : default device"
device_number=$internal_device_number
else
echo "use : h2n"
device_number=$h2n_device_number
fi
else
echo "use : c-media"
device_number=$cmedia_device_number
fi
else
echo "use : komplete"
device_number=$komplete_device_number
fi
else
echo "use : babyface"
device_number=$babyface_device_number
fi
# device parameter configuration
# ==============================
#
# to find configuration options do
# jack_control dp
if [[ $device_number -eq -1 ]]; then
# we use alsa in reality, but pulse opens up all the pulse
# sink and source stuff
# jack_control ds pulse # not working for some reason
jack_control ds alsa
jack_control dps device hw:$defaultDevice
else
jack_control ds alsa
jack_control dps device "hw:$device_number" # use usb card
fi
jack_control dps duplex True # record and playback ports
jack_control dps hwmon False # no hardware monitoring
jack_control dps rate 48000 # use cd sample rate
# nperiods are the splitup of the
# sound-ring-buffer. 2 are ok for internal cards
# but for usb you should use 3 because
# you can have to write in junks to the card
# so there is one backup slice in the middle
if [[ $internal_device_number -ne -1 ]]; then
jack_control dps nperiods 3
fi
# engine parameter configuration
# ==============================
#
# to find configuration options do
# jack_control ep
jack_control eps sync True
# realtime kernel
# set True for using a realtime kernel
jack_control eps realtime False
# set priority if realtime kernel is set True
# jack_control eps realtime-priority 10
jack_control start
}
stop_jack() {
jack_control exit
}
status_jack() {
jack_control dp
jack_control ep
jack_control status
}
case $1 in
start)
start_jack
;;
stop)
stop_jack
;;
restart)
stop_jack
start_jack
;;
*)
status_jack
;;
esac

245
nixos/assets/mrvandalo.gpg Normal file
View file

@ -0,0 +1,245 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF2s+AoBEAC7LAJyphLfJrh2A4H+NKWyhzC4CVpGI1q8Ea7JVPZnGZvJ29AX
NZlF/T3fZE+97p0z9lvxef7Ob/rpEIxOs8zg+0o6dqv8t7JMb5xzk8DFUnnFV8Xc
NpobWx/buOEHoMY0N3FaYstlZx2onnP+ga+krNVjRQf9kAmGIs7RHmSGoZiNKBYd
ulv4C6IRgiioQsfDKXV+8/9RZGMypMuY+xSuiM74uh2SZvUdLpUasYYkxgrqJtUl
Z433tV3gL7Bv8tfZzpKNCZT4XwUABk1+j6YiiFPIW7Lo7KYn4jcLWTTZ8xP/KH/n
FrosQhPwTxQts4ZR8JH53Zehe45NWbi99EnSzwG7Wg4jc5J2W3/bzHwdOcETUalx
0H4S77EGvd3RWkNKuu88KhVEXS2fgrG8ktAlafEO4yFyxwH3oeDCjxqIB2b64B9X
+E/W6WpL/p6APqLJ3A2QtyWzxFz1W6+51DVx4eaLKjfW5QEOmSZ1yktjAgH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tG3hgNB1oSbEeOTWcDfRNBtsjEZL3r
p4lWlwSNgm/rLUg5b6jFdilnf10xrOO/lQbc8FgjorlCKGk=
=VuMF
-----END PGP PUBLIC KEY BLOCK-----

View file

@ -1,48 +0,0 @@
#!/usr/bin/env bash
function stop_program() {
echo "stop $1"
sudo systemctl stop "$1"
}
function start_program() {
echo "start $1"
sudo systemctl stop "$1"
}
function start() {
echo "starting programs again"
echo "-----------------------"
echo
start_program backup.on-porani.insecure.timer
start_program backup.on-workhorse.insecure.timer
start_program backup.on-workout.insecure.timer
start_program syncthing.service
start_program tlp.service
start_program tor.service
}
function stop() {
echo "stopping programs"
echo "-----------------"
echo
stop_program backup.on-porani.insecure.timer
stop_program backup.on-workhorse.insecure.timer
stop_program backup.on-workout.insecure.timer
stop_program syncthing.service
stop_program tlp.service
stop_program tor.service
}
# ----
# main
# ----
stop
echo
echo -n "wait to start again -> "
read -r
echo
start

View file

@ -1,89 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFcWQhEBEADwt+hHRZxZx05USejn4x5LVWqqg5I2nIzjwI8pVyBra2AmXaMA
SAImFk1W6oM35rwYmez6TG8QC7RPRUrMHX2aAdDwJ/VtU/b87q0ICwlMxYUnikg1
tsHV4kRB7ukm+Rs0ECMqZzjwdlbiEEfQ6VPUrIBzDHeD0idkC82DonZ6xe083klH
LpO36ckBOtyaoZZspzRu5yB76vsbeviVqsQ9WTQ8GoQk1i6FUbTbtOlvjhtx05Rk
ic66RrfFSM/ElLe5yA96kZd7m/Sn9WIRwRj3clxnT1vAVpMlpISsTutEQtuG3MDX
tT3EPVSSZEEcY1xxlJF+u1JZu4QqqtH+nczjshv+z3HZdmGd7OGqmgI8D3Ly/Ufi
Uyz+ewZbhbgy/XSHqwriUbnMuE9OKxx0LqlQLA59+/icT+upW4TexiHKd6PYeSeJ
kCxUEAmzqxsnilmwbehQrmmhI7uzxT8YxNGjF5mRJ1zOY55praTMKlp3MOxKvVPn
EZSyWm/22CuUZ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m+ZQa5clKlOviA/Z2P
1mzS+WWJesyAZrmEOahRAJ+TUA+oS5ZQusMjqiHil655LxSTFvPltGmEUIe4YaQM
8ic/YGsF1r1mOOTYVpd05kty3yWwOZzOrmbztFVOyxEYH8E4D0ozMGFUBrZLZ3cv
TeAL4tTdNpeQRJrmaF8EwqELlui4gDxhNs7V87cjRp1GFABjFpdtlE3s6n1P2jhv
ULpvkHm8E4AVB+KU4C4lf6VsV4m+de8BpHnLf9GHfs3MmvJQO8dRMxRTG94uE6Gs
CM++iNp3CJaQtqt9cdp1SOnwVuJH7vAEe11vWMr/qZSLr2tQHk3/rDHOxUm+QqTp
o4y6VH0Per2b0MGq3BIqe1JjgaAKBXYbcCaLbJATo3udgFIAyAVmayHx9W6u/zYw
Du91HUdZiZDqWNNakF5BA04i3iARmKrHgm5yTYtT1TlTRDk+FKd/0Uo6QLvHQa1y
qse8kvGypVZN0bCA5YMm+K1jHPPLgZee2LI0p0Dd+ize49IT6W9EwA9TrDyNaXqb
ClAD2SgNhAMi1yskN6C6jQ1lOGVqSIvPkSpt1KVoEPajeLbkR71V/wEIxFtS5IX5
kdlSKp65Lw==
=DWZj
-----END PGP PUBLIC KEY BLOCK-----

View file

@ -1,57 +0,0 @@
#!/usr/bin/env bash
set -e
PROJECTS_FOLDER=~/music-projects/Rendered-Projects
GARBADGE_FOLDER=/share
# file separator (needed to handle files with spaces)
IFS="
"
function info_log(){
echo -n ">>> [ "
echo -n $@
echo " ]"
}
function run_ffmpeg(){
local input=$1
local output=$2
info_log "ffmpeg : ${output}"
ffmpeg \
-i "${input}" \
-f mp3 \
-codec:a libmp3lame \
-qscale:a 5 \
-ar 44100 \
-loglevel error \
-af loudnorm \
"${output}"
}
function delete(){
local input=$1
if [[ -e "${input}" ]]
then
info_log "move : ${input} to ${GARBADGE_FOLDER}"
mv "${input}" "${GARBADGE_FOLDER}/$(basename ${input})"
#info_log "delete : ${input}"
#rm "${input}"
fi
}
for file in `ls ${PROJECTS_FOLDER} | grep wav$`
do
filename=`basename ${file} .wav`
mp3="${filename}.mp3"
info_log ${filename}
delete "${PROJECTS_FOLDER}/${mp3}"
run_ffmpeg "${PROJECTS_FOLDER}/${file}" "${PROJECTS_FOLDER}/${mp3}"
delete "${PROJECTS_FOLDER}/${file}"
done

View file

@ -1,3 +0,0 @@
"Fernsehen ist für mich der Elektro-Jude" - Dr Axel Stoll
"Der Zellkern ist gleich pures Licht" - Dr Axel Stoll
"Die Sonne ist Kalt!" - Dr Axel Stoll

View file

@ -1,18 +0,0 @@
"Also Attracktiv oder net, ich seh hier immer noch am Besten aus" - Reiker
"Hör mal auf dich selber zu bemitleiden, sonst baft das aber echt jetzt! Dummer Lutscher" - Käpten Pika
"Komm Junge is besser du gibs dat jetzt zu, dann haste wenigsten noch ein paar Jahre wat von deinen Zähnen" - Käpten Pika
"Ich sauf doch net mit euch Pennern, echt Ey" - Käpten Pika
"Ja toll dann hab ich ja schon wieder verloren" - Deiter
"Komisch! Mein Vater heißt auch Vater, aber sieht ganz anders aus!" - Reiker
"Sag noch einmal Junge, Junge!" - Käpten Pika
"Häää? Worte, was sind Worte?" - Reiker
"Ich hau dir gleich die Zähne aus deiner fiesen Schnauze!" - Käpten Pika
"Ihr glaubt wohl ich kann keine schlauen Sachen sagen, wa? Schlaue Sachen!!" - Reiker
"Jetzt... also ich raff das jetzt echt net. Ist das so kompliziert?" - Reiker
"Dat is hier die Molekularsymplexion über trivial-komplexive Plasmakonvergenzen, wie? Wat?" - Jordi
"Äh, äh, Junge? Ey, Junge, echt jetz! Weißte?" - Käpten Pika
"Deine Dummheit unterscheidet meinen Datentransfer" - Computer
"Ähh, komisch mein Vadder sieht ganz anders aus, obwohl der auch Vadder heißt." - Reiker
"Aaaaaah, ich kann nimmer" - Reiker
"Also ich hab keine Gummipuppe. Nur Gummibärchen." - Reiker
"Richtig heisser, kochend heisser Kaffee" - Käpten Pika

View file

@ -1 +0,0 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC/WC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xWOvX0wOFOhfSZ2k1WtjTlNtOEhne/V0a3bocel/7JuXBX3RvWAEVl1sWS5R9MG8aDB8S2fx8qZirbg0NZticAxcHtg0RyJRzH6DYrkINE6cUgK7qsrUtaY1W6Qj6Jp33Li8KHY2JElDvJLhAx8v7l6BaZkog/Z0raR8RSRefiDQZJ8qiqPXUJG1pQm4Mp8IGL5PAmi0AZg6QL2pkXC0pyg1xE4TdRjOeuV/vdVDX15xCsgOJjK7PGNoNm2JpYA8vaWMHG8Ujk4UBHolooKeuL3g0CcgzfyRMp/Dxlk1BhgRQ17VxWBDuKt3bWuTJIvmrvDuPB3vd+WYNNqskQ==

View file

@ -1,8 +1,8 @@
{ pkgs, config, lib, ... }: { pkgs, config, lib, assets, ... }:
with lib; with lib;
with types; with types;
let let
defaultRootKeyFiles = [ (toString ../../../assets/ssh/palo_rsa.pub) ]; defaultRootKeyFiles = [ "${assets}/mrvandalo_rsa.pub" ];
cfg = config.components.network.sshd; cfg = config.components.network.sshd;
# maybe ascii-image-converter is also nice here # maybe ascii-image-converter is also nice here

View file

@ -5,7 +5,7 @@
programs.ssh.enable = true; programs.ssh.enable = true;
programs.ssh.matchBlocks = { programs.ssh.matchBlocks = {
"*" = { "*" = {
identityFile = "~/.ssh/palo_rsa.pub"; identityFile = "~/.ssh/mrvandalo_rsa.pub";
identitiesOnly = true; identitiesOnly = true;
}; };
"lassul.us" = { "lassul.us" = {

View file

@ -8,8 +8,6 @@
quota = "300G"; quota = "300G";
allowSubRepos = true; allowSubRepos = true;
authorizedKeys = [ authorizedKeys = [
(lib.fileContents ../../assets/ssh/borg_access.pub)
(lib.fileContents ../../assets/ssh/palo_rsa.pub)
]; ];
}; };
}; };

View file

@ -8,8 +8,6 @@
quota = "300G"; quota = "300G";
allowSubRepos = true; allowSubRepos = true;
authorizedKeys = [ authorizedKeys = [
(lib.fileContents ../../assets/ssh/borg_access.pub)
(lib.fileContents ../../assets/ssh/palo_rsa.pub)
]; ];
}; };
}; };

View file

@ -99,15 +99,6 @@ in
image-height = "200px"; image-height = "200px";
}; };
}; };
"= /palo.pgp" = {
root = pkgs.writeText "key" (lib.fileContents ../../assets/pgp.key);
};
"= /palo.gpg" = {
root = pkgs.writeText "key" (lib.fileContents ../../assets/pgp.key);
};
"= /palo_rsa.pub" = {
root = pkgs.writeText "key" (lib.fileContents ../../assets/ssh/palo_rsa.pub);
};
}; };
}; };

View file

@ -1,44 +0,0 @@
{ lib, config, pkgs, ... }: {
# backup repository
services.borgbackup.repos = {
default = {
quota = "100G";
allowSubRepos = true;
authorizedKeys = [
# todo rename
(lib.fileContents ../../assets/ssh/borg_access.pub)
(lib.fileContents ../../assets/ssh/palo_rsa.pub)
];
};
removable = {
quota = "250G";
allowSubRepos = true;
user = "removable";
path = "/removable/borg";
authorizedKeys = [
# todo rename
(lib.fileContents ../../assets/ssh/borg_access.pub)
(lib.fileContents ../../assets/ssh/palo_rsa.pub)
];
};
};
backup.enable = true;
backup.dirs = [
"/home/palo/jobrad"
"/home/palo/.timewarrior"
"/home/palo/.ssh"
];
backup.servers = {
robi.host = "144.76.13.147";
pepe.host = "pepe.private";
cream.host = "cream.private";
cream-removable = {
user = "removable";
host = "cream.private";
};
};
}

View file

@ -15,8 +15,6 @@
./network-tinc_retiolum.nix ./network-tinc_retiolum.nix
./network-wireguard.nix ./network-wireguard.nix
#./borg.nix
]; ];
system.stateVersion = "22.11"; system.stateVersion = "22.11";

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, private_assets, ... }: { config, lib, pkgs, private_assets, assets, ... }:
let let
# todo create flake for this # todo create flake for this
errorPages = pkgs.fetchFromGitHub { errorPages = pkgs.fetchFromGitHub {
@ -96,14 +96,14 @@ in
image-height = "200px"; image-height = "200px";
}; };
}; };
"= /palo.pgp" = { "= /mrvandalo.pgp" = {
root = pkgs.writeText "key" (lib.fileContents ../../assets/pgp.key); root = pkgs.writeText "key" (lib.fileContents "${assets}/mrvandalo.gpg");
}; };
"= /palo.gpg" = { "= /mrvandalo.gpg" = {
root = pkgs.writeText "key" (lib.fileContents ../../assets/pgp.key); root = pkgs.writeText "key" (lib.fileContents "${assets}/mrvandalo.gpg");
}; };
"= /palo_rsa.pub" = { "= /mrvandalo_rsa.pub" = {
root = pkgs.writeText "key" (lib.fileContents ../../assets/ssh/palo_rsa.pub); root = pkgs.writeText "key" (lib.fileContents "${assets}/mrvandalo_rsa.pub");
}; };
}; };
}; };