Remove phil machine and aarch64 ISO/kexec
This commit is contained in:
@@ -4,8 +4,8 @@ let
|
|||||||
builderUserName = "nix-builder";
|
builderUserName = "nix-builder";
|
||||||
|
|
||||||
builderRole = "nix-builder";
|
builderRole = "nix-builder";
|
||||||
builders = config.machines.withRole.${builderRole};
|
builders = config.machines.withRole.${builderRole} or [];
|
||||||
thisMachineIsABuilder = config.thisMachine.hasRole.${builderRole};
|
thisMachineIsABuilder = config.thisMachine.hasRole.${builderRole} or false;
|
||||||
|
|
||||||
# builders don't include themselves as a remote builder
|
# builders don't include themselves as a remote builder
|
||||||
otherBuilders = lib.filter (hostname: hostname != config.networking.hostName) builders;
|
otherBuilders = lib.filter (hostname: hostname != config.networking.hostName) builders;
|
||||||
|
|||||||
@@ -175,10 +175,10 @@
|
|||||||
kexec = (mkEphemeral "x86_64-linux").config.system.build.images.kexec;
|
kexec = (mkEphemeral "x86_64-linux").config.system.build.images.kexec;
|
||||||
iso = (mkEphemeral "x86_64-linux").config.system.build.images.iso;
|
iso = (mkEphemeral "x86_64-linux").config.system.build.images.iso;
|
||||||
};
|
};
|
||||||
"aarch64-linux" = {
|
# "aarch64-linux" = {
|
||||||
kexec = (mkEphemeral "aarch64-linux").config.system.build.images.kexec;
|
# kexec = (mkEphemeral "aarch64-linux").config.system.build.images.kexec;
|
||||||
iso = (mkEphemeral "aarch64-linux").config.system.build.images.iso;
|
# iso = (mkEphemeral "aarch64-linux").config.system.build.images.iso;
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
overlays.default = import ./overlays { inherit inputs; };
|
overlays.default = import ./overlays { inherit inputs; };
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
{ lib, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./hardware-configuration.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
networking.hostName = "phil";
|
|
||||||
}
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
||||||
# and may be overwritten by future invocations. Please make changes
|
|
||||||
# to /etc/nixos/configuration.nix instead.
|
|
||||||
{ lib, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports =
|
|
||||||
[
|
|
||||||
(modulesPath + "/profiles/qemu-guest.nix")
|
|
||||||
];
|
|
||||||
|
|
||||||
# because grub just doesn't work for some reason
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
|
||||||
|
|
||||||
remoteLuksUnlock.enable = true;
|
|
||||||
remoteLuksUnlock.enableTorUnlock = false;
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" ];
|
|
||||||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
|
||||||
boot.kernelModules = [ ];
|
|
||||||
boot.extraModulePackages = [ ];
|
|
||||||
|
|
||||||
boot.initrd.luks.devices."enc-pv" = {
|
|
||||||
device = "/dev/disk/by-uuid/d26c1820-4c39-4615-98c2-51442504e194";
|
|
||||||
allowDiscards = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/" =
|
|
||||||
{
|
|
||||||
device = "/dev/disk/by-uuid/851bfde6-93cd-439e-9380-de28aa87eda9";
|
|
||||||
fsType = "btrfs";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/boot" =
|
|
||||||
{
|
|
||||||
device = "/dev/disk/by-uuid/F185-C4E5";
|
|
||||||
fsType = "vfat";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices =
|
|
||||||
[{ device = "/dev/disk/by-uuid/d809e3a1-3915-405a-a200-4429c5efdf87"; }];
|
|
||||||
|
|
||||||
networking.interfaces.enp0s6.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
|
||||||
}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
{
|
|
||||||
hostNames = [
|
|
||||||
"phil"
|
|
||||||
"phil.neet.dev"
|
|
||||||
];
|
|
||||||
|
|
||||||
arch = "aarch64-linux";
|
|
||||||
|
|
||||||
systemRoles = [
|
|
||||||
"server"
|
|
||||||
"nix-builder"
|
|
||||||
];
|
|
||||||
|
|
||||||
hostKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBlgRPpuUkZqe8/lHugRPm/m2vcN9psYhh5tENHZt9I2";
|
|
||||||
|
|
||||||
remoteUnlock = {
|
|
||||||
hostKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK0RodotOXLMy/w70aa096gaNqPBnfgiXR5ZAH4+wGzd";
|
|
||||||
clearnetHost = "unlock.phil.neet.dev";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user