Skip to content

Commit

Permalink
users: remove script, opt for aliases instead
Browse files Browse the repository at this point in the history
  • Loading branch information
moni-dz committed Feb 7, 2022
1 parent fb34daa commit cf3198c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 97 deletions.
4 changes: 4 additions & 0 deletions users/fortuneteller2k/config/sh-aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@
cp = "cp -i";
rm = "rm -i";
repl = ''. /etc/set-environment && nix repl "$(echo "$NIX_PATH" | perl -pe 's|.*(/nix/store/.*-source/repl.nix).*|\1|')" && exit'';
swh = "home-manager switch --flake ~/.config/nix-config#fortuneteller2k";
swn = "doas nixos-rebuild switch --flake ~/.config/nix-config#superfluous";
cfg = "cd ~/.config/nix-config";
bump = "cd ~/.config/nix-config && nix flake update --commit-lock-file --commit-lockfile-summary 'flake: bump flakes' && swn && swh";
}
97 changes: 0 additions & 97 deletions users/fortuneteller2k/scripts/can.nix

This file was deleted.

0 comments on commit cf3198c

Please sign in to comment.