aboutsummaryrefslogtreecommitdiff
path: root/hosts/lilith/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/lilith/configuration.nix')
-rw-r--r--hosts/lilith/configuration.nix51
1 files changed, 51 insertions, 0 deletions
diff --git a/hosts/lilith/configuration.nix b/hosts/lilith/configuration.nix
new file mode 100644
index 0000000..b43278d
--- /dev/null
+++ b/hosts/lilith/configuration.nix
@@ -0,0 +1,51 @@
+{ host, username, ... }:
+
+{
+ users.users.${username}.home = "/Users/${username}";
+
+ networking.hostName = host;
+
+ system.primaryUser = username;
+ 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 = [
+ "obsidian"
+ "nextcloud"
+ "bambu-studio"
+ "arduino-ide"
+ "anki"
+ "iterm2"
+ "rectangle"
+ "spotify"
+ ];
+ onActivation.cleanup = "zap";
+ onActivation.autoUpdate = true;
+ onActivation.upgrade = true;
+ };
+
+ system.stateVersion = 5;
+}