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

View file

@ -63,7 +63,7 @@
nss
openssl
pango
# pipewire
pipewire
stdenv.cc.cc
systemd
vulkan-loader
@ -82,5 +82,13 @@
xorg.libxkbfile
xorg.libxshmfence
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;
fish.enable = true;
man.generateCaches = false;
lsd.enable = true;
# sort-lines:end
};