diff --git a/modules/home-manager/programs/ghostty.nix b/modules/home-manager/programs/ghostty.nix index e0572cd..782cb1b 100644 --- a/modules/home-manager/programs/ghostty.nix +++ b/modules/home-manager/programs/ghostty.nix @@ -14,7 +14,7 @@ }; targets.genericLinux.nixGL = { - packages = inputs.nixgl.packages.${pkgs.system}; + packages = inputs.nixgl.packages.${pkgs.stdenv.hostPlatform.system}; defaultWrapper = "mesa"; installScripts = [ "mesa" ]; }; diff --git a/modules/home-manager/programs/resticprofile.nix b/modules/home-manager/programs/resticprofile.nix index 78b5248..a8dc4c6 100644 --- a/modules/home-manager/programs/resticprofile.nix +++ b/modules/home-manager/programs/resticprofile.nix @@ -19,6 +19,7 @@ homepage = "https://creativeprojects.github.io/resticprofile/"; license = licenses.gpl3Only; maintainers = [ ]; + mainProgram = "resticprofile"; }; }; in { @@ -52,7 +53,7 @@ config = lib.mkIf cfg.enable ( let resticprofilePackage = lib.mkDefault - inputs.self.packages.${pkgs.system}.resticprofile; + inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.resticprofile; resticprofileBin = lib.getExe cfg.package; rpScript = pkgs.writeShellScriptBin "rp" '' set -e diff --git a/resticprofile/base.nix b/resticprofile/base.nix index 4d808b5..1c39a3c 100644 --- a/resticprofile/base.nix +++ b/resticprofile/base.nix @@ -2,7 +2,7 @@ { base = { repository = "local:/mnt/backup"; - password-file = "{{ .ConfigDir }}/resticprofile/password.txt"; + password-file = "{{ .ConfigDir }}/password.txt"; status-file = "{{ .ConfigDir }}/backup-status.json"; retention = { after-backup = true;