Commit Graph

584 Commits

Author SHA1 Message Date
Motiejus Jakštys 62e00f3bc7 fwminex: firewall and swap devices 2023-09-14 06:41:37 +03:00
Motiejus Jakštys 85917635fd sshguard is now optional 2023-09-14 06:41:16 +03:00
Deployerbot Main f34af96bc4 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/36bee398beca22e2428074e0a2e068d87f801718' (2023-09-12)
  → 'github:NixOS/nixpkgs/e27ca312d56522b907b998c2ff99169bf12639f2' (2023-09-13)
2023-09-13 23:30:50 +00:00
Motiejus Jakštys 182a87b0b9 another fix for swap devices 2023-09-13 15:18:25 +03:00
Motiejus Jakštys e617dbf55f fwminex: fix swap and docker 2023-09-13 15:13:44 +03:00
Motiejus Jakštys 2220be3c81 fwminex: set hostid 2023-09-13 14:46:58 +03:00
Motiejus Jakštys b5a3e29e6f force no legacy grub (now) 2023-09-13 14:14:25 +03:00
Motiejus Jakštys 7775c760fa fwminex: update partition scheme 2023-09-13 13:54:22 +03:00
Motiejus Jakštys 8a01703bb1 fwminex: disable postfix temporarily 2023-09-13 13:30:16 +03:00
Motiejus Jakštys 234933dee1 install smartmontools 2023-09-13 13:29:06 +03:00
Motiejus Jakštys e38f446793 add fwminex 2023-09-13 13:04:40 +03:00
Motiejus Jakštys e12e139128 samba: make file/dir masks a bit more restrictive 2023-09-13 09:00:28 +03:00
Motiejus Jakštys 00a6a27b92 zfsborg: use TemporaryFileSystem for temp snapshots
Otherwise:

Sep 13 00:01:05 vno1-oh2 systemd[1]: Started BorgBackup job -var-lib-1.
Sep 13 00:01:06 vno1-oh2 borgbackup-job--var-lib-1-start[329228]: filesystem 'rpool/nixos/var/lib@autosnap_2023-09-12_21:00:06_hourly' is already mounted
Sep 13 00:01:06 vno1-oh2 borgbackup-job--var-lib-1-start[329209]: umount: /var/lib/.snapshot-latest: not mounted.
Sep 13 00:01:06 vno1-oh2 systemd[1]: borgbackup-job--var-lib-1.service: Main process exited, code=exited, status=32/n/a
Sep 13 00:01:06 vno1-oh2 systemd[1]: borgbackup-job--var-lib-1.service: Failed with result 'exit-code'.
Sep 13 00:01:06 vno1-oh2 systemd[1]: borgbackup-job--var-lib-1.service: Triggering OnFailure= dependencies.
2023-09-13 08:37:35 +03:00
Deployerbot Main 6bdaca4095 flake.lock: Update
Flake lock file updates:

• Updated input 'deploy-rs':
    'github:serokell/deploy-rs/d0cfc042eba92eb206611c9e8784d41a2c053bab' (2023-09-08)
  → 'github:serokell/deploy-rs/31c32fb2959103a796e07bbe47e0a5e287c343a8' (2023-09-12)
• Updated input 'flake-utils':
    'github:numtide/flake-utils/f9e7cf818399d17d347f847525c5a5a8032e4e44' (2023-08-23)
  → 'github:numtide/flake-utils/ff7b65b44d01cf9ba6a71320833626af21126384' (2023-09-12)
• Updated input 'home-manager':
    'github:nix-community/home-manager/5bac4a1c06cd77cf8fc35a658ccb035a6c50cd2c' (2023-08-28)
  → 'github:nix-community/home-manager/9787dffff5d315c9593d3f9fb0f9bf2097e1b57b' (2023-09-11)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e20410d4224c6d5ae4acc9d492b4f5b443e90b86' (2023-09-10)
  → 'github:NixOS/nixpkgs/36bee398beca22e2428074e0a2e068d87f801718' (2023-09-12)
2023-09-12 23:30:52 +00:00
Motiejus Jakštys 4f152205ce samba: log level = 0 2023-09-12 23:27:23 +03:00
Motiejus Jakštys bef137b967 wsdd: specify existing hostname 2023-09-12 23:18:46 +03:00
Motiejus Jakštys 53ce3910aa replace nmbd with wsdd
https://askubuntu.com/questions/661611/make-samba-share-visible-in-windows-network
2023-09-12 23:10:59 +03:00
Motiejus Jakštys e45573c8a6 fix samba config
works!
2023-09-12 22:55:17 +03:00
Motiejus Jakštys 4f45d605e1 vno1-rp3b: some attempts at samba 2023-09-12 17:44:17 +03:00
Motiejus Jakštys 7891663a65 jakstpub: change home dir to /var/empty 2023-09-12 17:27:11 +03:00
Motiejus Jakštys 93d3eed065 hdd.jakstys.lt 2023-09-12 17:25:07 +03:00
Motiejus Jakštys 2dd8cda85a open up samba 2023-09-12 16:08:32 +03:00
Motiejus Jakštys e61944dfde rewrite firewall rules 2023-09-12 15:46:44 +03:00
Motiejus Jakštys 2b5b9bc57f samba some progress 2023-09-12 13:31:46 +03:00
Motiejus Jakštys dea3eef575 fra1-a: disable zfsunlock 2023-09-12 12:25:30 +03:00
Motiejus Jakštys 49d92971c9 pass BORG_HOST_ID correctly 2023-09-12 11:41:45 +03:00
Motiejus Jakštys b204d5532f zfsborg: add BORG_HOST_ID if nics change 2023-09-12 11:30:08 +03:00
Motiejus Jakštys 563d340013 add lshw 2023-09-12 11:17:50 +03:00
Motiejus Jakštys 5cfc0a62b9 vno1-oh2: mitigating the NIC 2023-09-12 09:59:55 +03:00
Motiejus Jakštys 92e940e1d4 wip samba 2023-09-12 09:42:20 +03:00
Motiejus Jakštys 94253212c6 networking.firewall.checkReversePath = "loose" for tailscale 2023-09-11 22:38:44 +03:00
Motiejus Jakštys f33f8b3d1b add bonnie++, remove nix-top 2023-09-11 22:01:59 +03:00
Motiejus Jakštys 80aca1ede2 Revert "firewall: open iperf3 fully"
This reverts commit 56bc914934.
2023-09-11 21:59:43 +03:00
Motiejus Jakštys 56bc914934 firewall: open iperf3 fully 2023-09-11 21:54:12 +03:00
Motiejus Jakštys 24412cbfc7 iperf: open up port 2023-09-11 21:43:34 +03:00
Motiejus Jakštys 99342a6bb9 all: add iperf 2023-09-11 21:32:34 +03:00
Motiejus Jakštys 05b7858035 borgstor: add remaining paths 2023-09-11 17:50:59 +03:00
Motiejus Jakštys 27d663e63a bugfix in attrset merging 2023-09-11 17:48:08 +03:00
Motiejus Jakštys d1a7aebfc9 borgstor: add /var/log for testing 2023-09-11 17:40:47 +03:00
Motiejus Jakštys a522300158 borgbackup: add numbers to jobs 2023-09-11 17:38:18 +03:00
Motiejus Jakštys 5721531486 nitpicking 2023-09-11 17:27:14 +03:00
Motiejus Jakštys 583f74cf3f zfsborg: restructure config
Preparing for 2 repo destinations.
2023-09-11 17:25:12 +03:00
Motiejus Jakštys 866347b042 add borgstor 2023-09-11 15:51:33 +03:00
Motiejus Jakštys 377030d0c0 headscale: remove ipv6 subnet
it's confusing: I couldn't find an easy way to get the ipv4 address on a client
2023-09-11 14:37:05 +03:00
Motiejus Jakštys 31f1d6d669 vno1-rp3b: some mountpoints 2023-09-11 14:20:07 +03:00
Motiejus Jakštys 0246f9fd69 vno1-rp3b: remove audio/video 2023-09-11 13:25:46 +03:00
Motiejus Jakštys ae7b12a04f vno1-rp3b: move datapool-passphrase to /etc 2023-09-11 13:05:42 +03:00
Motiejus Jakštys 3f341ed3df change the passphrase 2023-09-11 12:57:52 +03:00
Motiejus Jakštys 85e6fbfadb vno1-rp3b datadisk passphrase 2023-09-11 12:01:03 +03:00
Motiejus Jakštys 03728838f4 vno1-rp3b: support zfs 2023-09-11 11:01:33 +03:00