From 558872a8f9f8ea8f3f15603a434a93f99d4e3b2c Mon Sep 17 00:00:00 2001 From: vali Date: Fri, 12 Apr 2024 14:54:23 +0200 Subject: [PATCH] fixed zsh.nix, fixed mars directory profile --- hosts/vali/mars/profile.nix | 8 ++++---- modules/cli/zsh.nix | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/hosts/vali/mars/profile.nix b/hosts/vali/mars/profile.nix index 99a9ac3..ef62882 100644 --- a/hosts/vali/mars/profile.nix +++ b/hosts/vali/mars/profile.nix @@ -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/ diff --git a/modules/cli/zsh.nix b/modules/cli/zsh.nix index 04e90d8..86aec3e 100644 --- a/modules/cli/zsh.nix +++ b/modules/cli/zsh.nix @@ -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; + }; }; }; };