ctucx.git: nixfiles

ctucx' nixfiles

commit 3c339690a0633b72b852fe3a9ef67435f1ac1fed
parent 02a2dfa3cfaa4f3d9bd6c2b0e13fbbe2c326d656
Author: Leah (ctucx) <git@ctu.cx>
Date: Tue, 19 Dec 2023 10:34:04 +0100

flake.nix: add mac-app-util
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/configurations/darwin/default.nix b/configurations/darwin/default.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, lib, ... }:
+{ inputs, config, pkgs, lib, ... }:
 
 {
 

@@ -29,6 +29,7 @@
   home-manager = {
     useUserPackages = true;
 
+    users.leah.imports            = [ inputs.mac-app-util.homeManagerModules.default ];
     users.leah.home.homeDirectory = lib.mkForce "/Users/leah/";
     users.leah.home.packages      = with pkgs; [
       bgiparser
diff --git a/flake.nix b/flake.nix
@@ -15,7 +15,10 @@
           currentSystem = system;
           inherit inputs;
         };
-        modules = [ ./machines/blechkasten/darwin-configuration.nix ];
+        modules = [
+          inputs.mac-app-util.darwinModules.default
+          ./machines/blechkasten/darwin-configuration.nix
+        ];
       };
     };
 

@@ -130,6 +133,15 @@
       inputs.nixpkgs.follows = "nixpkgs";
     };
 
+    mac-app-util = {
+      type  = "github";
+      owner = "hraban";
+      repo  = "mac-app-util";
+      ref   = "master";
+      inputs.nixpkgs.follows     = "nixpkgs";
+      inputs.flake-utils.follows = "flake-utils";
+    };
+
     nix-std = {
       type  = "github";
       owner = "chessai";