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 = { targets.genericLinux.nixGL = {
packages = inputs.nixgl.packages.${pkgs.system}; packages = inputs.nixgl.packages.${pkgs.stdenv.hostPlatform.system};
defaultWrapper = "mesa"; defaultWrapper = "mesa";
installScripts = [ "mesa" ]; installScripts = [ "mesa" ];
}; };

View File

@@ -19,6 +19,7 @@
homepage = "https://creativeprojects.github.io/resticprofile/"; homepage = "https://creativeprojects.github.io/resticprofile/";
license = licenses.gpl3Only; license = licenses.gpl3Only;
maintainers = [ ]; maintainers = [ ];
mainProgram = "resticprofile";
}; };
}; };
in { in {
@@ -52,7 +53,7 @@
config = lib.mkIf cfg.enable ( config = lib.mkIf cfg.enable (
let let
resticprofilePackage = lib.mkDefault resticprofilePackage = lib.mkDefault
inputs.self.packages.${pkgs.system}.resticprofile; inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.resticprofile;
resticprofileBin = lib.getExe cfg.package; resticprofileBin = lib.getExe cfg.package;
rpScript = pkgs.writeShellScriptBin "rp" '' rpScript = pkgs.writeShellScriptBin "rp" ''
set -e set -e

View File

@@ -2,7 +2,7 @@
{ {
base = { base = {
repository = "local:/mnt/backup"; repository = "local:/mnt/backup";
password-file = "{{ .ConfigDir }}/resticprofile/password.txt"; password-file = "{{ .ConfigDir }}/password.txt";
status-file = "{{ .ConfigDir }}/backup-status.json"; status-file = "{{ .ConfigDir }}/backup-status.json";
retention = { retention = {
after-backup = true; after-backup = true;