mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 03:27:45 +00:00
chore: decomission cube host
This commit is contained in:
parent
20875f0632
commit
765cc3ca49
9 changed files with 2 additions and 119 deletions
|
@ -40,12 +40,6 @@ in {
|
|||
port = 2222;
|
||||
};
|
||||
|
||||
cube = {
|
||||
hostname = self.cube.networking.ipv4.address;
|
||||
user = "rgb";
|
||||
port = 2222;
|
||||
};
|
||||
|
||||
disk = {
|
||||
hostname = self.disk.networking.ipv4.address;
|
||||
user = "floppy";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ config, lib, ... }: let
|
||||
inherit (lib) genAttrs mkConst mkIf remove;
|
||||
in{
|
||||
options.services.restic.hosts = mkConst <| remove config.networking.hostName [ "cube" "disk" "nine" "best" ];
|
||||
options.services.restic.hosts = mkConst <| remove config.networking.hostName [ "disk" "nine" "best" ];
|
||||
|
||||
config.secrets.resticPassword.file = mkIf config.isServer ./password.age;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue