mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-05 20:56:33 +05:30
change controller hostname to arcturus
This commit is contained in:
@ -4,7 +4,7 @@ keys:
|
||||
|
||||
- &hosts
|
||||
- &canopus age1cc9phftkzcwaey2rw63m74tyxdjxxzanxphsdrhy6vwlwhgehfzq9rh6e4
|
||||
- &controller age1zsl5d4vj6gl3h96y5p53sq5y4vr4vtlwp727h7rp9a4xfkxm53lqrh6r50
|
||||
- &arcturus age1zsl5d4vj6gl3h96y5p53sq5y4vr4vtlwp727h7rp9a4xfkxm53lqrh6r50
|
||||
- &alpha age145uq9emlxqzm3wqauy9zqj78wqx9e6h09xag6wust7jjgn4upfzsaemcvx
|
||||
- &wsl age1lyvzg4ud96trsuv6gsvjw0p3rtd6qjpyl9uleq8hcrzwekuhpfesnlqauf
|
||||
|
||||
@ -14,7 +14,7 @@ creation_rules:
|
||||
- age:
|
||||
- *tux
|
||||
- *canopus
|
||||
- *controller
|
||||
- *arcturus
|
||||
- *alpha
|
||||
- *wsl
|
||||
- path_regex: hosts/canopus/secrets.yaml$
|
||||
@ -26,7 +26,7 @@ creation_rules:
|
||||
key_groups:
|
||||
- age:
|
||||
- *tux
|
||||
- *controller
|
||||
- *arcturus
|
||||
- path_regex: hosts/alpha/secrets.yaml$
|
||||
key_groups:
|
||||
- age:
|
||||
|
@ -65,10 +65,10 @@
|
||||
];
|
||||
};
|
||||
|
||||
controller = nixpkgs.lib.nixosSystem {
|
||||
arcturus = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs username;};
|
||||
modules = [
|
||||
./hosts/controller
|
||||
./hosts/arcturus
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
@ -77,7 +77,7 @@
|
||||
home-manager.extraSpecialArgs = {inherit inputs outputs username;};
|
||||
home-manager.users.${username} = {
|
||||
imports = [
|
||||
./hosts/controller/home.nix
|
||||
./hosts/arcturus/home.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -46,7 +46,8 @@
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "controller";
|
||||
hostName = "arcturus";
|
||||
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [80 443 22];
|
||||
@ -83,7 +84,7 @@
|
||||
recommendedTlsSettings = true;
|
||||
};
|
||||
|
||||
borgbackup.jobs.controller-backup = {
|
||||
borgbackup.jobs.arcturus-backup = {
|
||||
paths = [
|
||||
"/var/lib/bitwarden_rs"
|
||||
"/var/lib/gitea"
|
||||
@ -97,7 +98,7 @@
|
||||
passCommand = "cat ${config.sops.secrets.borg_encryption_key.path}";
|
||||
};
|
||||
environment.BORG_RSH = "ssh -i /home/${username}/.ssh/storagebox";
|
||||
repo = "ssh://u416910@u416910.your-storagebox.de:23/./controller-backups";
|
||||
repo = "ssh://u416910@u416910.your-storagebox.de:23/./arcturus-backups";
|
||||
compression = "auto,zstd";
|
||||
startAt = "daily";
|
||||
};
|
Reference in New Issue
Block a user