feat: improved justfile

This commit is contained in:
Nick 2025-03-20 21:54:42 -05:00
parent 523e604d30
commit 0710d7d059
2 changed files with 22 additions and 19 deletions

View file

@ -26,7 +26,6 @@ in
"jellyfin"
"libvirtd"
"minecraft"
"navidrome"
"netdev"
"networkmanager"
"nextcloud"
@ -49,7 +48,22 @@ in
homeDirectory = "/home/${user0}";
file = {
"./justfile" = {
source = ./files/justfile;
text = ''
vpn:
sudo protonvpn c --c CA
vpnoff:
sudo protonvpn d
rebuild:
nixos-rebuild switch --use-remote-sudo --flake ~/Files/Projects/dotfiles#${hostname} --show-trace
elm:
cd ~/Files/Projects/website/frontend ; elm-land server
server:
ssh ${devices.ceres.ip.address0}
'';
};
"./Files/Scripts/list.sh" = {
source = ./files/list.sh;
@ -59,9 +73,6 @@ in
source = ./files/loop.sh;
executable = true;
};
"./.config/vesktop/themes/macchiato-theme.css" = {
source = ./files/themes/vesktop/macchiato-theme.css;
};
"./.config/scripts/get_weather.sh" = {
source = ./files/get_weather.sh;
executable = true;
@ -70,6 +81,12 @@ in
source = ./files/wallpaper;
recursive = true;
};
"./.config/vesktop/themes/macchiato-theme.css" = {
source = ./files/themes/vesktop/macchiato-theme.css;
};
"./.config/qBittorrent/themes/catppuccin-mocha.qbtheme" = {
source = ./files/themes/qbittorrent/macchiato.qbtheme;
};
};
sessionVariables = {
VISUAL = lib.getExe pkgs.zed-editor;

View file

@ -1,14 +0,0 @@
vpn:
sudo protonvpn c --c CA
vpnoff:
sudo protonvpn d
rebuild:
nixos-rebuild switch --use-remote-sudo --flake ~/Files/Projects/dotfiles#mars --show-trace
elm:
cd ~/Files/Projects/website/frontend; elm-land server
server:
ssh 192.168.50.140