changed nix aliases
This commit is contained in:
parent
d53a3627c2
commit
98ea4ff582
1 changed files with 6 additions and 3 deletions
|
|
@ -59,11 +59,14 @@ in
|
|||
cdns = "cd /etc/nixos";
|
||||
# cd to /etc/nixos and edit nix config
|
||||
# description: ns = nix settings
|
||||
ns = "cdns && sudo -E -s $EDITOR";
|
||||
ns = "cdns && $EDITOR";
|
||||
|
||||
# NOTE: commands need --accept-flake-config as Cerulean uses
|
||||
# experimental features
|
||||
# description: nrs = nix rebuild switch
|
||||
nrs = "cdns && nh os switch /etc/nixos";
|
||||
switch = "cdns && nh os switch /etc/nixos --accept-flake-config";
|
||||
# upgrades the system
|
||||
upgrade = "cdns && sudo nix flake update && nh os switch /etc/nixos";
|
||||
upgrade = "cdns && nix flake update && nh os switch ./ --accept-flake-config";
|
||||
|
||||
# kitty's ssh command (to fix xterm and other stuff qwq)
|
||||
kssh = "kitty +kitten ssh";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue