Compare commits
4 commits
de04c59695
...
aa3d3a3df2
Author | SHA1 | Date | |
---|---|---|---|
aa3d3a3df2 | |||
dd771952ce | |||
dd8a7d7fb0 | |||
654a03cebd |
8 changed files with 42 additions and 40 deletions
|
@ -118,7 +118,6 @@
|
|||
"MatthewCroughan"
|
||||
"MWMBL"
|
||||
"Nix"
|
||||
"optimise"
|
||||
"Reece"
|
||||
"TrackMeNot"
|
||||
"UTD"
|
||||
|
|
|
@ -2,27 +2,9 @@
|
|||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
{ inputs, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
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;
|
||||
};
|
||||
imports = [ ./base.nix ];
|
||||
home.packages = [
|
||||
pkgs.acpi
|
||||
pkgs.iproute2
|
||||
|
|
|
@ -57,6 +57,7 @@ let
|
|||
in
|
||||
{
|
||||
imports = [
|
||||
inputs.catppuccin.homeModules.catppuccin
|
||||
inputs.lix-module.nixosModules.default
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
inputs.stylix.homeModules.stylix
|
||||
|
@ -68,7 +69,20 @@ in
|
|||
defaultSopsFile = ../sops/secrets.yaml;
|
||||
};
|
||||
# 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 = {
|
||||
stateVersion = "24.11";
|
||||
language.base = "eo.utf8";
|
||||
|
|
|
@ -46,4 +46,7 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
catppuccin = {
|
||||
gtk.icon.enable = false;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
|
||||
{
|
||||
config,
|
||||
flake-parts-lib,
|
||||
inputs,
|
||||
lib,
|
||||
|
@ -18,19 +19,14 @@ in
|
|||
flake-parts-lib.importApply (./. + "/${module-name}/flake-module.nix") { inherit module-name; }
|
||||
) modules;
|
||||
perSystem =
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
system,
|
||||
...
|
||||
}:
|
||||
{ pkgs, system, ... }:
|
||||
{
|
||||
devshells.default = lib.mkIf pkgs.stdenv.hostPlatform.isDarwin {
|
||||
commands = [
|
||||
{
|
||||
help = " show nix-darwin documentation";
|
||||
name = "man-darwin";
|
||||
command = "${inputs.nix-darwin.packages.${system}.default}/bin/darwin-help";
|
||||
command = "darwin-help";
|
||||
category = " nix-darwin";
|
||||
}
|
||||
]
|
||||
|
|
|
@ -2,12 +2,23 @@
|
|||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
username = "ethanreece";
|
||||
homeDirectory = "/Users/${username}";
|
||||
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;
|
||||
system = {
|
||||
stateVersion = 6;
|
||||
|
@ -50,4 +61,10 @@ in
|
|||
imports = [ ../../home-manager/macos/home.nix ];
|
||||
};
|
||||
};
|
||||
stylix = (import ../../stylix { inherit config pkgs; }) // {
|
||||
homeManagerIntegration = {
|
||||
autoImport = false;
|
||||
followSystem = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -21,13 +21,7 @@
|
|||
inputs.nix-darwin.lib.darwinSystem {
|
||||
inherit system;
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
inputs.home-manager.darwinModules.home-manager
|
||||
inputs.lix-module.nixosModules.default
|
||||
inputs.stylix.darwinModules.stylix
|
||||
inputs.sops-nix.darwinModules.sops
|
||||
./configuration.nix
|
||||
];
|
||||
modules = [ ./configuration.nix ];
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
@ -26,7 +26,4 @@
|
|||
name = "OpenMoji Color";
|
||||
};
|
||||
};
|
||||
targets = {
|
||||
kitty.variant256Colors = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue