diff options
Diffstat (limited to 'hosts/macbook/configuration.nix')
| -rw-r--r-- | hosts/macbook/configuration.nix | 49 |
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; +} |
