diff --git a/nixos/systems/toothpick/default.nix b/nixos/systems/toothpick/default.nix index ec2b2a3..f0931b4 100644 --- a/nixos/systems/toothpick/default.nix +++ b/nixos/systems/toothpick/default.nix @@ -17,18 +17,25 @@ with lib; { imports = [ - (roots.nixos + "/modules") + (roots.nixos + "/profiles/vps.nix") ./consul.nix ./nomad.nix ./vault-agent.nix ]; + home-manager.users."main" = {...}: { + home.stateVersion = "22.05"; + }; + _module.args.nixinate = { host = "redalder.org"; sshUser = "main"; buildOn = "local"; substituteOnTarget = true; hermetic = false; + nixOptions = [ + "--override-input secret path://$HOME/dotfiles/secret" + ]; }; magic_rb = {