Setup bash (and a bit of git)
This commit is contained in:
parent
e3d7814bb1
commit
13d739a312
@ -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;
|
||||
|
@ -11,6 +11,16 @@
|
||||
wget
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
prompt.enable = true;
|
||||
config = {
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
|
10
shared/home_manager/bash.nix
Normal file
10
shared/home_manager/bash.nix
Normal 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
|
Loading…
Reference in New Issue
Block a user