From 5e1682924537d1975f22c09683f2c162c1dceef6 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Thu, 7 Nov 2024 19:49:11 +0100 Subject: [PATCH] Rclone mount thor --- flake.nix | 1 + instances/thor/hm.nix | 1 + secrets/s3_thor.age | 9 +++++++++ secrets/secrets.nix | 1 + 4 files changed, 12 insertions(+) create mode 100644 secrets/s3_thor.age diff --git a/flake.nix b/flake.nix index 3242cfa..5b80b7f 100644 --- a/flake.nix +++ b/flake.nix @@ -255,6 +255,7 @@ # S3 cache write ./modules/nixos/s3_cache_write.nix + { age.secrets.s3_thor = { file = ./secrets/s3_thor.age; owner = "bertof"; }; } ./modules/nixos/pro_audio.nix ./modules/nixos/kdeconnect.nix diff --git a/instances/thor/hm.nix b/instances/thor/hm.nix index 0fe6cf9..b7eef5e 100644 --- a/instances/thor/hm.nix +++ b/instances/thor/hm.nix @@ -124,6 +124,7 @@ ../../modules/hm/picom.nix ../../modules/hm/pro_audio.nix # ../../modules/hm/pycharm.nix + ../../modules/hm/rclone-mount.nix ../../modules/hm/research.nix # ../../modules/hm/rofi.nix # ../../modules/hm/screen_locker.nix diff --git a/secrets/s3_thor.age b/secrets/s3_thor.age new file mode 100644 index 0000000..9ead923 --- /dev/null +++ b/secrets/s3_thor.age @@ -0,0 +1,9 @@ +age-encryption.org/v1 +-> ssh-ed25519 hGQASA +TjbxMJUH4FECE2myLZfV9YYtIKMCGHZEljgtuncDwc +3XYHt2PG/HmxWE88abmrUErXtRYh2nKqrjaxdqcpA44 +-> ssh-ed25519 4behFA n89pMD7cjpVIa7bPFb/8fBlPY2gVhuAzSttwdxAhvQg +lW9mJqD/O1uHilpe7mdfY/Rc01qdqADhzT2v3i9RCH4 +-> ssh-ed25519 v7O/FA djMLL9X07MYz6mm3QM8PgELhT6pIkjoHS2/oR1QSAjA +VKWaKuC2NrK+kPQAuYcXJWtxfjLZh3xDqqgvi9PrJn0 +--- /kfOxqsXIwZ/UU1X9EJ3DeWPV1m9zUK6Q0ORXx/yKWw +gM ?,E.76+FGŕ`Z` \%3K:93p^1B_x%s4߭D€t1IKl:lpzs<؋N{J&~X9qW{bJ7ۃŸWZ2Xa+i*uXd]~9T.Z"8}U@ jx>"!J3 \ No newline at end of file diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 0e0a8c1..eaf6231 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -50,4 +50,5 @@ in "s3_cache_write.age".publicKeys = devUsers ++ [ thor odin ]; "s3_cache_read.age".publicKeys = devUsers ++ systems; "s3_odin.age".publicKeys = devUsers ++ [ odin ]; + "s3_thor.age".publicKeys = devUsers ++ [ thor ]; }