ctucx.git: nixfiles

ctucx' nixfiles

commit a2d57339ec0ac3d5f0421cc242061d591a02a885
parent d3f8c88989fb5c515f611d3a587a4edab2b40276
Author: Leah (ctucx) <git@ctu.cx>
Date: Thu, 10 Oct 2024 12:18:43 +0200

configurations/darwin/programs: add `noTunes`
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/configurations/darwin/programs/default.nix b/configurations/darwin/programs/default.nix
@@ -8,6 +8,7 @@
     ./Bitwarden.nix
 
     ./iina.nix
+    ./noTunes.nix
 
     ./coconutBattery.nix
     ./rectangle.nix
diff --git a/configurations/darwin/programs/noTunes.nix b/configurations/darwin/programs/noTunes.nix
@@ -0,0 +1,20 @@
+{ pkgs, ... }:
+
+{
+
+  system.defaults.CustomUserPreferences = {
+    "digital.twisted.noTunes" = {
+      hideIcon    = 1;
+      replacement = "/Applications/IINA.app";
+    };
+  };
+
+  homebrew = {
+    enable  = true;
+
+    casks   = [
+      "notunes"
+    ];
+  };
+
+}