feat(nix): add macbook 2023 host

This commit is contained in:
Stefan Imhoff
2024-07-31 17:14:01 +02:00
parent 02857a53b7
commit 4785953d46
4 changed files with 55 additions and 0 deletions

View File

@@ -54,6 +54,12 @@
hostname = "mac-mini";
username = "kogakure";
};
"macbook-2023" = mkDarwinConfig {
system = "aarch64-darwin";
hostname = "macbook-2023";
username = "stefan.imhoff";
};
};
};
}

View File

@@ -0,0 +1,19 @@
{ config, ... }:
{
imports = [
../../darwin
];
users.users.kogakure = {
name = "stefan.imhoff";
home = "/Users/stefan.imhoff";
};
nixpkgs.hostPlatform = "aarch64-darwin";
# Screenshots
system.defaults.screencapture.location = "${config.users.users."stefan.imhoff".home}/Dropbox/Bilder/Screenshots";
homebrew = import ./homebrew.nix;
}

View File

@@ -0,0 +1,15 @@
{ pkgs, ... }:
{
imports = [
../../home
];
# Services
services.yabai.enable = true;
services.skhd.enable = true;
# The home.packages option allows you to install Nix packages into your
# environment.
home.packages = with pkgs; [ ];
}

View File

@@ -0,0 +1,15 @@
{
onActivation.cleanup = "uninstall";
taps = [ ];
brews = [ ];
casks = [
"microsoft-excel"
"microsoft-onenote"
"microsoft-outlook"
"microsoft-powerpoint"
"microsoft-remote-desktop"
"microsoft-word"
"onedrive"
];
masApps = { };
}