macbook factory reset

This commit is contained in:
Sridhar Ratnakumar 2025-07-26 23:12:00 -04:00
parent 836e23cbee
commit 7ccbee26cc
4 changed files with 25 additions and 35 deletions

View file

@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.system }}
strategy:
matrix:
system: [x86_64-linux, aarch64-darwin]
system: [x86_64-linux]
steps:
- uses: actions/checkout@v4
- run: om ci run --systems "${{ matrix.system }}"

View file

@ -1,34 +0,0 @@
# Configuration for my M1 Macbook Max as headless server
{ flake, pkgs, ... }:
let
inherit (flake) inputs;
inherit (inputs) self;
in
{
nixos-unified.sshTarget = "srid@infinitude";
imports = [
self.darwinModules.default
(self + /modules/nixos/shared/github-runner.nix)
];
nixpkgs.hostPlatform = "aarch64-darwin";
networking.hostName = "infinitude";
# Using GUI app; so disable this.
# services.tailscale.enable = true;
environment.systemPackages = [ pkgs.tart ];
system.keyboard = {
enableKeyMapping = true;
remapCapsLockToControl = true;
};
ids.gids.nixbld = 350;
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
system.stateVersion = 4;
}

View file

@ -0,0 +1,24 @@
# Configuration for my Mac CI VM
{ flake, pkgs, ... }:
let
inherit (flake) inputs;
inherit (inputs) self;
in
{
nixos-unified.sshTarget = "srid@macci";
imports = [
self.darwinModules.default
(self + /modules/nixos/shared/github-runner.nix)
];
nixpkgs.hostPlatform = "aarch64-darwin";
networking.hostName = "macci";
# ids.gids.nixbld = 350;
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
system.stateVersion = 4;
}