Skip to content

Commit

Permalink
[yuggoth] Include barrucadu-website-mirror template
Browse files Browse the repository at this point in the history
  • Loading branch information
barrucadu committed Dec 10, 2024
1 parent 1404c46 commit 218353f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
21 changes: 20 additions & 1 deletion hosts/yuggoth/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@

with lib;
{
imports = [
../_templates/barrucadu-website-mirror.nix
];

###############################################################################
## General
###############################################################################

networking.hostId = "62f520b4";
boot.supportedFilesystems = { zfs = true; };

Expand All @@ -28,5 +36,16 @@ with lib;
nixfiles.eraseYourDarlings.machineId = "ee9cfe217f0f4d45bab5e897e782ca91";
nixfiles.eraseYourDarlings.barrucaduPasswordFile = config.sops.secrets."users/barrucadu".path;
sops.secrets."users/barrucadu".neededForUsers = true;
}

###############################################################################
## Nyarlathotep Sync
###############################################################################

nixfiles.bookdb.remoteSync.receive.enable = true;
nixfiles.bookdb.remoteSync.receive.authorizedKeys =
[ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIChVw9DPLafA3lCLCI4Df9rYuxedFQTXAwDOOHUfZ0Ac remote-sync@nyarlathotep" ];

nixfiles.bookmarks.remoteSync.receive.enable = true;
nixfiles.bookmarks.remoteSync.receive.authorizedKeys =
[ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIChVw9DPLafA3lCLCI4Df9rYuxedFQTXAwDOOHUfZ0Ac remote-sync@nyarlathotep" ];
}
7 changes: 5 additions & 2 deletions hosts/yuggoth/secrets.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
users:
barrucadu: ENC[AES256_GCM,data:AydpgRw6tSPNsj0YJgNKDIwcCF2bo+vwJhrRJhbeJAY39yJHlP9xTarGGNBAczrKBwKKMN2EAA27hRyX+tDc/ne9mtOx4P5JS86mN9wkLKpaHbIamJNGfatDlu3uBvStNIKSC/CrnsFZ,iv:fW5+OJ2O8R9VB6YmKUP3jmKOHDEtZ4fBsVUmqbrkPjw=,tag:N04QCMG9/WV10Sd1lgGzhA==,type:str]
services:
acme:
env: ENC[AES256_GCM,data:GHl2YC2l7+7yQILAB7RfW7H8FT1+ZvJwyLq0eDFbsWNIPi+h+bmCuCIB/q7oZ6IlPKzlQh8h5VmzHM5WP2tSymIe09teKwwL7i0JrjMYXnQK9sYklZ/k5vi4zJUGgJa9YCupxN7w,iv:r2tDm1HaC+aTX2/ADLRQubzCKzzKMbeEK25kPYLMyHI=,tag:Xzv8N3+fbExHNIhTUeOPtw==,type:str]
sops:
kms: []
gcp_kms: []
Expand All @@ -24,8 +27,8 @@ sops:
NVBIU1I2MDRqVGt3eGRzbjdDb0d5Yk0KGPo6sIu5pp6s1r/IhyNjfNgDwxl3SWM3
TMmIsx3iHsy+xgxUuGQXCsUkCy4YBzEjRVVtycCRfd5IAXryGhHEuQ==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-12-10T21:19:17Z"
mac: ENC[AES256_GCM,data:yqZiP7oWMe+5fBa9cNb6+OG8XWKX9gV4JZ2STU6Z5mgiEUBS5S/ubt/l9xqUO7yI0562r0XEW0MrUTBUNK2ARtYnbVtZcYFWka9yX78mac6OYJpMlUeDBAL3yeHtZ7cmJhocirbGrTfFL2OHzy246gQy+f41NRDqoAvzZ7yAGxU=,iv:NmYcM/JyZKuaB8SWCxQGS3IMfNzkC34eHfuX7CAvFGg=,tag:vpfU5yYYxnTGfULlkchYvg==,type:str]
lastmodified: "2024-12-10T21:54:13Z"
mac: ENC[AES256_GCM,data:oOdA0OIYr7LBbzVXon1xSE3sgQbjKAFQH9X2TVAeBwVOvvfdYF3fzjApZnkXA5DCCqnNwt9uLrsASjsaIQadbvpsq72S9WKY+M1jDHUQTRlLmL4V/ptEQ4gmY5ik1BBH6OQdYl44ZTG2JadpkQTH/SVQJrH3BMz6r30398VGHyM=,iv:RtRsvv0vEsfckNQ4ipoK5DhurlHlb6zLF2iMuCbLg9I=,tag:zRdJhrlur3HnXexbvVA+FA==,type:str]
pgp: []
unencrypted_suffix: _unencrypted
version: 3.8.1

0 comments on commit 218353f

Please sign in to comment.