test-push
This commit is contained in:
@@ -1,15 +1,21 @@
|
|||||||
{ inputs, ... }:
|
{ inputs, ... }:
|
||||||
{
|
{
|
||||||
flake.homeModules."john-pc-ubuntu" = { pkgs, ... }: {
|
flake.homeModules."john-pc-ubuntu" = { pkgs, config, ... }: {
|
||||||
imports = with inputs.self.homeModules; [
|
imports = with inputs.self.homeModules; [
|
||||||
john
|
john
|
||||||
desktop
|
desktop
|
||||||
|
docker
|
||||||
|
ssh
|
||||||
resticprofile
|
resticprofile
|
||||||
sops
|
sops
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
nixos-rebuild
|
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:
|
# TODO: Add host-specific settings here:
|
||||||
# - sops secret for `restic_password/john_ubuntu`
|
# - sops secret for `restic_password/john_ubuntu`
|
||||||
|
|||||||
Reference in New Issue
Block a user