added shell management

This commit is contained in:
Aria Nolan 2023-10-09 09:18:56 -04:00
parent 5be3303eb5
commit cad626b5a6
2 changed files with 49 additions and 1 deletions

View file

@ -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;};
}; };
}; };
} }

View file

@ -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";