diff --git a/modules/hosts/john-p14s/configuration.nix b/modules/hosts/john-p14s/configuration.nix index fc73138..069ce94 100644 --- a/modules/hosts/john-p14s/configuration.nix +++ b/modules/hosts/john-p14s/configuration.nix @@ -3,6 +3,7 @@ flake.modules.nixos.p14sConfiguration = { config, pkgs, lib, ... }: let hostname = "john-p14s"; + flakeDir = "${config.home-manager.users.john.home.homeDirectory}/Documents/dendritic"; in { imports = [ @@ -106,8 +107,9 @@ rebuild ({config, ... }: { my-vscode.enable = true; - mysops.hostSecretFile = "${config.home.homeDirectory}/Documents/dendritic/modules/hosts/john-p14s/secrets.yaml"; - homeManagerFlakeDir = "${config.home.homeDirectory}/Documents/dendritic"; + mysops.hostSecretFile = "${flakeDir}/modules/hosts/john-p14s/secrets.yaml"; + homeManagerFlakeDir = "${flakeDir}"; + programs.bash.enable = lib.mkForce true; }) ]; sops.defaultSopsFile = ./secrets.yaml;