modules updates
This commit is contained in:
@@ -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; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user