test-push
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user