modularization
This commit is contained in:
parent
3599d9c057
commit
71e22f65bb
12 changed files with 173 additions and 145 deletions
26
modules/home-manager/cli/shell.nix
Normal file
26
modules/home-manager/cli/shell.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{pkgs, ...}: {
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
|
||||
shellAliases = {
|
||||
a = "echo idssss";
|
||||
rb = "sudo nixos-rebuild switch --flake ~/nixdots#";
|
||||
nixtest = "sudo nixos-rebuild test --flake ~/nixdots#";
|
||||
infect = "nix run github:nix-community/nixos-anywhere -- -- flake";
|
||||
};
|
||||
|
||||
bashrcExtra = ''
|
||||
PS1="\[\e[38;5;177m\]\u\[\e[38;5;220m\]@\[\e[38;5;1m\]\h \[\e[38;5;33m\]\w \[\033[0m\]\$ "
|
||||
'';
|
||||
};
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
user.name = "tulg";
|
||||
user.email = "tulg@protonmail.ch";
|
||||
};
|
||||
};
|
||||
|
||||
programs.zsh.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue