1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-09-13 01:27:56 +00:00

homebrew: init

This commit is contained in:
RGBCube 2025-07-31 16:42:37 +03:00
parent 419a2514b9
commit 51c02a78a2
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
6 changed files with 104 additions and 17 deletions

View file

@ -0,0 +1,3 @@
{
homebrew.casks = [ "ghostty" ];
}

View file

@ -0,0 +1,16 @@
{ nix-homebrew, homebrew-core, homebrew-cask, config, lib, ... }: let
inherit (lib) enabled;
in {
imports = [ nix-homebrew.darwinModules.nix-homebrew ];
homebrew = enabled;
nix-homebrew = enabled {
user = config.system.primaryUser;
taps."homebrew/homebrew-core" = homebrew-core;
taps."homebrew/homebrew-cask" = homebrew-cask;
mutableTaps = false;
};
}

View file

@ -129,21 +129,7 @@
}
];
in {
# TODO: Install using Nix. Currently I'm doing it manually.
# nixpkgs.overlays = [(self: super: {
# karabiner-elements = super.karabiner-elements.overrideAttrs (old: {
# version = "14.13.0";
# src = super.fetchurl {
# inherit (old.src) url;
# hash = "sha256-gmJwoht/Tfm5qMecmq1N6PSAIfWOqsvuHU8VDJY8bLw=";
# };
# });
# })];
# services.karabiner-elements = enabled;
homebrew.casks = [ "karabiner-elements" ];
home-manager.sharedModules = [{
xdg.configFile."karabiner/karabiner.json".text = toJSON {