diff --git a/.gitignore b/.gitignore index 3a29795..7004820 100644 --- a/.gitignore +++ b/.gitignore @@ -19,8 +19,6 @@ !hosts/nine/ -!hosts/tard/ - !modules/ !modules/hyprland/ !modules/nushell/ diff --git a/hosts/tard/default.nix b/hosts/tard/default.nix deleted file mode 100644 index 096ea55..0000000 --- a/hosts/tard/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ config, lib, keys, ... }: with lib; merge - -(systemConfiguration { - system.stateVersion = "23.11"; - nixpkgs.hostPlatform = "x86_64-linux"; - - secrets.id.file = ./id.age; - secrets.tailPassword.file = ./password.tail.age; - - users.users = { - root.hashedPasswordFile = config.secrets.tailPassword.path; - - tail = sudoUser { - description = "Tail"; - openssh.authorizedKeys.keys = [ keys.enka ]; - hashedPasswordFile = config.secrets.tailPassword.path; - }; - }; - - services.openssh.hostKeys = [{ - type = "ed25519"; - path = config.secrets.id.path; - }]; - - networking = { - ipv4 = "143.198.73.55"; - ipv6 = "2604:a880:4:1d0::86d:a000"; - - domain = "rgbcu.be"; - - defaultGateway = "143.198.64.1"; - defaultGateway6 = "2604:a880:4:1d0::1"; - - interfaces.ens3 = { - ipv4.addresses = [{ - address = config.networking.ipv4; - prefixLength = 20; - }]; - - ipv6.addresses = [{ - address = config.networking.ipv6; - prefixLength = 64; - }]; - }; - }; -}) - -(homeConfiguration { - home.stateVersion = "23.11"; -}) diff --git a/hosts/tard/hardware.nix b/hosts/tard/hardware.nix deleted file mode 100644 index f859d68..0000000 --- a/hosts/tard/hardware.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, modulesPath, ... }: with lib; - -systemConfiguration { - imports = [(modulesPath + "/profiles/qemu-guest.nix")]; - - boot.loader.grub = enabled { - device = "/dev/vda"; - }; - - boot.initrd.availableKernelModules = [ - "ata_piix" - "uhci_hcd" - "vmw_pvscsi" - "xen_blkfront" - ]; - - boot.initrd.kernelModules = [ "nvme" ]; - - fileSystems."/" = { - device = "/dev/disk/by-label/root"; - fsType = "ext4"; - options = [ "noatime" ]; - }; -} diff --git a/hosts/tard/id.age b/hosts/tard/id.age deleted file mode 100644 index 0b8b4f9..0000000 Binary files a/hosts/tard/id.age and /dev/null differ diff --git a/hosts/tard/password.tail.age b/hosts/tard/password.tail.age deleted file mode 100644 index 6e25cd9..0000000 Binary files a/hosts/tard/password.tail.age and /dev/null differ diff --git a/keys.nix b/keys.nix index 60f1727..d20d5eb 100644 --- a/keys.nix +++ b/keys.nix @@ -4,5 +4,4 @@ enka = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBVkWUQ6Z4OK539tore/R5wnueNPPaX532RUAld8UOCo said@enka"; pala = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEXXxaxhkIMy0UyLOOnvwkNjzypS7D9kElHGKw8pZuFb said@pala"; nine = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILJDqnItmvXZMTSwzbalr+9jzS4kSJm5PWEpI8GOpebF seven@nine"; - tard = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDzvLg5IvqGzqdiNUOsRLPdYC56wXXSYNo9QNlXwaCKw tail@tard"; } diff --git a/modules/ssh/default.nix b/modules/ssh/default.nix index 48c3e10..54d21bb 100644 --- a/modules/ssh/default.nix +++ b/modules/ssh/default.nix @@ -57,12 +57,6 @@ in homeConfiguration { port = 2222; }; - tard = { - hostname = self.tard.networking.ipv4; - user = "tail"; - port = 2222; - }; - robotic = { hostname = "86.105.252.189"; user = "rgbcube"; diff --git a/secrets.nix b/secrets.nix index 5f9c861..93bcc0f 100644 --- a/secrets.nix +++ b/secrets.nix @@ -39,10 +39,6 @@ in with keys; { "hosts/nine/id.age".publicKeys = withAdmins nine; "hosts/nine/password.seven.age".publicKeys = withAdmins nine; - # tard - "hosts/tard/id.age".publicKeys = withAdmins tard; - "hosts/tard/password.tail.age".publicKeys = withAdmins tard; - # shared "modules/ssh/config.age".publicKeys = all; }