fixed updating
This commit is contained in:
parent
4eecceea39
commit
9640bbea56
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.myOptions.programs.zsh;
|
cfg = config.myOptions.programs.zsh;
|
||||||
username = config.myOptions.other.system.username;
|
username = config.myOptions.other.system.username;
|
||||||
|
hostname = config.myOptions.other.system.hostname;
|
||||||
gitPath = config.myOptions.other.system.gitPath;
|
gitPath = config.myOptions.other.system.gitPath;
|
||||||
in {
|
in {
|
||||||
options.myOptions.programs.zsh = {
|
options.myOptions.programs.zsh = {
|
||||||
|
@ -55,7 +56,7 @@ in {
|
||||||
cd = "z";
|
cd = "z";
|
||||||
nv = "nvim";
|
nv = "nvim";
|
||||||
#TODO fix hardcoding of git repo path and profile name
|
#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;
|
} // cfg.extraAliases;
|
||||||
initExtraFirst = mkIf cfg.profiling "zmodload zsh/zprof";
|
initExtraFirst = mkIf cfg.profiling "zmodload zsh/zprof";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue