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