added shell management
This commit is contained in:
parent
5be3303eb5
commit
cad626b5a6
|
@ -14,6 +14,12 @@
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
# pkgs = import nixpkgs {
|
||||||
|
# inherit system;
|
||||||
|
# config = {
|
||||||
|
# allowUnfree = true;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
in {
|
in {
|
||||||
homeConfigurations."tacocat" = home-manager.lib.homeManagerConfiguration {
|
homeConfigurations."tacocat" = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
@ -24,7 +30,7 @@
|
||||||
|
|
||||||
# Optionally use extraSpecialArgs
|
# Optionally use extraSpecialArgs
|
||||||
# to pass through arguments to home.nix
|
# to pass through arguments to home.nix
|
||||||
extraSpecialArgs = {inherit inputs;};
|
extraSpecialArgs = {inherit inputs system;};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
42
home.nix
42
home.nix
|
@ -7,9 +7,51 @@
|
||||||
stateVersion = "23.11";
|
stateVersion = "23.11";
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
wineWowPackages.unstable
|
wineWowPackages.unstable
|
||||||
|
gcc-arm-embedded
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
enableAutosuggestions = true;
|
||||||
|
enableCompletion = true;
|
||||||
|
enableVteIntegration = true;
|
||||||
|
cdpath = [
|
||||||
|
"/mnt/nixos/etc/nixos/"
|
||||||
|
"/mnt/stuff/school/"
|
||||||
|
];
|
||||||
|
defaultKeymap = "vicmd";
|
||||||
|
dotDir = ".config/zsh";
|
||||||
|
history = {
|
||||||
|
ignoreSpace = true;
|
||||||
|
path = "${config.xdg.dataHome}/zsh/zsh_history";
|
||||||
|
save = 10000;
|
||||||
|
};
|
||||||
|
historySubstringSearch.enable = true;
|
||||||
|
oh-my-zsh = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.bash = {
|
||||||
|
enable = true;
|
||||||
|
enableCompletion = true;
|
||||||
|
enableVteIntegration = true;
|
||||||
|
bashrcExtra = ''
|
||||||
|
|
||||||
|
if [ -d "$HOME/.local/bin" ] ; then
|
||||||
|
PATH="$HOME/.local/bin:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
# gtk = {
|
||||||
|
# enable = true;
|
||||||
|
# theme.package = pkgs.adw-gtk3;
|
||||||
|
# theme.name = "adw-gtk3";
|
||||||
|
# };
|
||||||
|
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
# manage.
|
# manage.
|
||||||
# home.username = "tacocat";
|
# home.username = "tacocat";
|
||||||
|
|
Loading…
Reference in a new issue