mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nix): add macbook 2023 host
This commit is contained in:
@@ -54,6 +54,12 @@
|
|||||||
hostname = "mac-mini";
|
hostname = "mac-mini";
|
||||||
username = "kogakure";
|
username = "kogakure";
|
||||||
};
|
};
|
||||||
|
"macbook-2023" = mkDarwinConfig {
|
||||||
|
system = "aarch64-darwin";
|
||||||
|
hostname = "macbook-2023";
|
||||||
|
username = "stefan.imhoff";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
19
hosts/macbook-2023/configuration.nix
Normal file
19
hosts/macbook-2023/configuration.nix
Normal 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;
|
||||||
|
}
|
||||||
15
hosts/macbook-2023/home.nix
Normal file
15
hosts/macbook-2023/home.nix
Normal 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; [ ];
|
||||||
|
}
|
||||||
15
hosts/macbook-2023/homebrew.nix
Normal file
15
hosts/macbook-2023/homebrew.nix
Normal 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 = { };
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user