modules updates

This commit is contained in:
2024-04-28 11:24:47 -06:00
parent e23ce200a5
commit 4bcb766dec
11 changed files with 102 additions and 38 deletions

View File

@@ -10,11 +10,10 @@ in {
useGlobalPkgs = true;
users.jawz = { config, pkgs, ... }: {
home.stateVersion = version;
programs.bash = {
enable = true;
historyFile = "\${XDG_STATE_HOME}/bash/history";
historyControl = [ "erasedups" "ignorespace" ];
historyControl = [ "erasedups" "ignorespace" "ignoredups" ];
shellAliases = {
hh = "hstr";
ls = "eza --icons --group-directories-first";
@@ -63,8 +62,8 @@ in {
nixos-reload () {
NIXOSDIR=/home/jawz/Development/NixOS
nix-store --add-fixed sha256 \
$NIXOSDIR/PureRef-1.11.1_x64.Appimage
# nix-store --add-fixed sha256 \
# $NIXOSDIR/PureRef-1.11.1_x64.Appimage
fd --full-path $NIXOSDIR -e nix -x nixfmt \;
sudo unbuffer nixos-rebuild switch -I \
nixos-config="$NIXOSDIR/hosts/$HOSTNAME/configuration.nix" \
@@ -96,9 +95,12 @@ in {
};
};
programs = {
emacs.enable = true;
helix = { enable = true; };
hstr.enable = true;
zoxide = {
enable = true;
enableBashIntegration = true;
};
direnv = {
enable = true;
enableBashIntegration = true;
@@ -129,17 +131,7 @@ in {
package = pkgs.htop-vim;
};
};
services = {
lorri.enable = true;
emacs = {
enable = true;
defaultEditor = true;
package = with pkgs;
((emacsPackagesFor emacs-gtk).emacsWithPackages
(epkgs: [ epkgs.vterm ]));
startWithUserSession = "graphical";
};
};
services = { lorri.enable = true; };
};
};
}