chore(users/flokli/nixos): drop archeology nixos config
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>
This commit is contained in:
parent
d4b8fb664b
commit
1dad7a144d
4 changed files with 0 additions and 64 deletions
|
@ -1 +0,0 @@
|
|||
edef
|
|
@ -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?
|
||||
}
|
||||
|
|
@ -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";
|
||||
}
|
|
@ -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";
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue