This commit is contained in:
John Lancaster
2026-03-08 15:33:30 -05:00
parent a049bd539a
commit 5d927f10e6
3 changed files with 4 additions and 3 deletions

View File

@@ -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" ];
};

View File

@@ -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

View File

@@ -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;