1
0
Fork 0

Compare commits

..

4 commits

Author SHA1 Message Date
aa3d3a3df2
Fix catccuppin for macos 2025-08-12 19:48:11 -05:00
dd771952ce
Add stylix to nix-darwin 2025-08-12 19:37:59 -05:00
dd8a7d7fb0
Fix dictionary 2025-08-12 19:26:34 -05:00
654a03cebd
Fix macos 2025-08-12 19:25:57 -05:00
8 changed files with 42 additions and 40 deletions

View file

@ -118,7 +118,6 @@
"MatthewCroughan" "MatthewCroughan"
"MWMBL" "MWMBL"
"Nix" "Nix"
"optimise"
"Reece" "Reece"
"TrackMeNot" "TrackMeNot"
"UTD" "UTD"

View file

@ -2,27 +2,9 @@
# #
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
{ inputs, pkgs, ... }: { pkgs, ... }:
{ {
imports = [ imports = [ ./base.nix ];
inputs.catppuccin.homeModules.catppuccin
./base.nix
];
# https://nix.catppuccin.com/search/rolling/
catppuccin = {
enable = true;
flavor = "mocha";
# bat.enable = false;
# fzf.enable = false;
# helix.enable = false;
# starship.enable = false;
};
stylix.targets = {
bat.enable = false;
fzf.enable = false;
helix.enable = false;
starship.enable = false;
};
home.packages = [ home.packages = [
pkgs.acpi pkgs.acpi
pkgs.iproute2 pkgs.iproute2

View file

@ -57,6 +57,7 @@ let
in in
{ {
imports = [ imports = [
inputs.catppuccin.homeModules.catppuccin
inputs.lix-module.nixosModules.default inputs.lix-module.nixosModules.default
inputs.sops-nix.homeManagerModules.sops inputs.sops-nix.homeManagerModules.sops
inputs.stylix.homeModules.stylix inputs.stylix.homeModules.stylix
@ -68,7 +69,20 @@ in
defaultSopsFile = ../sops/secrets.yaml; defaultSopsFile = ../sops/secrets.yaml;
}; };
# https://nix-community.github.io/stylix/options/modules/alacritty.html # https://nix-community.github.io/stylix/options/modules/alacritty.html
stylix = import ../stylix { inherit config pkgs; }; stylix = (import ../stylix { inherit config pkgs; }) // {
targets = {
kitty.variant256Colors = true;
bat.enable = false;
fzf.enable = false;
helix.enable = false;
starship.enable = false;
};
};
# https://nix.catppuccin.com/search/rolling/
catppuccin = {
enable = true;
flavor = "mocha";
};
home = { home = {
stateVersion = "24.11"; stateVersion = "24.11";
language.base = "eo.utf8"; language.base = "eo.utf8";

View file

@ -46,4 +46,7 @@
]; ];
}; };
}; };
catppuccin = {
gtk.icon.enable = false;
};
} }

View file

@ -3,6 +3,7 @@
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
{ {
config,
flake-parts-lib, flake-parts-lib,
inputs, inputs,
lib, lib,
@ -18,19 +19,14 @@ in
flake-parts-lib.importApply (./. + "/${module-name}/flake-module.nix") { inherit module-name; } flake-parts-lib.importApply (./. + "/${module-name}/flake-module.nix") { inherit module-name; }
) modules; ) modules;
perSystem = perSystem =
{ { pkgs, system, ... }:
config,
pkgs,
system,
...
}:
{ {
devshells.default = lib.mkIf pkgs.stdenv.hostPlatform.isDarwin { devshells.default = lib.mkIf pkgs.stdenv.hostPlatform.isDarwin {
commands = [ commands = [
{ {
help = "󰘥 show nix-darwin documentation"; help = "󰘥 show nix-darwin documentation";
name = "man-darwin"; name = "man-darwin";
command = "${inputs.nix-darwin.packages.${system}.default}/bin/darwin-help"; command = "darwin-help";
category = " nix-darwin"; category = " nix-darwin";
} }
] ]

View file

@ -2,12 +2,23 @@
# #
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
{ inputs, pkgs, ... }: {
config,
inputs,
pkgs,
...
}:
let let
username = "ethanreece"; username = "ethanreece";
homeDirectory = "/Users/${username}"; homeDirectory = "/Users/${username}";
in in
{ {
imports = [
inputs.home-manager.darwinModules.home-manager
inputs.lix-module.nixosModules.default
inputs.stylix.darwinModules.stylix
inputs.sops-nix.darwinModules.sops
];
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
system = { system = {
stateVersion = 6; stateVersion = 6;
@ -50,4 +61,10 @@ in
imports = [ ../../home-manager/macos/home.nix ]; imports = [ ../../home-manager/macos/home.nix ];
}; };
}; };
stylix = (import ../../stylix { inherit config pkgs; }) // {
homeManagerIntegration = {
autoImport = false;
followSystem = false;
};
};
} }

View file

@ -21,13 +21,7 @@
inputs.nix-darwin.lib.darwinSystem { inputs.nix-darwin.lib.darwinSystem {
inherit system; inherit system;
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [ ./configuration.nix ];
inputs.home-manager.darwinModules.home-manager
inputs.lix-module.nixosModules.default
inputs.stylix.darwinModules.stylix
inputs.sops-nix.darwinModules.sops
./configuration.nix
];
} }
); );
} }

View file

@ -26,7 +26,4 @@
name = "OpenMoji Color"; name = "OpenMoji Color";
}; };
}; };
targets = {
kitty.variant256Colors = true;
};
} }