19 current 2025-03-18 20:31:11 25.05.20250315.c80f6a7 6.12.19 *

This commit is contained in:
Gustav Bruhn 2025-03-18 20:31:13 +01:00
parent a91ed8f66d
commit 647d4b2d9a
4 changed files with 20 additions and 4 deletions

View File

@ -85,10 +85,12 @@
description = "Gustav Bruhn"; description = "Gustav Bruhn";
extraGroups = ["networkmanager" "wheel"]; extraGroups = ["networkmanager" "wheel"];
packages = with pkgs; [ packages = with pkgs; [
# thunderbird
]; ];
}; };
# Set default shell
# users.defaultUserShell = pkgs.zsh;
home-manager = { home-manager = {
extraSpecialArgs = {inherit inputs;}; extraSpecialArgs = {inherit inputs;};
users = { users = {

View File

@ -5,6 +5,7 @@
}: { }: {
imports = [ imports = [
../../modules/home-manager/helix.nix ../../modules/home-manager/helix.nix
../../modules/home-manager/zsh.nix
]; ];
# Home Manager needs a bit of information about you and the paths it should # Home Manager needs a bit of information about you and the paths it should
# manage. # manage.

View File

@ -0,0 +1,13 @@
{...}: {
programs.zsh = {
enable = true;
enableCompletion = true;
zplug = {
enable = true;
plugins = [
{name = "zsh-users/zsh-autosuggestions";}
];
};
syntaxHighlighting.enable = true;
};
}

View File

@ -7,6 +7,9 @@ pushd ~/nixos/
alejandra . &>/dev/null \ alejandra . &>/dev/null \
|| (alejandra . ; echo "formatting failed!" && exit 1) || (alejandra . ; echo "formatting failed!" && exit 1)
git add .
echo "Rebuilding" echo "Rebuilding"
sudo nixos-rebuild switch --upgrade --flake . sudo nixos-rebuild switch --upgrade --flake .
@ -21,6 +24,3 @@ git commit -am "$current"
git push git push
popd popd
notify-send -e "Nixos updated and pushed to git" --icon=software-update-avaiable