aboutsummaryrefslogtreecommitdiff
path: root/modules/hosts/lilith/configuration.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2026-02-05 12:03:07 +0100
committerschererleander <leander@schererleander.de>2026-02-05 15:19:41 +0100
commit3b13d9a2a367db84d48940460532c17a374bb488 (patch)
tree599110a39c4baecf3991fe9a58d0103a43c38896 /modules/hosts/lilith/configuration.nix
parent46aa4842b98d9215baca00060c233f386a0c2188 (diff)
feat(modules): use dendritic pattern
Diffstat (limited to 'modules/hosts/lilith/configuration.nix')
-rw-r--r--modules/hosts/lilith/configuration.nix64
1 files changed, 64 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;
+ };
+}