feat: add nougat-2 to pub.solar/infra branch #251

Closed
b12f wants to merge 3 commits from pub.solar/nougat-2 into infra
8 changed files with 79 additions and 29 deletions
Showing only changes of commit fd07ef9a84 - Show all commits

View file

@ -188,11 +188,16 @@
path = self.pkgs.x86_64-linux.nixos.deploy-rs.lib.activate.home-manager self.homeConfigurationsPortable.x86_64-linux.barkeeper;
};
};
nougat-2 = {
sshUser = "yule";
hostname = "nougat-2.b12f.io";
fastConnect = true;
profilesOrder = ["system" "direnv"];
profiles.direnv = {
user = "barkeeper";
path = self.pkgs.x86_64-linux.nixos.deploy-rs.lib.activate.home-manager self.homeConfigurationsPortable.x86_64-linux.barkeeper;
};
};
#example = {
# hostname = "example.com:22";

View file

@ -15,8 +15,8 @@
''}";
};
in {
age.secrets."hosting.de-api.key" = {
file = "${self}/secrets/hosting.de-api.key";
age.secrets."hosting.de-api-key.age" = {
file = "${self}/secrets/hosting.de-api-key.age";
mode = "440";
group = "acme";
};
@ -43,8 +43,8 @@ in {
isReadOnly = false;
};
"${config.age.secrets."hosting.de-api.key".path}" = {
hostPath = "${config.age.secrets."hosting.de-api.key".path}";
"${config.age.secrets."hosting.de-api-key.age".path}" = {
hostPath = "${config.age.secrets."hosting.de-api-key.age".path}";
isReadOnly = true;
};
};

View file

@ -1,7 +1,5 @@
{suites, ...}: {
imports =
[
./nougat-2.nix
]
++ suites.nougat-2;
{...}: {
imports = [
./nougat-2.nix
];
}

View file

@ -3,6 +3,7 @@
pkgs,
lib,
self,
profiles,
fix-atomic-container-restartsModulesPath,
...
}:
@ -13,6 +14,11 @@ in {
imports = [
./configuration.nix
profiles.base-user
profiles.users.root # make sure to configure ssh keys
profiles.users.barkeeper
./acme.nix
./caddy.nix
./keycloak.nix

View file

@ -0,0 +1,21 @@
age-encryption.org/v1
-> ssh-ed25519 Y0ZZaw mpeEJ0Pmd9BR/HQ6tcY4H38pCNrel+8L6WgnPj77ByQ
UdF11WoYedaNjDwLhGplUlHYtAW9wSTLrf6BMSQGXa8
-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^}-p9<70>`B

View file

@ -23,4 +23,5 @@ in {
"mailman-core-secrets.age".publicKeys = deployKeys;
"mailman-web-secrets.age".publicKeys = deployKeys;
"mailman-db-secrets.age".publicKeys = deployKeys;
"hosting.de-api-key.age".publicKeys = deployKeys;
}