-
integrate existing dotfiles into home manager
-
setup vaultwarden backup + syncthing to devices
-
restore films form backup drive
-
sync everything from old laptops to SMB
-
setup restic on external drive
-
homepage integration with API's (proxmox, syncthing, etc)
-
homeassistant
Nix does not allow for symlinks outside of the nix store, explore options to combine Stow + Nix to combine both and make editing of symlink possible without rebuilding
TODO: seperate nixos into modules, see here: https://github.com/LongerHV/nixos-configuration/blob/f844fab9280eeefcf689c68b1f630cd42fa3cc8a/modules/nixos/homelab/default.nix https://www.reddit.com/r/homelab/comments/vhnjna/building_a_home_server_on_nixos/
sudo mount -t cifs -o username=,password=,uid=1000,gid=1000,dir_mode=0777,file_mode=0777 //192.168.2.5//nas mnt/nas
on server:
iperf -s -Dto start deamonhtopto show stats
on client (arar mac):
iperf3 -B 192.168.2.3 -c 192.168.2.10 -t 60
nix-shell -p git
git clone [email protected]:artsbentley/nix-config.git
git clone https://github.com/artsbentley/nix-config.gitoverwrite the hardware configuration
mkdir -p machines/nixos/arar/hardware
cp /etc/nixos/hardware-configuration.nix machines/nixos/arar/hardware/default.nixadd ssh key for easy ssh
ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected]add age ssh certificate
scp ~/.ssh/id_rsa [email protected]:~/.ssh/
scp ~/.ssh/id_rsa.pub [email protected]:~/.ssh/restore appdata
eza nas/Backups/restic/appdata/snapshots -l --sort newest
restic restore latest --target /home/arar/appdata -r nas/Backups/restic/appdataadjust ownership if needed
sudo chown -R share:share appdataretrieve new tailscale auth token and set agenix secret
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
nix-shell '<home-manager>' -A installtype fish
fish is /etc/profiles/per-user/arar/bin/fish echo "/etc/profiles/per-user/arar/bin/fish" | sudo tee -a /etc/shellschsh -s /etc/profiles/per-user/arar/bin/fishnas structure:
nas
├── Backups
│ ├── restic
│ │ ├── appdata
│ └── vaultwarden
├── Documents
│ └── Paperless
│ ├── Documents
│ ├── Export
│ └── Import
├── Media
│ ├── Audiobooks
│ ├── Books
│ ├── Downloads
│ ├── Movies
│ ├── Music
│ └── TV
└── Syncthing
├── Downloads
└── obsidian