test-push

This commit is contained in:
John Lancaster
2026-03-10 22:36:45 -05:00
parent 20f72768c5
commit 93b9a1e5a9

View File

@@ -1,15 +1,21 @@
{ inputs, ... }:
{
flake.homeModules."john-pc-ubuntu" = { pkgs, ... }: {
flake.homeModules."john-pc-ubuntu" = { pkgs, config, ... }: {
imports = with inputs.self.homeModules; [
john
desktop
docker
ssh
resticprofile
sops
];
home.packages = with pkgs; [
nixos-rebuild
(writeShellScriptBin "test-push" ''
FLAKE_DIR="${config.xdg.configHome}/home-manager/jsl-dendritic"
nixos-rebuild switch --flake $FLAKE_DIR#janus --target-host root@fded:fb16:653e:25da:be24:11ff:fea0:753f
'')
];
# TODO: Add host-specific settings here:
# - sops secret for `restic_password/john_ubuntu`