From 3c2f470382ff48b116607689afc9c6e54283d654 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Fri, 27 Oct 2023 21:22:23 +0200 Subject: [PATCH] sombrero: Remove `bennu` from `syncthing` --- hosts/sombrero/configuration.nix | 6 ------ hosts/sombrero/modules/syncthing/default.nix | 22 +++++--------------- 2 files changed, 5 insertions(+), 23 deletions(-) diff --git a/hosts/sombrero/configuration.nix b/hosts/sombrero/configuration.nix index 8e5dc2b..4a0e6a3 100644 --- a/hosts/sombrero/configuration.nix +++ b/hosts/sombrero/configuration.nix @@ -61,12 +61,6 @@ isNormalUser = true; hashedPassword = "$6$3mkwaUWd8NA6XuEb$x80tETKGz6FEG.kej3v5Vh6hRNoC6bikhXogTP.zZwYtISA46JaN3RMK3ckbqt8Aj52d3krSLOfBaAR1qzuJ2/"; extraGroups = [ "wheel" ]; - - openssh.authorizedKeys = { - keys = [ - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQD8g63nIaOg67kwwEd5cGXvzaTL1PefLwonKkDy1P2cJjngcH/cBmgzXUZWxWqgBIENZ3mj0EJtoD556tprRRFj9COdAEI9bxn2NkoqPCu8f7SttQTeVA63ZbAR7AHPMMngBxRiQy6SIo6mQteXha1z99+g0YHETct/qhmm2AbtakF+NSb0bIqrFYnOl7iSW4cotGjibAyX74b4dBe9A2sIYwmBs4IMjLlHmcrmqLqPIAGWY1EgNV/HIN06whbkSjpoxaFAZpxoVskk/syjzD/RRSLnFhXbljZeRkUp1nFsELNGgugQo3fx1oxigfgzo09QSRDuB6eb2Ol1XnnNU0vcJPio9PmIR9aOiinVx/i/N0QvQtedoxNgLR4bayJrOxL7wYvWGW50TCLEIZ+OnPp6HW5mGHaOWjeKymjBCXpQumTcv3TBZpsHvQ5vbTU2otbbof/1ScEzfS9XBxWPH89dua1aPBcHk58jGbNz7jRLBPNSmDgvuIMAeavrDbHu5p22XnHOPz9f2aCkX2M6ll17mN1dMc8v6/i9/gV7bmSj+DAwQEjxtYd1eQFGw9VvmDfTdzpBhLmnNAIdbHJo3WMsY0AZCvov0mEu7qJA8hrmm4ITb9pO0ZhfYfF1bZVbYfKAdF3hWPn5vxQFXKUogSXjU8lIn6Bu+Vw40IteDy2aKQ== alex.bennu@sombrero" - ]; - }; }; }; diff --git a/hosts/sombrero/modules/syncthing/default.nix b/hosts/sombrero/modules/syncthing/default.nix index a190816..90f2201 100644 --- a/hosts/sombrero/modules/syncthing/default.nix +++ b/hosts/sombrero/modules/syncthing/default.nix @@ -43,25 +43,13 @@ in devices = { phone.id = "NJIMX57-C2CGV76-GXMAQYV-ABWDA7Z-TS6UV2X-NVL5UPG-UFEQH4C-TKYA6QM"; - bennu.id = "YXA2PVY-XNUS5HZ-4ZC6A65-O3JRY3S-P6UKE6N-FSUBOYE-JZ7UJWR-ILXMUAW"; pinwheel.id = "AKS5L2A-NFCG5GV-3U5SSSZ-PLOX6BQ-ZL5ALXI-D7OK4KE-R2JPWRJ-B6AQJQ7"; }; folders = { - "hosts" = { - path = "/home/alex/backup/sync/hosts"; - devices = [ "bennu" ]; - versioning = { - type = "staggered"; - params = { - maxAge = "2592000"; # 30 days - }; - }; - }; - "org" = { path = "/home/alex/backup/sync/org"; - devices = [ "phone" "bennu" "pinwheel" ]; + devices = [ "phone" "pinwheel" ]; versioning = { type = "staggered"; params = { @@ -72,7 +60,7 @@ in "phone-gps" = { path = "/home/alex/backup/sync/gps"; - devices = [ "bennu" "phone" ]; + devices = [ "phone" ]; versioning = { type = "staggered"; params = { @@ -83,7 +71,7 @@ in "personal" = { path = "/home/alex/backup/sync/personal"; - devices = [ "bennu" "pinwheel" ]; + devices = [ "pinwheel" ]; versioning = { type = "staggered"; params = { @@ -94,7 +82,7 @@ in "work" = { path = "/home/alex/backup/sync/work"; - devices = [ "bennu" "pinwheel" ]; + devices = [ "pinwheel" ]; versioning = { type = "staggered"; params = { @@ -116,7 +104,7 @@ in "books" = { path = "/home/alex/backup/books"; - devices = [ "bennu" "pinwheel" ]; + devices = [ "pinwheel" ]; versioning = { type = "staggered"; params = {