No description
  • Nix 99.4%
  • Shell 0.6%
Find a file
2026-08-30 16:57:39 +10:00
checks Added eww module for configuring eww in nix 2026-08-10 14:53:38 +10:00
home Updated to 26.04 and added oci cache to minerva 2026-08-29 18:22:18 +10:00
hosts Fixed share name being too long 2026-08-30 16:56:06 +10:00
lib Placed the new assertion in the right spot 2026-08-30 16:57:39 +10:00
modules Updated to 26.04 and added oci cache to minerva 2026-08-29 18:22:18 +10:00
overlays Updated to 26.04 and added oci cache to minerva 2026-08-29 18:22:18 +10:00
pkgs Added Bluetooth and changed formatter 2025-08-23 11:20:42 +10:00
.gitignore Added Sops package 2025-07-26 23:29:28 +10:00
flake.lock Added new network shares 2026-08-30 13:16:35 +10:00
flake.nix Updated to 26.04 and added oci cache to minerva 2026-08-29 18:22:18 +10:00
README.md Added client for documents 2026-08-30 16:46:01 +10:00
shell.nix Added Bluetooth and changed formatter 2025-08-23 11:20:42 +10:00
treefmt.nix Added Bluetooth and changed formatter 2025-08-23 11:20:42 +10:00

TODO

Bootstrapping

nix-shell -p git
mv /etc/nixos /etc/nixos.old
git clone https://forgejo.rampedindent.xyz/Viktoriya-Dotfiles/NixOs.git /etc/nixos
cp /etc/nixos.old/hardware-configuration.nix /etc/nixos/hosts/Manda/hardware-configuration.nix

nixos-rebuild switch --flake /etc/nixos/#Manda

Inspiration

https://unmovedcentre.com/posts/secrets-management/#generating-access-keys

Configure NFS

Generate New key paris

private_key="$(wg genkey)" && printf 'Private key: %s\nPublic key:  %s\n' \
  "$private_key" "$(printf '%s' "$private_key" | wg pubkey)"

Connect non nix client

[Interface]
Address = <share.clientAddress>  # e.g., 192.168.50.x/24
PrivateKey = <your-private-key>

[Peer]
PublicKey = <share.serverPublicKey>
AllowedIPs = <share.serverAddress>/32  # e.g., 192.168.50.1/32
Endpoint = 192.168.50.27:<share.listenPort>
PersistentKeepalive = 25
chmod 600 /etc/wireguard/wg0.conf
wg-quick up wg0
<serverAddress>:<remoteDirectory>  <mountPoint>  nfs4  nfsvers=4.2,proto=tcp,_netdev  0  0