1
0
Fork 0

Compare commits

..

No commits in common. "aa3d3a3df2b7ec5266b2c16684b5a6e4334b280f" and "de04c59695cb483232c0e1959e8101d81013bfce" have entirely different histories.

8 changed files with 40 additions and 42 deletions

View file

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

View file

@ -2,9 +2,27 @@
# #
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
{ pkgs, ... }: { inputs, pkgs, ... }:
{ {
imports = [ ./base.nix ]; imports = [
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,7 +57,6 @@ 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
@ -69,20 +68,7 @@ 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,7 +46,4 @@
]; ];
}; };
}; };
catppuccin = {
gtk.icon.enable = false;
};
} }

View file

@ -3,7 +3,6 @@
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
{ {
config,
flake-parts-lib, flake-parts-lib,
inputs, inputs,
lib, lib,
@ -19,14 +18,19 @@ 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 = "darwin-help"; command = "${inputs.nix-darwin.packages.${system}.default}/bin/darwin-help";
category = " nix-darwin"; category = " nix-darwin";
} }
] ]

View file

@ -2,23 +2,12 @@
# #
# 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;
@ -61,10 +50,4 @@ 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,7 +21,13 @@
inputs.nix-darwin.lib.darwinSystem { inputs.nix-darwin.lib.darwinSystem {
inherit system; inherit system;
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ ./configuration.nix ]; modules = [
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,4 +26,7 @@
name = "OpenMoji Color"; name = "OpenMoji Color";
}; };
}; };
targets = {
kitty.variant256Colors = true;
};
} }