Move shellAliases definition from scripts -> shell
This commit is contained in:
parent
ead63d4d21
commit
fa8c2126f8
|
@ -1,15 +1,9 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home = {
|
||||
packages = [
|
||||
(pkgs.writeShellScriptBin "esync" (builtins.readFile ./shell/esync.sh))
|
||||
(pkgs.writeShellScriptBin "gsync" (builtins.readFile ./shell/gsync.sh))
|
||||
(pkgs.writeShellScriptBin "rsync-local-config" (builtins.readFile ./shell/rsync-local-config.sh))
|
||||
(pkgs.writeShellScriptBin "xdg-query-program" (builtins.readFile ./shell/xdg-query-program.sh))
|
||||
];
|
||||
shellAliases = {
|
||||
protonup = "sudo wg-quick up protonvpn && sudo wg";
|
||||
protondown = "sudo wg-quick down protonvpn";
|
||||
};
|
||||
};
|
||||
home.packages = [
|
||||
(pkgs.writeShellScriptBin "esync" (builtins.readFile ./shell/esync.sh))
|
||||
(pkgs.writeShellScriptBin "gsync" (builtins.readFile ./shell/gsync.sh))
|
||||
(pkgs.writeShellScriptBin "rsync-local-config" (builtins.readFile ./shell/rsync-local-config.sh))
|
||||
(pkgs.writeShellScriptBin "xdg-query-program" (builtins.readFile ./shell/xdg-query-program.sh))
|
||||
];
|
||||
}
|
||||
|
|
|
@ -10,11 +10,17 @@
|
|||
./ssh.nix
|
||||
./starship.nix
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
rclone
|
||||
git-sync
|
||||
du-dust
|
||||
];
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
rclone
|
||||
git-sync
|
||||
du-dust
|
||||
];
|
||||
shellAliases = {
|
||||
protonup = "sudo wg-quick up protonvpn && sudo wg";
|
||||
protondown = "sudo wg-quick down protonvpn";
|
||||
};
|
||||
};
|
||||
programs = {
|
||||
bash.enable = true;
|
||||
carapace.enable = true;
|
||||
|
|
Loading…
Reference in a new issue