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