change nixos directory to nixconf to match repo name
added nano --> nvim alias added serverswitch alias to rebuild server config
This commit is contained in:
parent
a587e8b0f6
commit
12d3cb26b6
2 changed files with 4 additions and 2 deletions
|
@ -10,10 +10,12 @@
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ls = "eza -lh";
|
ls = "eza -lh";
|
||||||
ip = "ip --color=auto";
|
ip = "ip --color=auto";
|
||||||
|
nano = "nvim";
|
||||||
|
|
||||||
# Aliases for my nixos workflow, requires nh and home-manager
|
# Aliases for my nixos workflow, requires nh and home-manager
|
||||||
switch = "nh os switch";
|
switch = "nh os switch";
|
||||||
homeswitch = "home-manager switch --flake /home/blue/nixos |& nom";
|
homeswitch = "home-manager switch --flake /home/blue/nixconf |& nom";
|
||||||
|
serverswitch = "nixos-rebuild switch --flake ~/nixconf#biggerpi --target-host blue@biggerpi --use-remote-sudo";
|
||||||
};
|
};
|
||||||
|
|
||||||
plugins = with pkgs; [
|
plugins = with pkgs; [
|
||||||
|
|
|
@ -4,6 +4,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
clean.enable = true;
|
clean.enable = true;
|
||||||
clean.extraArgs = "--keep-since 4d --keep 3";
|
clean.extraArgs = "--keep-since 4d --keep 3";
|
||||||
flake = "/home/blue/nixos";
|
flake = "/home/blue/nixconf";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue