Fixes and more shell

This commit is contained in:
Aner Zakobar
2026-04-25 21:47:42 +03:00
parent 5e82ca5fe0
commit 5e8d5f575a
5 changed files with 26 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
{pkgs} @ args: {
default = import ./defaultShell.nix args;
}
+17
View File
@@ -0,0 +1,17 @@
{pkgs} @ args:
pkgs.mkShell {
buildInputs = with pkgs; [
alejandra
(pkgs.writeShellScriptBin "homey-deploy-rpi-main" ''
nixos-rebuild switch \
--flake .#pi-main \
--target-host admin@192.168.1.100 \
--build-host admin@192.168.1.100 \
--sudo
'')
(pkgs.writeShellScriptBin "homey-build-rpi-main" ''
sudo nixos-rebuild switch \
--flake .#pi-main
'')
];
}