Add a new host, WIP

This commit is contained in:
Sridhar Ratnakumar 2024-03-26 13:16:53 -04:00
parent bdf0ad9619
commit 654a1c9cf5
6 changed files with 69 additions and 33 deletions

30
systems/github-runner.nix Normal file
View file

@ -0,0 +1,30 @@
# TODO: WIP
{ flake, pkgs, lib, ... }:
let
inherit (flake) inputs;
inherit (inputs) self;
in
{
imports = [
inputs.disko.nixosModules.disko
"${self}/nixos/disko/trivial.nix"
"${self}/nixos/parallels-vm.nix"
"${self}/nixos/self/primary-as-admin.nix"
"${self}/nixos/server/harden/basics.nix"
];
system.stateVersion = "23.11";
networking.hostName = "github-runner";
nixpkgs.hostPlatform = "aarch64-linux";
boot = {
binfmt.emulatedSystems = [ "x86_64-linux" ];
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
};
services.openssh.enable = true;
}