more homeModules
This commit is contained in:
parent
ff0c287624
commit
1b3b7cf607
16 changed files with 158 additions and 154 deletions
13
homeModules/git.nix
Normal file
13
homeModules/git.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
programs = {
|
||||
git = {
|
||||
enable = true;
|
||||
extraConfig.init.defaultBranch = "main";
|
||||
};
|
||||
|
||||
gh = {
|
||||
enable = true;
|
||||
gitCredentialHelper.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
9
homeModules/nano.nix
Normal file
9
homeModules/nano.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
home = {
|
||||
sessionVariables.EDITOR = "nano";
|
||||
file.".nanorc".text = ''
|
||||
set linenumbers
|
||||
set mouse
|
||||
'';
|
||||
};
|
||||
}
|
12
homeModules/templates.nix
Normal file
12
homeModules/templates.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
home.file = {
|
||||
"Templates/Empty file".text = "";
|
||||
"Templates/Empty bash script".text = ''
|
||||
#!/usr/bin/env bash
|
||||
# abort on error, undefined variables
|
||||
set -eu
|
||||
# print commands before execution
|
||||
set -x
|
||||
'';
|
||||
};
|
||||
}
|
13
homeModules/zsh-basics.nix
Normal file
13
homeModules/zsh-basics.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
programs = {
|
||||
command-not-found.enable = true;
|
||||
dircolors.enable = true;
|
||||
|
||||
zsh = {
|
||||
enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
autosuggestion.enable = true;
|
||||
enableVteIntegration = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue