This repository is home to the nix code that builds my systems.
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.