nixos-configuration/modules/users/home-shared-modules.nix
Vinzenz Schroeter 38c7c96dcc upgrade to nixos-23.11
nix-channel --add https://nixos.org/channels/nixos-23.11 nixos

nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz home-manager

nix-channel --update

sudo nixos-rebuild boot --upgrade
2023-12-03 13:12:48 +01:00

45 lines
780 B
Nix

[
# set stateVersion
{
home.stateVersion = "22.11";
}
# make nano the default editor
{
home = {
sessionVariables.EDITOR = "nano";
file.".nanorc".text = ''
set linenumbers
set mouse
'';
};
}
# command line niceness
{
programs = {
command-not-found.enable = true;
dircolors.enable = true;
zsh = {
enable = true;
syntaxHighlighting.enable = true;
enableAutosuggestions = true;
enableVteIntegration = true;
};
};
}
# common git config
{
programs = {
git = {
enable = true;
extraConfig.init.defaultBranch = "main";
};
gh = {
enable = true;
gitCredentialHelper.enable = true;
};
};
}
]