fixed zsh.nix, fixed mars directory profile

This commit is contained in:
vali 2024-04-12 14:54:23 +02:00
commit 558872a8f9
2 changed files with 10 additions and 10 deletions

View file

@ -1,9 +1,9 @@
_: {
imports = [
../../options/boot/grub-boot.nix
../../options/desktop/fonts.nix
../../options/common/networking.nix
../../options/common/gpu/nvidia.nix
../../../options/boot/grub-boot.nix
../../../options/desktop/fonts.nix
../../../options/common/networking.nix
../../../options/common/gpu/nvidia.nix
# ../../options/common/pin-registry.nix
# ../../options/common/preserve-system.nix
#../../options/

View file

@ -55,7 +55,7 @@ in {
cd = "z";
nv = "nvim";
#TODO fix hardcoding of git repo path and profile name
update = "sudo -p 'password: ' echo 'Your daughter is just a fork of your wife.' && sudo nixos-rebuild switch --flake \"${gitPath}#${config.myOptions.other.system.hostname}\" --log-format internal-json |& nom --json";
update = "sudo -p 'password: ' echo 'Your daughter is just a fork of your wife.' && sudo nixos-rebuild switch --flake \"${gitPath}#mars\" --log-format internal-json |& nom --json";
} // cfg.extraAliases;
initExtraFirst = mkIf cfg.profiling "zmodload zsh/zprof";
@ -83,11 +83,11 @@ in {
};
}
];
oh-my-zsh = mkIf cfg.oh-my-zsh.enable {
enable = cfg.oh-my-zsh.enable;
theme = cfg.oh-my-zsh.theme;
plugins = cfg.oh-my-zsh.plugins;
};
oh-my-zsh = mkIf cfg.oh-my-zsh {
enable = cfg.oh-my-zsh.enable;
theme = cfg.oh-my-zsh.theme;
plugins = cfg.oh-my-zsh.plugins;
};
};
};
};