Fix Monarch new environment setup

This commit is contained in:
Evie Litherland-Smith 2023-05-16 13:05:40 +01:00
parent 43cefa3995
commit 26382d8d20
5 changed files with 11 additions and 17 deletions

View file

@ -1,6 +1,12 @@
{ ... }: { ... }:
{ {
imports = [ ../personal.nix ]; imports = [
../env
../tui
../gui/wezterm.nix
../git/personal.nix
../ssh/personal.nix
];
# Home Manager needs a bit of information about you and the # Home Manager needs a bit of information about you and the
# paths it should manage. # paths it should manage.
home.username = "tux"; home.username = "tux";

6
home/env/bash.nix vendored
View file

@ -3,11 +3,7 @@
{ {
programs.bash = { programs.bash = {
enable = true; enable = true;
shellAliases = { shellAliases = { lg = "lazygit"; };
lg = "lazygit";
hypr = "Hyprland -c $HOME/.config/hypr/hyprland-$(hostname).conf";
neovide = "WINIT_UNIX_BACKEND=x11 neovide";
};
}; };
programs.keychain.enableBashIntegration = true; programs.keychain.enableBashIntegration = true;
programs.starship.enableBashIntegration = true; programs.starship.enableBashIntegration = true;

View file

@ -9,6 +9,7 @@
./nix-index.nix ./nix-index.nix
./readline.nix ./readline.nix
./starship.nix ./starship.nix
./zsh.nix
]; ];
home.packages = with pkgs; [ dig file gnumake silver-searcher ]; home.packages = with pkgs; [ dig file gnumake silver-searcher ];
} }

6
home/env/fish.nix vendored
View file

@ -3,11 +3,7 @@
{ {
programs.fish = { programs.fish = {
enable = true; enable = true;
shellAbbrs = { shellAbbrs = { lg = "lazygit"; };
lg = "lazygit";
hypr = "Hyprland -c $HOME/.config/hypr/hyprland-$(hostname).conf";
neovide = "WINIT_UNIX_BACKEND=x11 neovide";
};
}; };
programs.keychain.enableFishIntegration = true; programs.keychain.enableFishIntegration = true;
programs.starship.enableFishIntegration = true; programs.starship.enableFishIntegration = true;

7
home/env/zsh.nix vendored
View file

@ -3,12 +3,7 @@
{ {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
shellAliases = { shellAliases = { ll = "ls -l"; lg = "lazygit"; };
ll = "ls -l";
lg = "lazygit";
hypr = "Hyprland -c $HOME/.config/hypr/hyprland-$(hostname).conf";
neovide = "WINIT_UNIX_BACKEND=x11 neovide";
};
history = { history = {
size = 10000; size = 10000;
path = "${config.xdg.dataHome}/zsh/history"; path = "${config.xdg.dataHome}/zsh/history";