mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 16:58:34 -05:00
158 lines
2.6 KiB
Nix
158 lines
2.6 KiB
Nix
{
|
|
inputs,
|
|
outputs,
|
|
# lib,
|
|
# config,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
nixGLIntel = inputs.nixgl.packages."${pkgs.system}".nixGLIntel;
|
|
in {
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
home.username = "tyler";
|
|
home.homeDirectory = "/home/tyler";
|
|
|
|
home.enableNixpkgsReleaseCheck = false;
|
|
|
|
xdg.enable = true;
|
|
|
|
imports = [
|
|
./fish.nix
|
|
./nushell.nix
|
|
# ./nom.nix
|
|
# ./neovim.nix
|
|
];
|
|
|
|
nixpkgs = {
|
|
overlays = [
|
|
outputs.overlays.additions
|
|
outputs.overlays.modifications
|
|
outputs.overlays.unstable-packages
|
|
];
|
|
};
|
|
|
|
fonts.fontconfig.enable = true;
|
|
|
|
home.packages = with pkgs; [
|
|
nixGLIntel
|
|
|
|
# Fonts
|
|
(nerdfonts.override {fonts = ["JetBrainsMono"];})
|
|
|
|
unstable.nix-output-monitor
|
|
|
|
# dotfiles
|
|
age
|
|
chezmoi
|
|
|
|
# backup
|
|
restic
|
|
libnotify
|
|
|
|
distrobox
|
|
|
|
wl-clipboard
|
|
usbutils
|
|
|
|
yadm
|
|
|
|
# Shell
|
|
bash
|
|
starship
|
|
ripgrep
|
|
fh
|
|
fd
|
|
glow
|
|
unstable.helix
|
|
gitoxide
|
|
lnav
|
|
|
|
fzf
|
|
zoxide
|
|
|
|
# Software Dev
|
|
tig
|
|
mold
|
|
|
|
# language servers
|
|
efm-langserver
|
|
sumneko-lua-language-server
|
|
nil
|
|
alejandra
|
|
lemminx
|
|
pylyzer
|
|
ltex-ls # Spell checker
|
|
];
|
|
|
|
programs.bat = {
|
|
enable = true;
|
|
config = {
|
|
theme = "GitHub";
|
|
};
|
|
};
|
|
|
|
programs.zellij = {
|
|
enable = true;
|
|
};
|
|
|
|
programs.starship = {
|
|
enable = true;
|
|
};
|
|
|
|
programs.eza = {
|
|
enable = true;
|
|
enableFishIntegration = true;
|
|
};
|
|
|
|
programs.direnv = {
|
|
enable = true;
|
|
};
|
|
|
|
programs.thefuck = {
|
|
enable = true;
|
|
enableFishIntegration = true;
|
|
enableInstantMode = true;
|
|
};
|
|
|
|
programs.yazi = {
|
|
enable = true;
|
|
package = pkgs.unstable.yazi;
|
|
enableFishIntegration = true;
|
|
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;
|
|
}
|