This repository is home to the nix code that builds my systems.
- Activate the SSH agent in 1password
- Enable system authentication in 1password
- enroll fingerprints
for finger in {left,right}-{index,middle}-finger; fprintd-enroll -f "$finger" "$USER"; end
- Ferdium: import data, uncheck "Launch Ferdium on start", "Always show Ferdium in system tray", and "Enable updates".
- Import Thunderbird data
- keyring in
argv.json
for VSCode: https://code.visualstudio.com/docs/editor/settings-sync#_recommended-configure-the-keyring-to-use-with-vs-code - Zoom configuration according to https://wiki.archlinux.org/title/Zoom_Meetings
openconnect-sso
(from a fork) installed to a profilenix profile install github:jacekszymanski/openconnect-sso
For sops-nix:
mkdir -p ~/.config/sops/age
- generate age private key from SSH key
nix-shell -p ssh-to-age --run "ssh-to-age -private-key -i ~/.ssh/id_ed25519 > ~/.config/sops/age/keys.txt"
- find corresponding age public key
age-keygen -y ~/.config/sops/age/keys.txt
- host public key
nix-shell -p ssh-to-age --run 'cat /etc/ssh/ssh_host_ed25519_key.pub | ssh-to-age'
Nix allows for easy to manage, collaborative, reproducible deployments. This means that once something is setup and configured once, it works forever. If someone else shares their configuration, anyone can make use of it.
This flake is configured with the use of digga.
Clone this into ~/.config
, then:
direnv allow
sudo cachix use nrdxp
sudo cachix use nix-community
sudo cachix use robertodr
You can rebuild the NixOS configuration with:
$ sudo nixos-rebuild --flake .#<hostname> ...
Here ...
is any of the commands accepted by nixos-rebuild
.
- ZFS on NixOS: https://openzfs.github.io/openzfs-docs/Getting%20Started/NixOS/index.html#
Note that you need to run commands to actually make the swap:
mkswap -L swap ${DISK}-part4
swapon /dev/nvme...p4
- Old wiki page for ZFS on NixOS: https://nixos.wiki/index.php?title=ZFS&oldid=7622
- BorgBackup configuration: https://nixos.wiki/wiki/Borg_backup
- ZFS snapshot to borgbackup: https://github.com/scotte/borgsnap
- https://github.com/SenchoPens/base16.nix
- https://github.com/danth/stylix
- https://github.com/lgaboury/Sway-Waybar-Install-Script
- https://github.com/montchr/dotfield
- https://github.com/GTrunSec/nixos-flk
- https://github.com/linyinfeng/dotfiles
- https://git.sr.ht/~jshholland/nixos-configs/tree/master
Use syncthing
to transfer data
Follow this guide: https://serverfault.com/a/1040984
Follow: https://support.mozilla.org/en-US/kb/profiles-where-thunderbird-stores-user-data
To back up open tabs, bookmark them all in a folder. After restoring Brave, you can re-open them all.
- In Ferdium: Help > Import/Export Configuration Data
- In the browser window, click on "Export Data" and save it.
- Sync the file with Syncthing.
- In Ferdium: Help > Import/Export Configuration Data
- In the browser window, click on "Import Data".
You need to re-login on all services...
- Tools > Options > Synchronization.
- Select "Nextcloud" as sychronization target.
- Use https://yoshimi.totaltrash.xyz/remote.php/dav/files/robertodr/joplin as WebDAV URL
- Insert username and password, check configuration.