mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 17:36:07 +08:00
Add a new host, WIP
This commit is contained in:
parent
bdf0ad9619
commit
654a1c9cf5
6 changed files with 69 additions and 33 deletions
30
systems/github-runner.nix
Normal file
30
systems/github-runner.nix
Normal 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;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue