From 27c11e905eb906b90c92bd827ac0807554189f63 Mon Sep 17 00:00:00 2001 From: xenia Date: Thu, 20 Jun 2024 21:00:59 +0200 Subject: [PATCH] Mac system applications in darwin-nix --- darwin.nix | 41 ++++++++++++++++++++++++++++++++++------- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/darwin.nix b/darwin.nix index 51bcce1a..7052d7d4 100644 --- a/darwin.nix +++ b/darwin.nix @@ -42,13 +42,6 @@ # macos-specific options - environment.systemPackages = with pkgs ; [ - binutils - coreutils - - home-manager - ]; - # Used for backwards compatibility, please read the changelog before changing. # $ darwin-rebuild changelog @@ -92,4 +85,38 @@ } ]; }; + + environment.systemPackages = with pkgs ; [ + binutils + coreutils + + home-manager + + keepassxc + spotify + discord + audacity + blender + ghidra + gimp + hexfiend + inkscape + + wireshark + ]; + + system.defaults.dock.persistent-apps = [ + # Finder? LaunchPad? + "${pkgs.keepassxc}/Applications/KeePassXC.app" + "/System/Applications/Calendar.app/" + "/System/Applications/Mail.app/" + "${pkgs.spotify}/Applications/Spotify.app/" + "${pkgs.discord}/Applications/Discord.app/" + "/Applications/Signal.app/" + "/Applications/Firefox Developer Edition.app/" + "/System/Applications/System Settings.app/" + "/Applications/FreeCAD-realthunder.app/" + "/Applications/KiCad/KiCad.app/" + "/Users/xenia/Applications/Home Manager Apps/Alacritty.app" + ]; }