Skip to content

Latest commit

 

History

History
124 lines (99 loc) · 5.89 KB

File metadata and controls

124 lines (99 loc) · 5.89 KB

NixOS Configuration

This repository lives on https://git.zweili.org/. Due to agressive LLM crawlers I had to make it private there. If you want to collaborate you can contact me through email or Mastodon.

This repository contains my configuration for my Nixos systems. I don’t provide any garantuees that it will work on other systems. In addition some of the scripts required for installation will destroy your data when used.

Desktop Profile Tools

Custom Scripts

ToolDescription
az-mediaOpen four shuffled mpv instances for ambient playback
dap-syncSynchronise files with a DAP device
download-articlesDownload web articles for offline reading
download-playlistDownload playlists via yt-dlp
download-videoDownload a single video via yt-dlp
jdownloaderLaunch JDownloader 2 download manager
sidecar-cleanupRemove sidecar files left by photo tools
swiss-qr-bill-decoderDecode a Swiss QR bill (image/PDF) to clipboard
toggle-keyboardToggle an external keyboard on/off via evtest
video-to-mpvConvert videos to an mpv-compatible format
watch-playlistPlay a playlist with the custom mpv build
watch-random-videoPlay a random video from a directory
watch-videoPlay a video with the custom mpv build
zappFlash ZSA keyboard firmware

Photography

ToolDescription
darktableRAW image processor with custom Lua automation
digikamPhoto organiser and image viewer
huginPanoramic image stitcher
rapid-photo-downloaderImport photos from cameras and memory cards

Media & Entertainment

ToolDescription
beetsMusic library organiser and tagger
calibreEbook library manager
lollypopMusic player
mpvVideo player with custom shuffle and rotation support
plex-desktopPlex media player client

Office & Productivity

ToolDescription
espansoText expander with date/time shortcuts
libreofficeOffice suite (documents, spreadsheets, presentations)
zoteroCitation and bibliography manager

Communication

ToolDescription
signal-desktopEncrypted private messaging
telegram-desktopMessaging platform

Utilities

ToolDescription
czkawkaDuplicate and similar file finder
exercismProgramming exercise platform CLI
keepassxcPassword manager
meldVisual diff and merge tool
pdfgrepSearch text inside PDF files
remminaRemote desktop client (RDP, VNC, SSH)
syncthingtraySystem tray interface for Syncthing file sync
taggerAudio file tag editor

Development

ToolDescription
dbeaver-binUniversal database GUI client
emacsExtensible text editor (Wayland/pgtk build)
ghGitHub CLI
gitVersion control system
nix-prefetch-githubFetch Nix hash for a GitHub source
nix-prefetch-scriptsFetch Nix hashes for various source types
nix-treeVisualise Nix package dependency trees
npsRun npm scripts interactively
termscpTerminal SCP/SFTP client
trippyNetwork diagnostic tool (traceroute + ping)

Installation

x86_64-linux without disko

  1. Boot the installation ISO.
  2. Format the disk with the following script sudo ./scripts/format-disk.sh. Make sure to edit it beforehand, to point it to the correct disk.
  3. Next install the system with sudo nixos-install --no-root-passwd --root /mnt/nixos --impure --flake .#SYSTEMNAME --no-channel-copy
  4. Rename the partitions with the script sudo ./scripts/rename-partitions.sh. With this script as well. Check that you’re pointing to the correct disk.

When everything is finished you can reboot the system and remove the USB stick. You have now a fully encrypted NixOS system.

Additional script

  • If you only want to prepare an SD card with an UEFI partition for a Raspberry Pi 4 you can use the script sudo ./scripts/create-uefi.sh. This is currently outdated and not needed for SD cards formatted with disko. But it might be needed for systems that don’t have the UEFI parition on the same device.

Non-Nixos System

./scripts/install-home-manager.sh