From 2e5167de1560ad0d7b8e294c72e1913f694160c2 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 7 Sep 2023 12:26:31 +0200 Subject: lass: migrate away --- .gitmodules | 3 - kartei/lass/default.nix | 2 +- lass/1systems/aergia/config.nix | 167 -------- lass/1systems/aergia/disk.nix | 63 --- lass/1systems/aergia/install.sh | 3 - lass/1systems/aergia/physical.nix | 117 ------ lass/1systems/aergia/source.nix | 21 - lass/1systems/blue/config.nix | 22 - lass/1systems/blue/physical.nix | 7 - lass/1systems/blue/source.nix | 17 - lass/1systems/coaxmetal/config.nix | 63 --- lass/1systems/coaxmetal/physical.nix | 59 --- lass/1systems/coaxmetal/source.nix | 21 - lass/1systems/daedalus/config.nix | 115 ------ lass/1systems/daedalus/physical.nix | 24 -- lass/1systems/dishfire/config.nix | 13 - lass/1systems/dishfire/physical.nix | 21 - lass/1systems/echelon/config.nix | 17 - lass/1systems/echelon/physical.nix | 33 -- lass/1systems/green/config.nix | 75 ---- lass/1systems/green/physical.nix | 7 - lass/1systems/green/source.nix | 6 - lass/1systems/hilum/config.nix | 33 -- lass/1systems/hilum/disk.nix | 43 -- lass/1systems/hilum/flash-stick.sh | 43 -- lass/1systems/hilum/physical.nix | 53 --- lass/1systems/icarus/config.nix | 30 -- lass/1systems/icarus/physical.nix | 49 --- lass/1systems/lasspi/config.nix | 25 -- lass/1systems/lasspi/physical.nix | 45 -- lass/1systems/littleT/config.nix | 30 -- lass/1systems/littleT/physical.nix | 25 -- lass/1systems/mors/config.nix | 167 -------- lass/1systems/mors/physical.nix | 48 --- lass/1systems/mors/source.nix | 21 - lass/1systems/neoprism/config.nix | 51 --- lass/1systems/neoprism/disk.nix | 118 ------ lass/1systems/neoprism/physical.nix | 79 ---- lass/1systems/orange/config.nix | 25 -- lass/1systems/orange/physical.nix | 7 - lass/1systems/prism/backup.nix | 37 -- lass/1systems/prism/config.nix | 380 ----------------- lass/1systems/prism/physical.nix | 107 ----- lass/1systems/radio/config.nix | 24 -- lass/1systems/radio/physical.nix | 7 - lass/1systems/radio/source.nix | 6 - lass/1systems/shodan/config.nix | 28 -- lass/1systems/shodan/physical.nix | 45 -- lass/1systems/skynet/config.nix | 41 -- lass/1systems/skynet/physical.nix | 29 -- lass/1systems/styx/config.nix | 116 ------ lass/1systems/styx/physical.nix | 38 -- lass/1systems/ubik/config.nix | 276 ------------- lass/1systems/ubik/physical.nix | 7 - lass/1systems/wizard/config.nix | 287 ------------- lass/1systems/wizard/generate-iso.sh | 7 - lass/1systems/wizard/run-vm.sh | 7 - lass/1systems/wizard/test.nix | 10 - lass/1systems/xerxes/config.nix | 76 ---- lass/1systems/xerxes/physical.nix | 73 ---- lass/1systems/yellow/config.nix | 45 -- lass/1systems/yellow/physical.nix | 7 - lass/2configs/AP.nix | 83 ---- lass/2configs/IM.nix | 38 -- lass/2configs/ableton.nix | 20 - lass/2configs/alacritty.nix | 134 ------ lass/2configs/antimicrox/default.nix | 39 -- lass/2configs/antimicrox/empty.gamecontroller.amgp | 20 - lass/2configs/antimicrox/mouse.gamecontroller.amgp | 281 ------------- lass/2configs/atuin-server.nix | 10 - lass/2configs/autotether.nix | 16 - lass/2configs/baseX.nix | 196 --------- lass/2configs/bgt-bot/bgt-check.sh | 57 --- lass/2configs/bgt-bot/default.nix | 44 -- lass/2configs/binary-cache/client.nix | 17 - lass/2configs/binary-cache/proxy.nix | 13 - lass/2configs/binary-cache/server.nix | 31 -- lass/2configs/bird.nix | 13 - lass/2configs/bitcoin.nix | 34 -- lass/2configs/bitlbee.nix | 34 -- lass/2configs/blue-host.nix | 116 ------ lass/2configs/blue.nix | 33 -- lass/2configs/boot/coreboot.nix | 10 - lass/2configs/boot/stock-x220.nix | 8 - lass/2configs/boot/universal.nix | 11 - lass/2configs/br.nix | 51 --- lass/2configs/browsers.nix | 8 - lass/2configs/c-base.nix | 115 ------ lass/2configs/ciko.nix | 20 - lass/2configs/codimd.nix | 70 ---- lass/2configs/consul.nix | 40 -- lass/2configs/container-networking.nix | 22 - lass/2configs/copyq.nix | 37 -- lass/2configs/default.nix | 249 ----------- lass/2configs/docker.nix | 6 - lass/2configs/dunst.nix | 277 ------------- lass/2configs/elster.nix | 24 -- lass/2configs/et-server.nix | 7 - lass/2configs/exim-retiolum.nix | 15 - lass/2configs/exim-smarthost.nix | 62 --- lass/2configs/fetchWallpaper.nix | 11 - lass/2configs/firefoxPatched.nix | 58 --- lass/2configs/fonts.nix | 14 - lass/2configs/fysiirc.nix | 69 ---- lass/2configs/games.nix | 96 ----- lass/2configs/gc.nix | 9 - lass/2configs/gg23.nix | 93 ----- lass/2configs/git-brain.nix | 56 --- lass/2configs/git.nix | 206 ---------- lass/2configs/go.nix | 19 - lass/2configs/green-host.nix | 6 - lass/2configs/green-hosts/cryfs.nix | 95 ----- lass/2configs/green-hosts/ecryptfs.nix | 99 ----- lass/2configs/green-hosts/plain-bindfs.nix | 90 ---- lass/2configs/green-hosts/plain-permown.nix | 88 ---- lass/2configs/green-hosts/plain.nix | 87 ---- lass/2configs/green-hosts/securefs.nix | 101 ----- lass/2configs/gsm-wiki.nix | 46 --- lass/2configs/hardening.nix | 11 - lass/2configs/hass/default.nix | 125 ------ lass/2configs/hass/lib.nix | 256 ------------ lass/2configs/hass/pyscript/.gitignore | 1 - lass/2configs/hass/pyscript/default.nix | 26 -- lass/2configs/hass/pyscript/shell.nix | 51 --- lass/2configs/hass/rooms/bett.nix | 39 -- lass/2configs/hass/rooms/essen.nix | 9 - lass/2configs/hass/rooms/nass.nix | 10 - lass/2configs/hass/zigbee.nix | 76 ---- lass/2configs/hfos.nix | 48 --- lass/2configs/home-media.nix | 102 ----- lass/2configs/htop.nix | 43 -- lass/2configs/hw/brcmfmac4356-pcie.txt | 125 ------ lass/2configs/hw/gpd-pocket.nix | 28 -- lass/2configs/hw/x220.nix | 50 --- lass/2configs/iodined.nix | 20 - lass/2configs/libvirt.nix | 33 -- lass/2configs/livestream.nix | 12 - lass/2configs/logf.nix | 24 -- lass/2configs/mail.nix | 272 ------------ lass/2configs/mail/internet-gateway.nix | 48 --- lass/2configs/matrix.nix | 62 --- lass/2configs/mc.nix | 344 ---------------- lass/2configs/minecraft.nix | 13 - lass/2configs/monitoring/alert-rules.nix | 208 ---------- lass/2configs/monitoring/prometheus.nix | 110 ----- lass/2configs/monitoring/telegraf.nix | 163 -------- lass/2configs/mouse.nix | 20 - lass/2configs/mpv.nix | 103 ----- lass/2configs/muchsync.nix | 40 -- lass/2configs/mumble-reminder.nix | 107 ----- lass/2configs/murmur.nix | 37 -- lass/2configs/network-manager.nix | 25 -- lass/2configs/networkd.nix | 20 - lass/2configs/nfs-dl.nix | 22 - lass/2configs/orange-host.nix | 19 - .../2configs/os-templates/CAC-CentOS-6.5-64bit.nix | 47 --- lass/2configs/os-templates/CAC-CentOS-7-64bit.nix | 47 --- lass/2configs/otp-ssh.nix | 18 - lass/2configs/pass.nix | 21 - lass/2configs/paste.nix | 146 ------- lass/2configs/pipewire.nix | 35 -- lass/2configs/power-action.nix | 45 -- lass/2configs/ppp/umts-stick.nix | 33 -- lass/2configs/ppp/x220-modem.nix | 32 -- lass/2configs/print.nix | 19 - lass/2configs/prism-share.nix | 42 -- lass/2configs/privoxy-retiolum.nix | 21 - lass/2configs/privoxy.nix | 7 - lass/2configs/programs.nix | 54 --- lass/2configs/reaktor-coders.nix | 56 --- lass/2configs/realwallpaper.nix | 52 --- lass/2configs/rebuild-on-boot.nix | 18 - lass/2configs/red-host.nix | 163 -------- lass/2configs/redis.nix | 8 - lass/2configs/retiolum.nix | 55 --- lass/2configs/review.nix | 14 - lass/2configs/riot.nix | 87 ---- lass/2configs/rtl-sdr.nix | 6 - lass/2configs/searx.nix | 23 -- lass/2configs/services/coms/default.nix | 6 - lass/2configs/services/coms/jitsi.nix | 43 -- lass/2configs/services/coms/murmur.nix | 47 --- lass/2configs/services/coms/proxy.nix | 41 -- lass/2configs/services/flix/container-host.nix | 40 -- lass/2configs/services/flix/default.nix | 316 -------------- lass/2configs/services/flix/proxy.nix | 12 - lass/2configs/services/git/default.nix | 21 - lass/2configs/services/git/proxy.nix | 23 -- lass/2configs/services/radio/container-host.nix | 23 -- lass/2configs/services/radio/controls.html | 83 ---- lass/2configs/services/radio/default.nix | 348 ---------------- lass/2configs/services/radio/news.nix | 131 ------ lass/2configs/services/radio/proxy.nix | 17 - lass/2configs/services/radio/radio.liq | 112 ----- lass/2configs/services/radio/shell.nix | 7 - lass/2configs/services/radio/weather.nix | 60 --- lass/2configs/services/radio/weather_for_ips.py | 48 --- lass/2configs/skype.nix | 27 -- lass/2configs/smartd.nix | 17 - lass/2configs/snapclient.nix | 12 - lass/2configs/snapserver.nix | 30 -- lass/2configs/ssh-cryptsetup.nix | 15 - lass/2configs/starcraft.nix | 22 - lass/2configs/steam.nix | 29 -- lass/2configs/sync/decsync.nix | 10 - lass/2configs/sync/sync.nix | 15 - lass/2configs/sync/the_playlist.nix | 9 - lass/2configs/sync/weechat.nix | 6 - lass/2configs/syncthing.nix | 15 - lass/2configs/termite.nix | 22 - .../tests/dummy-secrets/bepasty-secret.nix | 1 - lass/2configs/tests/dummy-secrets/cbase.txt | 0 .../tests/dummy-secrets/grafana_security.nix | 4 - .../tests/dummy-secrets/hashedPasswords.nix | 1 - lass/2configs/tests/dummy-secrets/icecast-admin-pw | 1 - .../2configs/tests/dummy-secrets/icecast-source-pw | 1 - .../tests/dummy-secrets/initrd/ssh.ed25519_key | 0 lass/2configs/tests/dummy-secrets/iodinepw.nix | 1 - .../tests/dummy-secrets/lassul.us.dkim.priv | 3 - lass/2configs/tests/dummy-secrets/mails.nix | 1 - .../tests/dummy-secrets/mysql_rootPassword | 1 - lass/2configs/tests/dummy-secrets/nix-serve.key | 1 - lass/2configs/tests/dummy-secrets/nordvpn.txt | 0 lass/2configs/tests/dummy-secrets/repos.nix | 1 - .../tests/dummy-secrets/retiolum.rsa_key.priv | 4 - lass/2configs/tests/dummy-secrets/searx.key | 1 - lass/2configs/tests/dummy-secrets/ssh-tor.priv | 0 lass/2configs/tests/dummy-secrets/ssh.id_ed25519 | 3 - lass/2configs/tests/dummy-secrets/ssh.id_rsa | 3 - lass/2configs/tests/dummy-secrets/syncthing.cert | 0 lass/2configs/tests/dummy-secrets/syncthing.key | 0 lass/2configs/tests/dummy-secrets/torrent-auth | 3 - lass/2configs/tests/dummy-secrets/transmission-pw | 1 - lass/2configs/texlive.nix | 12 - lass/2configs/themes.nix | 75 ---- lass/2configs/tmux.nix | 47 --- lass/2configs/tor-initrd.nix | 49 --- lass/2configs/tor-ssh.nix | 16 - lass/2configs/tv.nix | 194 --------- lass/2configs/ubik-host.nix | 26 -- lass/2configs/urxvt.nix | 37 -- lass/2configs/vim.nix | 349 ---------------- lass/2configs/virtualbox.nix | 24 -- lass/2configs/websites/default.nix | 20 - lass/2configs/websites/domsen.nix | 454 --------------------- lass/2configs/websites/flix.lassul.us.nix | 13 - lass/2configs/websites/lassulus.nix | 74 ---- lass/2configs/websites/ref.ptkk.de/default.nix | 89 ---- lass/2configs/websites/sqlBackup.nix | 30 -- lass/2configs/websites/util.nix | 246 ----------- lass/2configs/weechat.nix | 214 ---------- lass/2configs/weron/client.nix | 20 - lass/2configs/weron/signaler.nix | 13 - lass/2configs/wine.nix | 25 -- lass/2configs/wiregrill.nix | 59 --- lass/2configs/xdg-open.nix | 67 --- lass/2configs/xmonad.nix | 236 ----------- lass/2configs/xonsh.nix | 7 - lass/2configs/yellow-mounts/samba.nix | 15 - lass/2configs/yubikey.nix | 62 --- lass/2configs/zsh.nix | 144 ------- lass/3modules/autowifi.nix | 38 -- lass/3modules/default.nix | 18 - lass/3modules/dnsmasq.nix | 48 --- lass/3modules/drbd.nix | 159 -------- lass/3modules/folderPerms.nix | 104 ----- lass/3modules/hosts.nix | 12 - lass/3modules/klem.nix | 75 ---- lass/3modules/mysql-backup.nix | 86 ---- lass/3modules/news.nix | 76 ---- lass/3modules/nichtparasoup.nix | 161 -------- lass/3modules/pyload.nix | 55 --- lass/3modules/screenlock.nix | 40 -- lass/3modules/usershadow.nix | 139 ------- lass/4lib/default.nix | 10 - lass/5pkgs/acronym/default.nix | 16 - lass/5pkgs/autowifi | 1 - lass/5pkgs/bank/default.nix | 14 - lass/5pkgs/default.nix | 24 -- lass/5pkgs/deploy/default.nix | 6 - lass/5pkgs/dl/default.nix | 29 -- lass/5pkgs/dls/default.nix | 13 - lass/5pkgs/drbd9/default.nix | 35 -- lass/5pkgs/emot-menu/default.nix | 34 -- lass/5pkgs/firefoxPlugins/noscript.nix | 28 -- lass/5pkgs/firefoxPlugins/ublock.nix | 31 -- lass/5pkgs/firefoxPlugins/vimperator.nix | 19 - lass/5pkgs/graphml2json/default.nix | 12 - lass/5pkgs/htmlparser/default.nix | 15 - lass/5pkgs/init/default.nix | 107 ----- lass/5pkgs/init/run-vm.sh | 7 - lass/5pkgs/init/test.nix | 13 - lass/5pkgs/init/test.sh | 11 - lass/5pkgs/install-system/default.nix | 35 -- lass/5pkgs/knav/default.nix | 26 -- lass/5pkgs/l-gen-secrets/default.nix | 82 ---- lass/5pkgs/logify/default.nix | 7 - lass/5pkgs/mk_sql_pair/default.nix | 19 - lass/5pkgs/mpv-poll/default.nix | 40 -- lass/5pkgs/nichtparasoup/default.nix | 15 - lass/5pkgs/nichtparasoup/exception.patch | 13 - lass/5pkgs/nix-index-update/default.nix | 9 - lass/5pkgs/nm-dmenu/default.nix | 10 - lass/5pkgs/otpmenu/default.nix | 11 - lass/5pkgs/pop/default.nix | 10 - lass/5pkgs/q/default.nix | 286 ------------- lass/5pkgs/review-mail-queue/default.nix | 39 -- lass/5pkgs/rs/default.nix | 6 - lass/5pkgs/searx/default.nix | 69 ---- lass/5pkgs/sshify/default.nix | 39 -- lass/5pkgs/sshvnc/default.nix | 11 - lass/5pkgs/super-vnc/default.nix | 38 -- lass/5pkgs/sxiv/default.nix | 27 -- lass/5pkgs/tdlib-purple/default.nix | 51 --- lass/5pkgs/unimenu/default.nix | 101 ----- lass/5pkgs/urban/default.nix | 21 - lass/5pkgs/xephyrify/default.nix | 62 --- lass/5pkgs/xml2json/default.nix | 17 - lass/5pkgs/xonsh2/default.nix | 56 --- lass/5pkgs/yt-next/default.nix | 13 - lass/default.nix | 9 - lass/krops.nix | 145 ------- lass/tombstone | 1 + 323 files changed, 2 insertions(+), 17633 deletions(-) delete mode 100644 lass/1systems/aergia/config.nix delete mode 100644 lass/1systems/aergia/disk.nix delete mode 100644 lass/1systems/aergia/install.sh delete mode 100644 lass/1systems/aergia/physical.nix delete mode 100644 lass/1systems/aergia/source.nix delete mode 100644 lass/1systems/blue/config.nix delete mode 100644 lass/1systems/blue/physical.nix delete mode 100644 lass/1systems/blue/source.nix delete mode 100644 lass/1systems/coaxmetal/config.nix delete mode 100644 lass/1systems/coaxmetal/physical.nix delete mode 100644 lass/1systems/coaxmetal/source.nix delete mode 100644 lass/1systems/daedalus/config.nix delete mode 100644 lass/1systems/daedalus/physical.nix delete mode 100644 lass/1systems/dishfire/config.nix delete mode 100644 lass/1systems/dishfire/physical.nix delete mode 100644 lass/1systems/echelon/config.nix delete mode 100644 lass/1systems/echelon/physical.nix delete mode 100644 lass/1systems/green/config.nix delete mode 100644 lass/1systems/green/physical.nix delete mode 100644 lass/1systems/green/source.nix delete mode 100644 lass/1systems/hilum/config.nix delete mode 100644 lass/1systems/hilum/disk.nix delete mode 100755 lass/1systems/hilum/flash-stick.sh delete mode 100644 lass/1systems/hilum/physical.nix delete mode 100644 lass/1systems/icarus/config.nix delete mode 100644 lass/1systems/icarus/physical.nix delete mode 100644 lass/1systems/lasspi/config.nix delete mode 100644 lass/1systems/lasspi/physical.nix delete mode 100644 lass/1systems/littleT/config.nix delete mode 100644 lass/1systems/littleT/physical.nix delete mode 100644 lass/1systems/mors/config.nix delete mode 100644 lass/1systems/mors/physical.nix delete mode 100644 lass/1systems/mors/source.nix delete mode 100644 lass/1systems/neoprism/config.nix delete mode 100644 lass/1systems/neoprism/disk.nix delete mode 100644 lass/1systems/neoprism/physical.nix delete mode 100644 lass/1systems/orange/config.nix delete mode 100644 lass/1systems/orange/physical.nix delete mode 100644 lass/1systems/prism/backup.nix delete mode 100644 lass/1systems/prism/config.nix delete mode 100644 lass/1systems/prism/physical.nix delete mode 100644 lass/1systems/radio/config.nix delete mode 100644 lass/1systems/radio/physical.nix delete mode 100644 lass/1systems/radio/source.nix delete mode 100644 lass/1systems/shodan/config.nix delete mode 100644 lass/1systems/shodan/physical.nix delete mode 100644 lass/1systems/skynet/config.nix delete mode 100644 lass/1systems/skynet/physical.nix delete mode 100644 lass/1systems/styx/config.nix delete mode 100644 lass/1systems/styx/physical.nix delete mode 100644 lass/1systems/ubik/config.nix delete mode 100644 lass/1systems/ubik/physical.nix delete mode 100644 lass/1systems/wizard/config.nix delete mode 100755 lass/1systems/wizard/generate-iso.sh delete mode 100755 lass/1systems/wizard/run-vm.sh delete mode 100644 lass/1systems/wizard/test.nix delete mode 100644 lass/1systems/xerxes/config.nix delete mode 100644 lass/1systems/xerxes/physical.nix delete mode 100644 lass/1systems/yellow/config.nix delete mode 100644 lass/1systems/yellow/physical.nix delete mode 100644 lass/2configs/AP.nix delete mode 100644 lass/2configs/IM.nix delete mode 100644 lass/2configs/ableton.nix delete mode 100644 lass/2configs/alacritty.nix delete mode 100644 lass/2configs/antimicrox/default.nix delete mode 100644 lass/2configs/antimicrox/empty.gamecontroller.amgp delete mode 100644 lass/2configs/antimicrox/mouse.gamecontroller.amgp delete mode 100644 lass/2configs/atuin-server.nix delete mode 100644 lass/2configs/autotether.nix delete mode 100644 lass/2configs/baseX.nix delete mode 100644 lass/2configs/bgt-bot/bgt-check.sh delete mode 100644 lass/2configs/bgt-bot/default.nix delete mode 100644 lass/2configs/binary-cache/client.nix delete mode 100644 lass/2configs/binary-cache/proxy.nix delete mode 100644 lass/2configs/binary-cache/server.nix delete mode 100644 lass/2configs/bird.nix delete mode 100644 lass/2configs/bitcoin.nix delete mode 100644 lass/2configs/bitlbee.nix delete mode 100644 lass/2configs/blue-host.nix delete mode 100644 lass/2configs/blue.nix delete mode 100644 lass/2configs/boot/coreboot.nix delete mode 100644 lass/2configs/boot/stock-x220.nix delete mode 100644 lass/2configs/boot/universal.nix delete mode 100644 lass/2configs/br.nix delete mode 100644 lass/2configs/browsers.nix delete mode 100644 lass/2configs/c-base.nix delete mode 100644 lass/2configs/ciko.nix delete mode 100644 lass/2configs/codimd.nix delete mode 100644 lass/2configs/consul.nix delete mode 100644 lass/2configs/container-networking.nix delete mode 100644 lass/2configs/copyq.nix delete mode 100644 lass/2configs/default.nix delete mode 100644 lass/2configs/docker.nix delete mode 100644 lass/2configs/dunst.nix delete mode 100644 lass/2configs/elster.nix delete mode 100644 lass/2configs/et-server.nix delete mode 100644 lass/2configs/exim-retiolum.nix delete mode 100644 lass/2configs/exim-smarthost.nix delete mode 100644 lass/2configs/fetchWallpaper.nix delete mode 100644 lass/2configs/firefoxPatched.nix delete mode 100644 lass/2configs/fonts.nix delete mode 100644 lass/2configs/fysiirc.nix delete mode 100644 lass/2configs/games.nix delete mode 100644 lass/2configs/gc.nix delete mode 100644 lass/2configs/gg23.nix delete mode 100644 lass/2configs/git-brain.nix delete mode 100644 lass/2configs/git.nix delete mode 100644 lass/2configs/go.nix delete mode 100644 lass/2configs/green-host.nix delete mode 100644 lass/2configs/green-hosts/cryfs.nix delete mode 100644 lass/2configs/green-hosts/ecryptfs.nix delete mode 100644 lass/2configs/green-hosts/plain-bindfs.nix delete mode 100644 lass/2configs/green-hosts/plain-permown.nix delete mode 100644 lass/2configs/green-hosts/plain.nix delete mode 100644 lass/2configs/green-hosts/securefs.nix delete mode 100644 lass/2configs/gsm-wiki.nix delete mode 100644 lass/2configs/hardening.nix delete mode 100644 lass/2configs/hass/default.nix delete mode 100644 lass/2configs/hass/lib.nix delete mode 100644 lass/2configs/hass/pyscript/.gitignore delete mode 100644 lass/2configs/hass/pyscript/default.nix delete mode 100644 lass/2configs/hass/pyscript/shell.nix delete mode 100644 lass/2configs/hass/rooms/bett.nix delete mode 100644 lass/2configs/hass/rooms/essen.nix delete mode 100644 lass/2configs/hass/rooms/nass.nix delete mode 100644 lass/2configs/hass/zigbee.nix delete mode 100644 lass/2configs/hfos.nix delete mode 100644 lass/2configs/home-media.nix delete mode 100644 lass/2configs/htop.nix delete mode 100644 lass/2configs/hw/brcmfmac4356-pcie.txt delete mode 100644 lass/2configs/hw/gpd-pocket.nix delete mode 100644 lass/2configs/hw/x220.nix delete mode 100644 lass/2configs/iodined.nix delete mode 100644 lass/2configs/libvirt.nix delete mode 100644 lass/2configs/livestream.nix delete mode 100644 lass/2configs/logf.nix delete mode 100644 lass/2configs/mail.nix delete mode 100644 lass/2configs/mail/internet-gateway.nix delete mode 100644 lass/2configs/matrix.nix delete mode 100644 lass/2configs/mc.nix delete mode 100644 lass/2configs/minecraft.nix delete mode 100644 lass/2configs/monitoring/alert-rules.nix delete mode 100644 lass/2configs/monitoring/prometheus.nix delete mode 100644 lass/2configs/monitoring/telegraf.nix delete mode 100644 lass/2configs/mouse.nix delete mode 100644 lass/2configs/mpv.nix delete mode 100644 lass/2configs/muchsync.nix delete mode 100644 lass/2configs/mumble-reminder.nix delete mode 100644 lass/2configs/murmur.nix delete mode 100644 lass/2configs/network-manager.nix delete mode 100644 lass/2configs/networkd.nix delete mode 100644 lass/2configs/nfs-dl.nix delete mode 100644 lass/2configs/orange-host.nix delete mode 100644 lass/2configs/os-templates/CAC-CentOS-6.5-64bit.nix delete mode 100644 lass/2configs/os-templates/CAC-CentOS-7-64bit.nix delete mode 100644 lass/2configs/otp-ssh.nix delete mode 100644 lass/2configs/pass.nix delete mode 100644 lass/2configs/paste.nix delete mode 100644 lass/2configs/pipewire.nix delete mode 100644 lass/2configs/power-action.nix delete mode 100644 lass/2configs/ppp/umts-stick.nix delete mode 100644 lass/2configs/ppp/x220-modem.nix delete mode 100644 lass/2configs/print.nix delete mode 100644 lass/2configs/prism-share.nix delete mode 100644 lass/2configs/privoxy-retiolum.nix delete mode 100644 lass/2configs/privoxy.nix delete mode 100644 lass/2configs/programs.nix delete mode 100644 lass/2configs/reaktor-coders.nix delete mode 100644 lass/2configs/realwallpaper.nix delete mode 100644 lass/2configs/rebuild-on-boot.nix delete mode 100644 lass/2configs/red-host.nix delete mode 100644 lass/2configs/redis.nix delete mode 100644 lass/2configs/retiolum.nix delete mode 100644 lass/2configs/review.nix delete mode 100644 lass/2configs/riot.nix delete mode 100644 lass/2configs/rtl-sdr.nix delete mode 100644 lass/2configs/searx.nix delete mode 100644 lass/2configs/services/coms/default.nix delete mode 100644 lass/2configs/services/coms/jitsi.nix delete mode 100644 lass/2configs/services/coms/murmur.nix delete mode 100644 lass/2configs/services/coms/proxy.nix delete mode 100644 lass/2configs/services/flix/container-host.nix delete mode 100644 lass/2configs/services/flix/default.nix delete mode 100644 lass/2configs/services/flix/proxy.nix delete mode 100644 lass/2configs/services/git/default.nix delete mode 100644 lass/2configs/services/git/proxy.nix delete mode 100644 lass/2configs/services/radio/container-host.nix delete mode 100644 lass/2configs/services/radio/controls.html delete mode 100644 lass/2configs/services/radio/default.nix delete mode 100644 lass/2configs/services/radio/news.nix delete mode 100644 lass/2configs/services/radio/proxy.nix delete mode 100644 lass/2configs/services/radio/radio.liq delete mode 100644 lass/2configs/services/radio/shell.nix delete mode 100644 lass/2configs/services/radio/weather.nix delete mode 100644 lass/2configs/services/radio/weather_for_ips.py delete mode 100644 lass/2configs/skype.nix delete mode 100644 lass/2configs/smartd.nix delete mode 100644 lass/2configs/snapclient.nix delete mode 100644 lass/2configs/snapserver.nix delete mode 100644 lass/2configs/ssh-cryptsetup.nix delete mode 100644 lass/2configs/starcraft.nix delete mode 100644 lass/2configs/steam.nix delete mode 100644 lass/2configs/sync/decsync.nix delete mode 100644 lass/2configs/sync/sync.nix delete mode 100644 lass/2configs/sync/the_playlist.nix delete mode 100644 lass/2configs/sync/weechat.nix delete mode 100644 lass/2configs/syncthing.nix delete mode 100644 lass/2configs/termite.nix delete mode 100644 lass/2configs/tests/dummy-secrets/bepasty-secret.nix delete mode 100644 lass/2configs/tests/dummy-secrets/cbase.txt delete mode 100644 lass/2configs/tests/dummy-secrets/grafana_security.nix delete mode 100644 lass/2configs/tests/dummy-secrets/hashedPasswords.nix delete mode 100644 lass/2configs/tests/dummy-secrets/icecast-admin-pw delete mode 100644 lass/2configs/tests/dummy-secrets/icecast-source-pw delete mode 100644 lass/2configs/tests/dummy-secrets/initrd/ssh.ed25519_key delete mode 100644 lass/2configs/tests/dummy-secrets/iodinepw.nix delete mode 100644 lass/2configs/tests/dummy-secrets/lassul.us.dkim.priv delete mode 100644 lass/2configs/tests/dummy-secrets/mails.nix delete mode 100644 lass/2configs/tests/dummy-secrets/mysql_rootPassword delete mode 100644 lass/2configs/tests/dummy-secrets/nix-serve.key delete mode 100644 lass/2configs/tests/dummy-secrets/nordvpn.txt delete mode 100644 lass/2configs/tests/dummy-secrets/repos.nix delete mode 100644 lass/2configs/tests/dummy-secrets/retiolum.rsa_key.priv delete mode 100644 lass/2configs/tests/dummy-secrets/searx.key delete mode 100644 lass/2configs/tests/dummy-secrets/ssh-tor.priv delete mode 100644 lass/2configs/tests/dummy-secrets/ssh.id_ed25519 delete mode 100644 lass/2configs/tests/dummy-secrets/ssh.id_rsa delete mode 100644 lass/2configs/tests/dummy-secrets/syncthing.cert delete mode 100644 lass/2configs/tests/dummy-secrets/syncthing.key delete mode 100644 lass/2configs/tests/dummy-secrets/torrent-auth delete mode 100644 lass/2configs/tests/dummy-secrets/transmission-pw delete mode 100644 lass/2configs/texlive.nix delete mode 100644 lass/2configs/themes.nix delete mode 100644 lass/2configs/tmux.nix delete mode 100644 lass/2configs/tor-initrd.nix delete mode 100644 lass/2configs/tor-ssh.nix delete mode 100644 lass/2configs/tv.nix delete mode 100644 lass/2configs/ubik-host.nix delete mode 100644 lass/2configs/urxvt.nix delete mode 100644 lass/2configs/vim.nix delete mode 100644 lass/2configs/virtualbox.nix delete mode 100644 lass/2configs/websites/default.nix delete mode 100644 lass/2configs/websites/domsen.nix delete mode 100644 lass/2configs/websites/flix.lassul.us.nix delete mode 100644 lass/2configs/websites/lassulus.nix delete mode 100644 lass/2configs/websites/ref.ptkk.de/default.nix delete mode 100644 lass/2configs/websites/sqlBackup.nix delete mode 100644 lass/2configs/websites/util.nix delete mode 100644 lass/2configs/weechat.nix delete mode 100644 lass/2configs/weron/client.nix delete mode 100644 lass/2configs/weron/signaler.nix delete mode 100644 lass/2configs/wine.nix delete mode 100644 lass/2configs/wiregrill.nix delete mode 100644 lass/2configs/xdg-open.nix delete mode 100644 lass/2configs/xmonad.nix delete mode 100644 lass/2configs/xonsh.nix delete mode 100644 lass/2configs/yellow-mounts/samba.nix delete mode 100644 lass/2configs/yubikey.nix delete mode 100644 lass/2configs/zsh.nix delete mode 100644 lass/3modules/autowifi.nix delete mode 100644 lass/3modules/default.nix delete mode 100644 lass/3modules/dnsmasq.nix delete mode 100644 lass/3modules/drbd.nix delete mode 100644 lass/3modules/folderPerms.nix delete mode 100644 lass/3modules/hosts.nix delete mode 100644 lass/3modules/klem.nix delete mode 100644 lass/3modules/mysql-backup.nix delete mode 100644 lass/3modules/news.nix delete mode 100644 lass/3modules/nichtparasoup.nix delete mode 100644 lass/3modules/pyload.nix delete mode 100644 lass/3modules/screenlock.nix delete mode 100644 lass/3modules/usershadow.nix delete mode 100644 lass/4lib/default.nix delete mode 100644 lass/5pkgs/acronym/default.nix delete mode 160000 lass/5pkgs/autowifi delete mode 100644 lass/5pkgs/bank/default.nix delete mode 100644 lass/5pkgs/default.nix delete mode 100644 lass/5pkgs/deploy/default.nix delete mode 100644 lass/5pkgs/dl/default.nix delete mode 100644 lass/5pkgs/dls/default.nix delete mode 100644 lass/5pkgs/drbd9/default.nix delete mode 100644 lass/5pkgs/emot-menu/default.nix delete mode 100644 lass/5pkgs/firefoxPlugins/noscript.nix delete mode 100644 lass/5pkgs/firefoxPlugins/ublock.nix delete mode 100644 lass/5pkgs/firefoxPlugins/vimperator.nix delete mode 100644 lass/5pkgs/graphml2json/default.nix delete mode 100644 lass/5pkgs/htmlparser/default.nix delete mode 100644 lass/5pkgs/init/default.nix delete mode 100755 lass/5pkgs/init/run-vm.sh delete mode 100644 lass/5pkgs/init/test.nix delete mode 100755 lass/5pkgs/init/test.sh delete mode 100644 lass/5pkgs/install-system/default.nix delete mode 100644 lass/5pkgs/knav/default.nix delete mode 100644 lass/5pkgs/l-gen-secrets/default.nix delete mode 100644 lass/5pkgs/logify/default.nix delete mode 100644 lass/5pkgs/mk_sql_pair/default.nix delete mode 100644 lass/5pkgs/mpv-poll/default.nix delete mode 100644 lass/5pkgs/nichtparasoup/default.nix delete mode 100644 lass/5pkgs/nichtparasoup/exception.patch delete mode 100644 lass/5pkgs/nix-index-update/default.nix delete mode 100644 lass/5pkgs/nm-dmenu/default.nix delete mode 100644 lass/5pkgs/otpmenu/default.nix delete mode 100644 lass/5pkgs/pop/default.nix delete mode 100644 lass/5pkgs/q/default.nix delete mode 100644 lass/5pkgs/review-mail-queue/default.nix delete mode 100644 lass/5pkgs/rs/default.nix delete mode 100644 lass/5pkgs/searx/default.nix delete mode 100644 lass/5pkgs/sshify/default.nix delete mode 100644 lass/5pkgs/sshvnc/default.nix delete mode 100644 lass/5pkgs/super-vnc/default.nix delete mode 100644 lass/5pkgs/sxiv/default.nix delete mode 100644 lass/5pkgs/tdlib-purple/default.nix delete mode 100644 lass/5pkgs/unimenu/default.nix delete mode 100644 lass/5pkgs/urban/default.nix delete mode 100644 lass/5pkgs/xephyrify/default.nix delete mode 100644 lass/5pkgs/xml2json/default.nix delete mode 100644 lass/5pkgs/xonsh2/default.nix delete mode 100644 lass/5pkgs/yt-next/default.nix delete mode 100644 lass/default.nix delete mode 100644 lass/krops.nix create mode 100644 lass/tombstone diff --git a/.gitmodules b/.gitmodules index 4779748c8..38bb83ee3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,9 +4,6 @@ [submodule "submodules/krops"] path = submodules/krops url = https://cgit.krebsco.de/krops -[submodule "lass/5pkgs/autowifi"] - path = lass/5pkgs/autowifi - url = https://github.com/Lassulus/autowifi [submodule "submodules/disko"] path = submodules/disko url = https://github.com/nix-community/disko diff --git a/kartei/lass/default.nix b/kartei/lass/default.nix index 9ccf1c72d..fac48a8ba 100644 --- a/kartei/lass/default.nix +++ b/kartei/lass/default.nix @@ -17,7 +17,7 @@ in { hosts = lib.mapAttrs (_: lib.recursiveUpdate { owner = config.krebs.users.lass; consul = true; - ci = true; + ci = false; monitoring = true; }) ( lib.genAttrs hostFiles (host: import (./. + "/${host}.nix") { diff --git a/lass/1systems/aergia/config.nix b/lass/1systems/aergia/config.nix deleted file mode 100644 index 9b7409bcc..000000000 --- a/lass/1systems/aergia/config.nix +++ /dev/null @@ -1,167 +0,0 @@ -{ config, lib, pkgs, ... }: - -{ - imports = [ - - - - - - - - - - - - - - - - - - - - # - - - - - - # steam-deck like experience https://github.com/Jovian-Experiments/Jovian-NixOS - { - imports = [ - "${builtins.fetchTarball "https://github.com/Jovian-Experiments/Jovian-NixOS/archive/master.tar.gz"}/modules" - ]; - jovian.steam.enable = true; - } - { # autorandrs - services.autorandr = { - enable = true; - hooks.postswitch.reset_usb = '' - echo 0 > /sys/bus/usb/devices/usb9/authorized; echo 1 > /sys/bus/usb/devices/usb9/authorized - ${pkgs.xorg.xmodmap}/bin/xmodmap -e 'keycode 96 = F12 Insert F12 F12' # rebind shift + F12 to shift + insert - ''; - profiles = { - default = { - fingerprint = { - eDP = "00ffffffffffff00288931000100000016200104805932780a0dc9a05747982712484c0000000101010101010101010101010101010108700088a1401360c820a300d9870000001ead4a0088a1401360c820a30020c23100001e000000fd0016480f5a1e000a202020202020000000fc0047504431303031480a2020202000cf"; - }; - config = { - eDP = { - enable = true; - primary = true; - position = "0x0"; - mode = "2560x1600"; - rate = "60.01"; - transform = [ - [ 0.750000 0.000000 0.000000 ] - [ 0.000000 0.750000 0.000000 ] - [ 0.000000 0.000000 1.000000 ] - ]; - # scale = { - # x = 0.599991; - # y = 0.599991; - # }; - }; - }; - }; - docked2 = { - fingerprint = { - eDP = config.services.autorandr.profiles.default.fingerprint.eDP; - DisplayPort-8 = "00ffffffffffff0010ac39d14c3346300f200104b5462878fb26f5af4f46a5240f5054a54b00714f8140818081c081009500b300d1c0565e00a0a0a0295030203500b9882100001a000000ff00444342375847330a2020202020000000fc0044454c4c204733323233440a20000000fd0030a5fafa41010a2020202020200181020332f149030212110490131f3f2309070783010000e200eae305c000e606050162622c6d1a0000020b30a50007622c622c5a8780a070384d4030203500b9882100001af4fb0050a0a0285008206800b9882100001a40e7006aa0a0675008209804b9882100001a6fc200a0a0a0555030203500b9882100001a000000000009"; - DisplayPort-7 = "00ffffffffffff0020a32f00010000000c190103807341780acf74a3574cb02309484c21080081c0814081800101010101010101010104740030f2705a80b0588a00501d7400001e023a801871382d40582c4500501d7400001e000000fc00484953454e53450a2020202020000000fd00324b0f451e000a2020202020200172020333714f5f5e5d01020400101113001f2021222909070715075057070083010000e200f96d030c002000183c200060010203662150b051001b304070360056005300001e011d8018711c1620582c2500c48e2100009e011d007251d01e206e285500c48e2100001800000000000000000000000000000000000000000000ea"; - }; - config = { - DisplayPort-7 = { - enable = true; - position = "2560x0"; - mode = "1920x1080"; - rate = "60.00"; - }; - DisplayPort-8 = config.services.autorandr.profiles.docked1.config.DisplayPort-1; - eDP = config.services.autorandr.profiles.docked1.config.eDP; - }; - }; - docked1 = { - fingerprint = { - eDP = config.services.autorandr.profiles.default.fingerprint.eDP; - DisplayPort-1 = "00ffffffffffff0010ac39d14c3346300f200104b5462878fb26f5af4f46a5240f5054a54b00714f8140818081c081009500b300d1c0565e00a0a0a0295030203500b9882100001a000000ff00444342375847330a2020202020000000fc0044454c4c204733323233440a20000000fd0030a5fafa41010a2020202020200181020332f149030212110490131f3f2309070783010000e200eae305c000e606050162622c6d1a0000020b30a50007622c622c000000000000000000000000000000000000f4fb0050a0a0285008206800b9882100001a40e7006aa0a0675008209804b9882100001a6fc200a0a0a0555030203500b9882100001a000000000040"; - }; - config = { - DisplayPort-1 = { - enable = true; - primary = true; - position = "0x0"; - mode = "2560x1440"; - rate = "165.08"; - }; - eDP = config.services.autorandr.profiles.default.config.eDP // { - primary = false; - position = "640x1440"; - }; - }; - }; - docked1_hack = { - fingerprint = { - eDP = config.services.autorandr.profiles.default.fingerprint.eDP; - HDMI-A-0 = "00ffffffffffff0010ac31d14c3346300f20010380462878ea26f5af4f46a5240f5054a54b00714f8140818081c081009500b300d1c0565e00a0a0a0295030203500b9882100001a000000ff00444342375847330a2020202020000000fc0044454c4c204733323233440a20000000fd0030901ee63c000a20202020202001db020346f14d030212110113042f141f05103f2309070783010000e200ea67030c001000383c67d85dc4017888006d1a0000020b3090e607622c622ce305c000e606050162622c40e7006aa0a0675008209804b9882100001a6fc200a0a0a05550302035001d4e3100001a000000000000000000000000000000000000000000fc"; - }; - config = { - HDMI-A-0 = { - enable = true; - primary = true; - position = "0x0"; - mode = "2560x1440"; - rate = "165.08"; - }; - eDP = config.services.autorandr.profiles.default.config.eDP // { - primary = false; - position = "640x1440"; - }; - }; - }; - }; - }; - } - ]; - - system.stateVersion = "22.11"; - - krebs.build.host = config.krebs.hosts.aergia; - - environment.systemPackages = with pkgs; [ - brain - bank - l-gen-secrets - generate-secrets - nixpkgs-review - pipenv - ]; - - programs.adb.enable = true; - - hardware.bluetooth = { - enable = true; - powerOnBoot = true; - }; - hardware.pulseaudio.package = pkgs.pulseaudioFull; - - nix.trustedUsers = [ "root" "lass" ]; - - # nix.extraOptions = '' - # extra-experimental-features = nix-command flakes - # ''; - - services.tor = { - enable = true; - client.enable = true; - }; - - documentation.nixos.enable = true; - boot.binfmt.emulatedSystems = [ - "aarch64-linux" - ]; - - boot.cleanTmpDir = true; - programs.noisetorch.enable = true; -} diff --git a/lass/1systems/aergia/disk.nix b/lass/1systems/aergia/disk.nix deleted file mode 100644 index 233b320e4..000000000 --- a/lass/1systems/aergia/disk.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ lib, ... }: -{ - disk = { - main = { - type = "disk"; - device = "/dev/nvme0n1"; - content = { - type = "table"; - format = "gpt"; - partitions = [ - { - name = "boot"; - start = "0"; - end = "1M"; - part-type = "primary"; - flags = ["bios_grub"]; - } - { - name = "ESP"; - start = "1MiB"; - end = "1GiB"; - fs-type = "fat32"; - bootable = true; - content = { - type = "filesystem"; - format = "vfat"; - mountpoint = "/boot"; - }; - } - { - name = "root"; - start = "1GiB"; - end = "100%"; - content = { - type = "luks"; - name = "aergia1"; - content = { - type = "btrfs"; - extraArgs = "-f"; # Override existing partition - subvolumes = { - # Subvolume name is different from mountpoint - "/rootfs" = { - mountpoint = "/"; - }; - # Mountpoints inferred from subvolume name - "/home" = { - mountOptions = []; - mountpoint = "/home"; - }; - "/nix" = { - mountOptions = []; - mountpoint = "/nix"; - }; - }; - }; - }; - } - ]; - }; - }; - }; -} - diff --git a/lass/1systems/aergia/install.sh b/lass/1systems/aergia/install.sh deleted file mode 100644 index 0e4f0ab4c..000000000 --- a/lass/1systems/aergia/install.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -target=$1 diff --git a/lass/1systems/aergia/physical.nix b/lass/1systems/aergia/physical.nix deleted file mode 100644 index e76460d20..000000000 --- a/lass/1systems/aergia/physical.nix +++ /dev/null @@ -1,117 +0,0 @@ -{ config, lib, pkgs, modulesPath, ... }: -{ - imports = [ - ./config.nix - (modulesPath + "/installer/scan/not-detected.nix") - - ]; - disko.devices = import ./disk.nix; - - networking.hostId = "deadbeef"; - # boot.loader.efi.canTouchEfiVariables = true; - boot.loader.grub = { - enable = true; - device = "/dev/nvme0n1"; - efiSupport = true; - efiInstallAsRemovable = true; - }; - - # boot.kernelPackages = pkgs.linuxPackages_latest; - - boot.kernelParams = [ - # use less power with pstate - "amd_pstate=passive" - - # suspend - "resume_offset=178345675" - ]; - - boot.kernelModules = [ - # Enables the amd cpu scaling https://www.kernel.org/doc/html/latest/admin-guide/pm/amd-pstate.html - # On recent AMD CPUs this can be more energy efficient. - "amd-pstate" - "kvm-amd" - ]; - - # hardware.cpu.amd.updateMicrocode = true; - - services.xserver.videoDrivers = [ - "amdgpu" - ]; - - boot.initrd.availableKernelModules = [ - "nvme" - "thunderbolt" - "xhci_pci" - "usbhid" - ]; - - boot.initrd.kernelModules = [ - "amdgpu" - ]; - - environment.systemPackages = [ - pkgs.vulkan-tools - (pkgs.writers.writeDashBin "set_tdp" '' - set -efux - watt=$1 - value=$(( $watt * 1000 )) - ${pkgs.ryzenadj}/bin/ryzenadj --stapm-limit="$value" --fast-limit="$value" --slow-limit="$value" - '') - ]; - - # corectrl - programs.corectrl = { - enable = true; - gpuOverclock = { - enable = true; - ppfeaturemask = "0xffffffff"; - }; - }; - users.users.mainUser.extraGroups = [ "corectrl" ]; - - # keyboard quirks - services.xserver.displayManager.sessionCommands = '' - ${pkgs.xorg.xmodmap}/bin/xmodmap -e 'keycode 96 = F12 Insert F12 F12' # rebind shift + F12 to shift + insert - ''; - services.udev.extraHwdb = /* sh */ '' - # disable back buttons - evdev:input:b0003v2F24p0135* # /dev/input/event2 - KEYBOARD_KEY_70026=reserved - KEYBOARD_KEY_70027=reserved - ''; - - # update cpu microcode - hardware.cpu.amd.updateMicrocode = true; - - hardware.opengl.enable = true; - hardware.opengl.extraPackages = [ - pkgs.amdvlk - pkgs.rocm-opencl-icd - pkgs.rocm-opencl-runtime - ]; - - # suspend to disk - swapDevices = [{ - device = "/swapfile"; - }]; - boot.resumeDevice = "/dev/mapper/aergia1"; - services.logind.lidSwitch = "suspend-then-hibernate"; - services.logind.extraConfig = '' - HandlePowerKey=hibernate - ''; - # systemd.sleep.extraConfig = '' - # HibernateDelaySec=1800 - # ''; - - # firefox touchscreen support - environment.sessionVariables.MOZ_USE_XINPUT2 = "1"; - - # enable thunderbolt - services.hardware.bolt.enable = true; - - # reinit usb after docking station connect - services.udev.extraRules = '' - SUBSYSTEM=="drm", ACTION=="change", RUN+="${pkgs.dash}/bin/dash -c 'echo 0 > /sys/bus/usb/devices/usb9/authorized; echo 1 > /sys/bus/usb/devices/usb9/authorized'" - ''; -} diff --git a/lass/1systems/aergia/source.nix b/lass/1systems/aergia/source.nix deleted file mode 100644 index abbf26c75..000000000 --- a/lass/1systems/aergia/source.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib, pkgs, test, ... }: let - npkgs = lib.importJSON ../../../krebs/nixpkgs-unstable.json; -in { - nixpkgs = (if test then lib.mkForce ({ derivation = let - rev = npkgs.rev; - sha256 = npkgs.sha256; - in '' - with import (builtins.fetchTarball { - url = "https://github.com/nixos/nixpkgs/archive/${rev}.tar.gz"; - sha256 = "${sha256}"; - }) {}; - pkgs.fetchFromGitHub { - owner = "nixos"; - repo = "nixpkgs"; - rev = "${rev}"; - sha256 = "${sha256}"; - } - ''; }) else { - git.ref = lib.mkForce npkgs.rev; - }); -} diff --git a/lass/1systems/blue/config.nix b/lass/1systems/blue/config.nix deleted file mode 100644 index c4286cca3..000000000 --- a/lass/1systems/blue/config.nix +++ /dev/null @@ -1,22 +0,0 @@ -with import ; -{ config, lib, pkgs, ... }: -{ - imports = [ - - - - - - - - - - ]; - - krebs.build.host = config.krebs.hosts.blue; - - networking.nameservers = [ "1.1.1.1" ]; - - time.timeZone = "Europe/Berlin"; - users.users.mainUser.openssh.authorizedKeys.keys = [ config.krebs.users.lass-android.pubkey ]; -} diff --git a/lass/1systems/blue/physical.nix b/lass/1systems/blue/physical.nix deleted file mode 100644 index b6aa3a894..000000000 --- a/lass/1systems/blue/physical.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ - imports = [ - ./config.nix - ]; - boot.isContainer = true; - networking.useDHCP = false; -} diff --git a/lass/1systems/blue/source.nix b/lass/1systems/blue/source.nix deleted file mode 100644 index 0b2bf5f5b..000000000 --- a/lass/1systems/blue/source.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ lib, pkgs, test, ... }: -if test then {} else { - nixpkgs = lib.mkIf (! test) (lib.mkForce { - file = { - path = toString (pkgs.fetchFromGitHub { - owner = "nixos"; - repo = "nixpkgs"; - rev = (lib.importJSON ../../../krebs/nixpkgs.json).rev; - sha256 = (lib.importJSON ../../../krebs/nixpkgs.json).sha256; - }); - useChecksum = true; - }; - }); - nixpkgs-unstable = lib.mkForce { - file.path = "/var/empty"; - }; -} diff --git a/lass/1systems/coaxmetal/config.nix b/lass/1systems/coaxmetal/config.nix deleted file mode 100644 index 7fd76974b..000000000 --- a/lass/1systems/coaxmetal/config.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ config, lib, pkgs, ... }: - -{ - imports = [ - - - - - - - - - - - - - - - - - - - - - # - ]; - - krebs.build.host = config.krebs.hosts.coaxmetal; - - environment.systemPackages = with pkgs; [ - brain - bank - l-gen-secrets - (pkgs.writeDashBin "deploy" '' - set -eu - export SYSTEM="$1" - $(nix-build $HOME/sync/stockholm/lass/krops.nix --no-out-link --argstr name "$SYSTEM" -A deploy) - '') - (pkgs.writeDashBin "usb-tether-on" '' - adb shell su -c service call connectivity 33 i32 1 s16 text - '') - (pkgs.writeDashBin "usb-tether-off" '' - adb shell su -c service call connectivity 33 i32 0 s16 text - '') - ]; - - programs.adb.enable = true; - - hardware.bluetooth = { - enable = true; - powerOnBoot = true; - }; - hardware.pulseaudio.package = pkgs.pulseaudioFull; - - nix.trustedUsers = [ "root" "lass" ]; - - services.tor = { - enable = true; - client.enable = true; - }; - - documentation.nixos.enable = true; -} diff --git a/lass/1systems/coaxmetal/physical.nix b/lass/1systems/coaxmetal/physical.nix deleted file mode 100644 index 6be047300..000000000 --- a/lass/1systems/coaxmetal/physical.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ config, lib, pkgs, modulesPath, ... }: -{ - imports = [ - ./config.nix - (modulesPath + "/installer/scan/not-detected.nix") - ]; - - networking.hostId = "e0c335ea"; - boot.zfs.requestEncryptionCredentials = true; - boot.zfs.enableUnstable = true; - boot.loader.efi.canTouchEfiVariables = true; - boot.loader.grub = { - enable = true; - # device = "/dev/disk/by-id/nvme-WDC_PC_SN730_SDBQNTY-1T00-1001_205349800040"; - device = "nodev"; - efiSupport = true; - # efiInstallAsRemovable = true; - }; - - services.xserver.videoDrivers = [ - "amdgpu" - ]; - - hardware.opengl.extraPackages = [ pkgs.amdvlk ]; - environment.variables.VK_ICD_FILENAMES = - "/run/opengl-driver/share/vulkan/icd.d/amd_icd64.json"; - - boot.initrd.availableKernelModules = [ "nvme" "ehci_pci" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; - boot.kernelModules = [ "kvm-amd" ]; - - fileSystems."/" = { - device = "zpool/root/root"; - fsType = "zfs"; - }; - - fileSystems."/home" = { - device = "zpool/root/home"; - fsType = "zfs"; - }; - - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/50A7-1889"; - fsType = "vfat"; - }; - - services.logind.lidSwitch = "ignore"; - services.logind.lidSwitchDocked = "ignore"; - - # Mouse stuff - services.xserver.libinput.enable = lib.mkForce false; - services.xserver.synaptics.enable = true; - - services.xserver.displayManager.sessionCommands = '' - xinput disable 'ETPS/2 Elantech Touchpad' - xinput set-prop 'ETPS/2 Elantech TrackPoint' 'Evdev Wheel Emulation' 1 - xinput set-prop 'ETPS/2 Elantech TrackPoint' 'Evdev Wheel Emulation Button' 2 - xinput set-prop 'ETPS/2 Elantech TrackPoint' 'Evdev Wheel Emulation Axes' 6 7 4 5 - ''; -} diff --git a/lass/1systems/coaxmetal/source.nix b/lass/1systems/coaxmetal/source.nix deleted file mode 100644 index abbf26c75..000000000 --- a/lass/1systems/coaxmetal/source.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib, pkgs, test, ... }: let - npkgs = lib.importJSON ../../../krebs/nixpkgs-unstable.json; -in { - nixpkgs = (if test then lib.mkForce ({ derivation = let - rev = npkgs.rev; - sha256 = npkgs.sha256; - in '' - with import (builtins.fetchTarball { - url = "https://github.com/nixos/nixpkgs/archive/${rev}.tar.gz"; - sha256 = "${sha256}"; - }) {}; - pkgs.fetchFromGitHub { - owner = "nixos"; - repo = "nixpkgs"; - rev = "${rev}"; - sha256 = "${sha256}"; - } - ''; }) else { - git.ref = lib.mkForce npkgs.rev; - }); -} diff --git a/lass/1systems/daedalus/config.nix b/lass/1systems/daedalus/config.nix deleted file mode 100644 index c34dc0acf..000000000 --- a/lass/1systems/daedalus/config.nix +++ /dev/null @@ -1,115 +0,0 @@ -with import ; -{ config, pkgs, ... }: - -{ - imports = [ - - - - - # - { - # bubsy config - users.users.bubsy = { - uid = genid "bubsy"; - home = "/home/bubsy"; - group = "users"; - createHome = true; - extraGroups = [ - "audio" - "networkmanager" - "pipewire" - # "plugdev" - ]; - useDefaultShell = true; - isNormalUser = true; - }; - networking.networkmanager.enable = true; - networking.wireless.enable = mkForce false; - # programs.chromium = { - # enable = true; - # extensions = [ - # "cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin - # ]; - # }; - environment.systemPackages = with pkgs; [ - ark - pavucontrol - #firefox - chromium - hexchat - networkmanagerapplet - libreoffice - audacity - zathura - skypeforlinux - wine - geeqie - vlc - zsnes - telegram-desktop - ]; - # services.udev.packages = [ pkgs.ledger-udev-rules ]; - nixpkgs.config.firefox.enableAdobeFlash = true; - services.xserver.enable = true; - services.xserver.displayManager.lightdm.enable = true; - services.xserver.desktopManager.plasma5.enable = true; - services.tlp.enable = lib.mkForce false; - services.xserver.layout = "de"; - } - { - users = { - groups.plugdev = {}; - users = { - bitcoin = { - name = "bitcoin"; - description = "user for bitcoin stuff"; - home = "/home/bitcoin"; - isNormalUser = true; - useDefaultShell = true; - createHome = true; - extraGroups = [ - "audio" - "networkmanager" - "plugdev" - ]; - packages = [ - pkgs.electrum - pkgs.electron-cash - pkgs.ledger-live-desktop - ]; - }; - }; - }; - hardware.ledger.enable = true; - security.sudo.extraConfig = '' - bubsy ALL=(bitcoin) NOPASSWD: ALL - ''; - } - { - #remote control - environment.systemPackages = with pkgs; [ - x11vnc - # torbrowser - ]; - krebs.iptables.tables.filter.INPUT.rules = [ - { predicate = "-p tcp -i retiolum --dport 5900"; target = "ACCEPT"; } - ]; - } - ]; - - time.timeZone = "Europe/Berlin"; - - hardware.trackpoint = { - enable = true; - sensitivity = 220; - speed = 0; - emulateWheel = true; - }; - - services.logind.extraConfig = '' - HandleLidSwitch=ignore - ''; - - krebs.build.host = config.krebs.hosts.daedalus; -} diff --git a/lass/1systems/daedalus/physical.nix b/lass/1systems/daedalus/physical.nix deleted file mode 100644 index d10ced7da..000000000 --- a/lass/1systems/daedalus/physical.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ - imports = [ - ./config.nix - - - ]; - - fileSystems = { - "/bku" = { - device = "/dev/mapper/pool-bku"; - fsType = "btrfs"; - options = ["defaults" "noatime" "ssd" "compress=lzo"]; - }; - "/backups" = { - device = "/dev/pool/backup"; - fsType = "ext4"; - }; - }; - - services.udev.extraRules = '' - SUBSYSTEM=="net", ATTR{address}=="08:11:96:0a:5d:6c", NAME="wl0" - SUBSYSTEM=="net", ATTR{address}=="f0:de:f1:71:cb:35", NAME="et0" - ''; -} diff --git a/lass/1systems/dishfire/config.nix b/lass/1systems/dishfire/config.nix deleted file mode 100644 index 279cad10b..000000000 --- a/lass/1systems/dishfire/config.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ config, lib, pkgs, ... }: - -{ - imports = [ - - - - - - ]; - - krebs.build.host = config.krebs.hosts.dishfire; -} diff --git a/lass/1systems/dishfire/physical.nix b/lass/1systems/dishfire/physical.nix deleted file mode 100644 index ca013132f..000000000 --- a/lass/1systems/dishfire/physical.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ config, lib, pkgs, modulesPath, ... }: - -{ - imports = [ - ./config.nix - (modulesPath + "/profiles/qemu-guest.nix") - ]; - - boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "xhci_pci" "sd_mod" "sr_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; - boot.loader.grub.devices = [ "/dev/sda" ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/84053adc-49bc-4e02-8a19-3838bf3a43fd"; - fsType = "ext4"; - }; - - swapDevices = [ ]; -} diff --git a/lass/1systems/echelon/config.nix b/lass/1systems/echelon/config.nix deleted file mode 100644 index eacdff782..000000000 --- a/lass/1systems/echelon/config.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ config, pkgs, ... }: -{ - imports = [ - - - - - - - ]; - - krebs.build.host = config.krebs.hosts.echelon; - - boot.tmpOnTmpfs = true; - -} - diff --git a/lass/1systems/echelon/physical.nix b/lass/1systems/echelon/physical.nix deleted file mode 100644 index fbacc3927..000000000 --- a/lass/1systems/echelon/physical.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ config, lib, pkgs, modulesPath, ... }: -{ - imports = [ - ./config.nix - (modulesPath + "/profiles/qemu-guest.nix") - ]; - - # Use the GRUB 2 boot loader. - boot.loader.grub.enable = true; - boot.loader.grub.version = 2; - boot.loader.grub.efiSupport = true; - boot.loader.grub.efiInstallAsRemovable = true; - # Define on which hard drive you want to install Grub. - boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only - - boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sd_mod" "sr_mod" ]; - boot.initrd.kernelModules = [ "dm-snapshot" ]; - boot.initrd.luks.devices.luksroot.device = "/dev/sda3"; - - networking.useDHCP = false; - networking.interfaces.ens18.useDHCP = true; - - fileSystems."/" = { - device = "/dev/disk/by-uuid/5186edb1-9234-48ae-8679-61facb56b818"; - fsType = "xfs"; - }; - - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/56D1-34A0"; - fsType = "vfat"; - }; - -} diff --git a/lass/1systems/green/config.nix b/lass/1systems/green/config.nix deleted file mode 100644 index 81b8b909b..000000000 --- a/lass/1systems/green/config.nix +++ /dev/n