users/home-manager: add shell configuration

This commit is contained in:
Gabriel Arazas 2023-11-26 12:08:00 +08:00
parent c50e199035
commit 27b17a4195
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 28 additions and 2 deletions

View File

@ -22,6 +22,19 @@ in
}; };
}; };
# My user shell of choice because I'm not a hipster.
programs.bash = {
enable = true;
historyControl = [ "erasedups" "ignoredups" "ignorespace" ];
historyIgnore = [
"cd"
"exit"
"lf"
"ls"
"nvim"
];
};
# Set nixpkgs config both outside and inside of home-manager. # Set nixpkgs config both outside and inside of home-manager.
nixpkgs.config = import ./config/nixpkgs/config.nix; nixpkgs.config = import ./config/nixpkgs/config.nix;
xdg.configFile."nixpkgs/config.nix".source = ./config/nixpkgs/config.nix; xdg.configFile."nixpkgs/config.nix".source = ./config/nixpkgs/config.nix;

View File

@ -13,6 +13,19 @@
jq jq
]; ];
# My user shell of choice because I'm not a hipster.
programs.bash = {
enable = true;
historyControl = [ "erasedups" "ignoredups" "ignorespace" ];
historyIgnore = [
"cd"
"exit"
"lf"
"ls"
"nvim"
];
};
profiles = { profiles = {
dev = { dev = {
enable = true; enable = true;
@ -33,8 +46,8 @@
"bash.history" "bash.history"
"vim.history" "vim.history"
]; ];
startAt = "daily"; startAt = "weekly";
}; };
home.stateVersion = "23.05"; home.stateVersion = "23.11";
} }