aboutsummaryrefslogtreecommitdiff
path: root/hosts/macbook/configuration.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-07-29 02:04:35 +0200
committerschererleander <leander@schererleander.de>2025-07-29 02:04:35 +0200
commit7b3bf7557d4cd2d3263425cbfa15350b4c3ed361 (patch)
tree8814f7dfce6d0fd732f7a785d253a9c7971ab58e /hosts/macbook/configuration.nix
parente9452ac723b4459b9da06122b6e4e60726030934 (diff)
chore: rename hosts
Diffstat (limited to 'hosts/macbook/configuration.nix')
-rw-r--r--hosts/macbook/configuration.nix49
1 files changed, 49 insertions, 0 deletions
diff --git a/hosts/macbook/configuration.nix b/hosts/macbook/configuration.nix
new file mode 100644
index 0000000..e7613de
--- /dev/null
+++ b/hosts/macbook/configuration.nix
@@ -0,0 +1,49 @@
+{ config, pkgs, lib, ...}:
+
+{
+ nix.settings.experimental-features = "nix-command flakes";
+ nixpkgs.hostPlatform = "aarch64-darwin";
+ nixpkgs.config.allowUnfree = true;
+
+ users.users.schererleander.home = "/Users/schererleander";
+
+ system.primaryUser = "schererleander";
+ system.defaults = {
+ dock = {
+ autohide = true;
+ largesize = 48;
+ show-recents = false;
+ };
+ WindowManager.EnableStandardClickToShowDesktop = false;
+ finder = {
+ #ShowPathbar = true;
+ #ShowStatusBar = true;
+ _FXShowPosixPathInTitle = true;
+ _FXSortFoldersFirst = true;
+ };
+ controlcenter = {
+ Display = false;
+ FocusModes = false;
+ Sound = false;
+ };
+ loginwindow.GuestEnabled = false;
+ };
+
+ homebrew = {
+ enable = true;
+ brews = [
+ "openjdk@21"
+ ];
+ casks = [
+ "nextcloud"
+ "bambu-studio"
+ "arduino-ide"
+ "anki"
+ ];
+ onActivation.cleanup = "zap";
+ onActivation.autoUpdate = true;
+ onActivation.upgrade = true;
+ };
+
+ system.stateVersion = 5;
+}