mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-19 06:19:12 +00:00
users/home-manager: add shell configuration
This commit is contained in:
parent
c50e199035
commit
27b17a4195
@ -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;
|
||||||
|
@ -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";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user