Setup bash (and a bit of git)

This commit is contained in:
Knyffen 2024-08-24 19:14:19 +02:00
parent e3d7814bb1
commit 13d739a312
3 changed files with 21 additions and 0 deletions

View File

@ -6,6 +6,7 @@
../shared/home_manager/plasma_manager.nix
../shared/variables.nix
];
../shared/home_manager/bash.nix
../shared/home_manager/envvars_amd.nix
variables = config.variables;

View File

@ -11,6 +11,16 @@
wget
];
programs.git = {
enable = true;
prompt.enable = true;
config = {
init = {
defaultBranch = "main";
};
};
};
programs.neovim = {
enable = true;
defaultEditor = true;

View File

@ -0,0 +1,10 @@
{ config, ... }:
{
home.file.".bashrc".source = config.lib.file.mkOutOfStoreSymlink "${config.variables.homedir}/Nextcloud/configfiles/bash_configfiles/.bashrc";
home.file.".bash_profile".source = config.lib.file.mkOutOfStoreSymlink "${config.variables.homedir}/Nextcloud/configfiles/bash_configfiles/.bash_profile";
home.file.".profile".source = config.lib.file.mkOutOfStoreSymlink "${config.variables.homedir}/Nextcloud/configfiles/bash_configfiles/.profile";
home.file.".bash_aliases".source = config.lib.file.mkOutOfStoreSymlink "${config.variables.homedir}/Nextcloud/configfiles/bash_configfiles/bash_aliases/.bash_aliases";
}
# vim: tabstop=2 softtabstop=2