From 24c40e685e7afb404fd09563cbaef4679adbe652 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Mon, 29 Jan 2024 10:27:59 +0100 Subject: [PATCH] Delete obsolete machine config --- machines/drone/configuration.nix | 63 -------------------------------- machines/drone/secrets.yaml | 42 --------------------- 2 files changed, 105 deletions(-) delete mode 100644 machines/drone/configuration.nix delete mode 100644 machines/drone/secrets.yaml diff --git a/machines/drone/configuration.nix b/machines/drone/configuration.nix deleted file mode 100644 index 77e6225..0000000 --- a/machines/drone/configuration.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ self, ... }: -{ modulesPath, ... }: { - imports = [ - (modulesPath + "/virtualisation/proxmox-lxc.nix") - ../../users/root - ../../users/erwin - ]; - - eboskma = { - users.erwin = { - enable = true; - server = true; - }; - podman.enable = true; - # drone.enable = true; - nix-common = { - enable = true; - remote-builders = true; - }; - woodpecker.enable = true; - }; - - boot.isContainer = true; - - time.timeZone = "Europe/Amsterdam"; - - system.configurationRevision = self.inputs.nixpkgs.lib.mkIf (self ? rev) self.rev; - - # networking = { - # hostName = "drone"; - # useDHCP = false; - - # interfaces = { - # eth0 = { - # ipv4.addresses = [ - # { - # address = "10.0.0.202"; - # prefixLength = 24; - # } - # ]; - # }; - # }; - - # defaultGateway = "10.0.0.1"; - # nameservers = [ "10.0.0.254" ]; - # }; - - proxmoxLXC = { - privileged = true; - }; - - security.sudo.execWheelOnly = true; - - services.tailscale.enable = true; - - sops.defaultSopsFile = ./secrets.yaml; - sops.secrets = { - woodpecker-server = { }; - woodpecker-agent = { }; - }; - - system.stateVersion = "23.11"; -} diff --git a/machines/drone/secrets.yaml b/machines/drone/secrets.yaml deleted file mode 100644 index cd48f0a..0000000 --- a/machines/drone/secrets.yaml +++ /dev/null @@ -1,42 +0,0 @@ -drone: ENC[AES256_GCM,data:PZPChq/iQDw7gOfdmSOB4ZvtWgnT55lMc1/kSKVoh5kTkIX+FdNE7uJlhKJQHryYWdrbyoRu09RhhPLr27oWeiCvN4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sFjoMEkJM5Ix8oRB8zWV+O3l6XE7Uw1vD3QbOsJiqcbWFoNw==,iv:VIlHVVvuBSZiO/tMgd/4HpT2uecn1WqJE60SkHaX+80=,tag:+xfTfq2FgSrPUVXeH4tJkQ==,type:str] -woodpecker-agent: ENC[AES256_GCM,data:YO9MCMIPVOEU+6euiCHuAN+tFFs8JkRRmb9+AIhMEuQE2ObajfJZ3NN5LsccIT9z1axA/gfjLrxM,iv:UDimHs2cKyCvy0XGdDzgX2ry114qz3V1KaXlXL3yYgI=,tag:OGITUerrT0nWU85fxcpEig==,type:str] -sops: - kms: [] - gcp_kms: [] - azure_kv: [] - hc_vault: [] - age: - - recipient: age1h7ddyj66gcqt5vnzphjfn6y5tul79q0glcdl0et9w44z2evl999qe02wht - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBpNmcxQ1Y5RG9MVHEzdnNr - RmlJQ1hPdnNCY3lYUWVvTkZhZXo0RVhoN0hnCjJGTkFFdVc5Wk5NYU91dy9BQUp4 - MFVQa0tTZU1RVGw3MW1VSXVQbmlxbjgKLS0tIFRneitlYVk1MFk2MzVIM3F5VmND - L1RyYWdDY2luRXFURXk0VFFJd2lLaXMKy5wkq+jCbIHbmRz5634R0NNHKe+UoI7C - DWtdxyloAP/yjxAviEOYPiU3uFU1HOois1fTs4do6aH+KjpSBTzKtA== - -----END AGE ENCRYPTED FILE----- - - recipient: age1435gxhlpu55pp86r8pullhc6wg43nv6qm5l3g2vl5000xhn8apdqtlf8cg - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBaZG5ScG1pRG9wNXU0UkNE - UE1weWgrYUdML1FZaWFTV0FYeGY5R1h5UWhNCnRJRzdFZzlLV0J3L0ZUdnZIQTZl - RENaNTFIK2lzOGxyaUo5SmlDZXRFMXcKLS0tIDEzdVlYenpielVSeDBzbXVVTzVI - VC9JN21xdGtNT3Z5aXMzYkxNUUVHelUKvkXny/4jgq8WUAHyIJC7yiiAXWiJtO/H - N/460b+VNHCu72soV/eeGSeuZ0Nlm3s/x+/gqagO5SRVy5I1oeFIgQ== - -----END AGE ENCRYPTED FILE----- - - recipient: age1q0dfxz58vt4zxwx2etqy8xycf4l0p5nujpznh53kd0fwwc28ms7q6qrhct - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBEU29ITG81c3dWQzA2SUVh - OHV2RlpkZ2gvVnVXQ3MwY0NIZFdLL1BtVFhZCkN3TXJQelE4VlRuK0V3SWxFR1Rs - VWJLN2ZZMHFucVlxY0REZG5PVmpHVVUKLS0tIEpvc0VOQ0FHVnJDQ1Z1anZybTNV - UHFBcS9PbGRkNzk1R1ppYUIwOGFhaTgKNOmhKLNm3HZ1xU/xY3ImDqiLDSqZvw/V - w5IaQNmgUt/TDBCxkLcnyynHkmgwMUZjRihIukC7yvxncHc2hQrrDA== - -----END AGE ENCRYPTED FILE----- - lastmodified: "2023-06-12T09:28:02Z" - mac: ENC[AES256_GCM,data:mE0O44Sa+RMqRoCqXftn3GuPFLHiyGn3tVlYgBGc973nP7mz5ZwClNgja1gk+MNolnztsrwgso5ZiNpriyI7pGKd/dG6DJQrGixqhRvgyNyIESGEuN9n6bfhYNNSzV1yRb9V6Z7iELkut03gvVU9by0MosJ7SJPMyDyZZ4tMFeA=,iv:rzrvGwJQAdbMcHQ7U/JFB08V7o2keLI1kUrUs9RaClA=,tag:UpE7ZeG7S32CNKsgT+rMMQ==,type:str] - pgp: [] - unencrypted_suffix: _unencrypted - version: 3.7.3