about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-01-30T14·52+0200
committerflokli <flokli@flokli.de>2024-01-30T15·04+0000
commit1dad7a144df308b1822fb15d683c902d74d58086 (patch)
tree9253f8f2cf39c4862c82ee213f2964733b06d6d0 /users
parentd4b8fb664b7e35b3e4603dcc45c77d53151c94ae (diff)
chore(users/flokli/nixos): drop archeology nixos config r/7456
The machine at Hetzner is gone, only the one in EC2 remains.

Change-Id: Ia7266d56ef1174267b95086c51e6d80015c2f905
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10711
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'users')
-rw-r--r--users/flokli/nixos/archeology/OWNERS1
-rw-r--r--users/flokli/nixos/archeology/configuration.nix19
-rw-r--r--users/flokli/nixos/archeology/hardware-configuration.nix36
-rw-r--r--users/flokli/nixos/default.nix8
4 files changed, 0 insertions, 64 deletions
diff --git a/users/flokli/nixos/archeology/OWNERS b/users/flokli/nixos/archeology/OWNERS
deleted file mode 100644
index b9bc074a8020..000000000000
--- a/users/flokli/nixos/archeology/OWNERS
+++ /dev/null
@@ -1 +0,0 @@
-edef
diff --git a/users/flokli/nixos/archeology/configuration.nix b/users/flokli/nixos/archeology/configuration.nix
deleted file mode 100644
index 59438b0a72ad..000000000000
--- a/users/flokli/nixos/archeology/configuration.nix
+++ /dev/null
@@ -1,19 +0,0 @@
-{ depot, pkgs, ... }:
-
-{
-  imports = [
-    ./hardware-configuration.nix
-    ../profiles/archeology.nix
-  ];
-
-  # Use the GRUB 2 boot loader.
-  boot.loader.grub.enable = true;
-  boot.loader.grub.device = "/dev/vda";
-
-  boot.kernelParams = [ "console=ttyS0" ];
-
-  networking.hostName = "archeology";
-
-  system.stateVersion = "23.05"; # Did you read the comment?
-}
-
diff --git a/users/flokli/nixos/archeology/hardware-configuration.nix b/users/flokli/nixos/archeology/hardware-configuration.nix
deleted file mode 100644
index 7b3d79d70a5d..000000000000
--- a/users/flokli/nixos/archeology/hardware-configuration.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-{ lib, modulesPath, ... }:
-
-{
-  imports =
-    [
-      (modulesPath + "/profiles/qemu-guest.nix")
-    ];
-
-  boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
-  boot.initrd.kernelModules = [ ];
-  boot.kernelModules = [ "kvm-amd" ];
-  boot.extraModulePackages = [ ];
-
-  fileSystems."/" =
-    {
-      device = "/dev/disk/by-partlabel/root";
-      fsType = "xfs";
-    };
-
-  fileSystems."/boot" =
-    {
-      device = "/dev/disk/by-partlabel/boot";
-      fsType = "vfat";
-    };
-
-  swapDevices = [ ];
-
-  # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
-  # (the default) this is the recommended approach. When using systemd-networkd it's
-  # still possible to use this option, but it's recommended to use it in conjunction
-  # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
-  networking.useDHCP = lib.mkDefault true;
-  # networking.interfaces.enp1s0.useDHCP = lib.mkDefault true;
-
-  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
-}
diff --git a/users/flokli/nixos/default.nix b/users/flokli/nixos/default.nix
index c93363785cf1..9ed223a90896 100644
--- a/users/flokli/nixos/default.nix
+++ b/users/flokli/nixos/default.nix
@@ -13,23 +13,15 @@ let
 
 in
 depot.nix.readTree.drvTargets rec {
-  archeologySystem = (depot.ops.nixos.nixosFor ({ ... }: {
-    imports = [
-      ./archeology/configuration.nix
-    ];
-  })).config.system.build.toplevel;
-
   archeologyEc2System = (depot.ops.nixos.nixosFor ({ ... }: {
     imports = [
       ./archeology-ec2/configuration.nix
     ];
   })).config.system.build.toplevel;
 
-  deploy-archeology = (deployScript "archeology" archeologySystem);
   deploy-archeology-ec2 = (deployScript "archeology-ec2" archeologyEc2System);
 
   deps = (depot.nix.lazy-deps {
-    deploy-archeology.attr = "users.flokli.nixos.deploy-archeology";
     deploy-archeology-ec2.attr = "users.flokli.nixos.deploy-archeology-ec2";
   });