diff options
| author | schererleander <leander@schererleander.de> | 2026-02-05 12:03:07 +0100 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2026-02-05 15:19:41 +0100 |
| commit | 3b13d9a2a367db84d48940460532c17a374bb488 (patch) | |
| tree | 599110a39c4baecf3991fe9a58d0103a43c38896 /modules/hosts/lilith | |
| parent | 46aa4842b98d9215baca00060c233f386a0c2188 (diff) | |
feat(modules): use dendritic pattern
Diffstat (limited to 'modules/hosts/lilith')
| -rw-r--r-- | modules/hosts/lilith/configuration.nix | 64 | ||||
| -rw-r--r-- | modules/hosts/lilith/flake-parts.nix | 15 |
2 files changed, 79 insertions, 0 deletions
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; + }; +} diff --git a/modules/hosts/lilith/flake-parts.nix b/modules/hosts/lilith/flake-parts.nix new file mode 100644 index 0000000..5842777 --- /dev/null +++ b/modules/hosts/lilith/flake-parts.nix @@ -0,0 +1,15 @@ +{ + inputs, + ... +}: + +{ + flake.darwinConfigurations.lilith = inputs.nix-darwin.lib.darwinSystem { + specialArgs = { inherit inputs; }; + system = "aarch64-darwin"; + modules = [ + inputs.self.modules.darwin.lilith + inputs.self.modules.darwin.home-manager + ]; + }; +} |
