clean up default home options, add lsd

This commit is contained in:
Natalie 2025-08-01 20:59:12 -07:00
parent a58f16e18b
commit 992f77e656
No known key found for this signature in database
GPG key ID: 61F4EAEB0C9C3D5F
3 changed files with 79 additions and 67 deletions

View file

@ -23,12 +23,15 @@ in
description = "set the ghostty shader, relative to 'files/ghostty'"; description = "set the ghostty shader, relative to 'files/ghostty'";
}; };
}; };
config.programs = { config = {
home.shell = {
enableShellIntegration = true;
};
programs = {
home-manager.enable = true; home-manager.enable = true;
nix-index.enable = true; nix-index.enable = true;
direnv = { direnv = {
enableZshIntegration = true;
nix-direnv.enable = config.programs.direnv.enable; nix-direnv.enable = config.programs.direnv.enable;
}; };
@ -46,10 +49,9 @@ in
}; };
atuin = { atuin = {
enableBashIntegration = true;
enableFishIntegration = true;
daemon.enable = cfg.atuin.enable; daemon.enable = cfg.atuin.enable;
}; };
bat = { bat = {
extraPackages = with pkgs.bat-extras; [ extraPackages = with pkgs.bat-extras; [
batdiff batdiff
@ -86,8 +88,8 @@ in
inherit (pkgs.fishPlugins.bang-bang) src; inherit (pkgs.fishPlugins.bang-bang) src;
} }
]; ];
shellAliases = shellAliases = {
{ } }
// lib.optionalAttrs (!host.darwin) { // lib.optionalAttrs (!host.darwin) {
reboot-windows = "sudo efibootmgr --bootnext 0000; sudo reboot -h now"; reboot-windows = "sudo efibootmgr --bootnext 0000; sudo reboot -h now";
}; };
@ -101,4 +103,5 @@ in
cfg.ghostty.shader != null cfg.ghostty.shader != null
) "${../../files/ghostty}/${cfg.ghostty.shader}"; ) "${../../files/ghostty}/${cfg.ghostty.shader}";
}; };
};
} }

View file

@ -63,7 +63,7 @@
nss nss
openssl openssl
pango pango
# pipewire pipewire
stdenv.cc.cc stdenv.cc.cc
systemd systemd
vulkan-loader vulkan-loader
@ -82,5 +82,13 @@
xorg.libxkbfile xorg.libxkbfile
xorg.libxshmfence xorg.libxshmfence
zlib zlib
libxslt
# Stolen from https://github.com/Mic92/dotfiles/blob/57cf7fdf8705a5362fc19114b8395cdbf7668e94/nixos/modules/nix-ld.nix#L6-L58
flite
gtk2
gtk2-x11
libsecret
xorg.libXinerama
]; ];
} }

View file

@ -12,6 +12,7 @@
direnv.enable = true; direnv.enable = true;
fish.enable = true; fish.enable = true;
man.generateCaches = false; man.generateCaches = false;
lsd.enable = true;
# sort-lines:end # sort-lines:end
}; };