Skip to content

efficacy38/nur-packages

Repository files navigation

nur-packages

My personal NUR repository

Build and populate cache

Cachix Cache

Modules

Kopia

How to use this kopia module

config = {
   services.kopia = {
   enabled = true;
   instances = {
      s3 = {
         enabled = true;
         # password = "test";
         passwordFile = "/test/";
         path = "/tmp/";
         repository = {
         s3.bucket = "test-kopia";
         s3.endpoint = "s3.amazonaws.com";
         # s3.accessKey = "**************";
         # s3.secretKey = "**************";
         s3.accessKeyFile = "/etc/kopia/accessKey";
         s3.secretKeyFile = "/etc/kopia/secretKey";
         };
      };
   };
   };
}

RoadMap

  • setup repository
  • setup repository with different namespace(currently we place kopia config under user's XDG_CONFIG_FILE, change to somewhare to prevent accident access)
  • setup snapshot and run it periodically with systemd timer
  • close repository after snapshot is done
  • policy
  • global policy
  • add test case
  • let kopia snapshot on btrfs or zfs's snapshot
  • webui setup(kopiaUI)
  • add other instance type
    • kopia, allow this kopia instance push snapshot to remote kopia server
    • b2
    • azure
    • ...

Develop with nixos-shell

define the module's options at vm.nix, then run nixos-shell to activate the vm

check wiki or its project README to find more

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •