fixes
This commit is contained in:
@@ -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" ];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user