fixed updating
This commit is contained in:
parent
87836a9235
commit
d467afe3d3
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
with lib; let
|
||||
cfg = config.myOptions.programs.zsh;
|
||||
username = config.myOptions.other.system.username;
|
||||
hostname = config.myOptions.other.system.hostname;
|
||||
gitPath = config.myOptions.other.system.gitPath;
|
||||
in {
|
||||
options.myOptions.programs.zsh = {
|
||||
|
@ -55,7 +56,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}#mars\" --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}#${hostname}\" --log-format internal-json |& nom --json";
|
||||
|
||||
} // cfg.extraAliases;
|
||||
initExtraFirst = mkIf cfg.profiling "zmodload zsh/zprof";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue