Trying to get macos to work

This commit is contained in:
Tyler Mayoff 2024-12-03 16:05:21 -05:00
parent 2199d70812
commit ec0f5e8e55
4 changed files with 24 additions and 43 deletions

View file

@ -32,11 +32,10 @@
];
};
fonts.fontconfig.enable = true;
home.packages = with pkgs; [
# Fonts
(nerdfonts.override {fonts = ["JetBrainsMono"];})
#(nerdfonts.override {fonts = ["JetBrainsMono"];})
unstable.nix-output-monitor
@ -48,15 +47,7 @@
restic
libnotify
distrobox
wl-clipboard
usbutils
yadm
# Shell
bash
starship
btop
ripgrep
@ -125,36 +116,7 @@
shellWrapperName = "y";
};
services.darkman = {
enable = true;
package = pkgs.unstable.darkman;
settings = {
lat = 45.408;
lng = -74.159;
};
darkModeScripts = {
helix-editor = ''
sed -i 's/theme = ".*"/theme = "catppuccin_macchiato"/' $HOME/.config/helix/config.toml
'';
alacritty = ''
ln -fs ~/.config/alacritty/themes/catppuccin_macchiato.toml ~/.config/alacritty/themes/_active.toml
touch ~/.config/alacritty/alacritty.toml
'';
};
lightModeScripts = {
helix-editor = ''
sed -i 's/theme = ".*"/theme = "catppuccin_latte"/' $HOME/.config/helix/config.toml
'';
alacritty = ''
ln -fs ~/.config/alacritty/themes/catppuccin_latte.toml ~/.config/alacritty/themes/_active.toml
touch ~/.config/alacritty/alacritty.toml
'';
};
};
home.stateVersion = "23.11";
programs.home-manager.enable = true;