sshd module, home-shared-modules
This commit is contained in:
parent
821d057aca
commit
37f5f73a76
7 changed files with 66 additions and 71 deletions
44
modules/users/home-shared-modules.nix
Normal file
44
modules/users/home-shared-modules.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
[
|
||||
# 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;
|
||||
enableSyntaxHighlighting = true;
|
||||
enableAutosuggestions = true;
|
||||
enableVteIntegration = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
# common git config
|
||||
{
|
||||
programs = {
|
||||
git = {
|
||||
enable = true;
|
||||
extraConfig.init.defaultBranch = "main";
|
||||
};
|
||||
|
||||
gh = {
|
||||
enable = true;
|
||||
enableGitCredentialHelper = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue