From 3b13d9a2a367db84d48940460532c17a374bb488 Mon Sep 17 00:00:00 2001 From: schererleander Date: Thu, 5 Feb 2026 12:03:07 +0100 Subject: feat(modules): use dendritic pattern --- modules/hosts/lilith/configuration.nix | 64 ++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 modules/hosts/lilith/configuration.nix (limited to 'modules/hosts/lilith/configuration.nix') diff --git a/modules/hosts/lilith/configuration.nix b/modules/hosts/lilith/configuration.nix new file mode 100644 index 0000000..af15fba --- /dev/null +++ b/modules/hosts/lilith/configuration.nix @@ -0,0 +1,64 @@ +{ + flake.modules.darwin.lilith = + { + ... + }: + + let + username = "schererleander"; + in + { + networking.hostName = "lilith"; + + # User configuration + users.users.${username}.home = "/Users/${username}"; + + system.primaryUser = username; + system.defaults = { + dock = { + autohide = true; + largesize = 48; + show-recents = false; + }; + WindowManager.EnableStandardClickToShowDesktop = false; + finder = { + _FXShowPosixPathInTitle = true; + _FXSortFoldersFirst = true; + }; + controlcenter = { + Display = false; + FocusModes = false; + Sound = false; + }; + loginwindow.GuestEnabled = false; + }; + + homebrew = { + enable = true; + brews = [ + "openjdk@21" + ]; + casks = [ + "mullvad-vpn" + "nextcloud" + "iterm2" + "rectangle" + ]; + masApps = { + "AdGuard Mini" = 1440147259; + #"WebSSH - Sysadmin Toolbox" = 497714887; + "Windows App" = 1295203466; + "Goodnotes: KI-Notizen, PDF" = 1444383602; + "WhatsApp Messenger" = 310633997; + }; + onActivation.cleanup = "zap"; + onActivation.autoUpdate = true; + onActivation.upgrade = true; + }; + + nix.enable = false; + + nixpkgs.config.allowUnfree = true; + system.stateVersion = 5; + }; +} -- cgit v1.3.1