diff --git a/public/blog/2025/01/28-leveraging-nixos-dufs-cloud-storage.html b/public/blog/2025/01/28-leveraging-nixos-dufs-cloud-storage.html index 65bea7e..0eaa733 100644 --- a/public/blog/2025/01/28-leveraging-nixos-dufs-cloud-storage.html +++ b/public/blog/2025/01/28-leveraging-nixos-dufs-cloud-storage.html @@ -1,51 +1,60 @@ - - - - - + + - - Quick & easy cloud storage with dufs and NixOS - + Google Drive or Proton Drive. it supports WebDAV and HTTPS file transfer protocols." + /> + + Quick & easy cloud storage with dufs and NixOS + - -
-

Will Holdsworth

-
- -
-
+ +
+

Will Holdsworth

+
+ +
+
-
- « Return to posts -

Quick & easy cloud storage with dufs and NixOS

-

- dufs1 (the distinctive file - utility server) is a cloud storage replacement for those looking to move away from third-party services like - Google Drive or Proton Drive. it supports WebDAV and HTTPS file transfer protocols. -

-

It's very easy to set up and get going in NixOS using a Docker container.

+
+ « Return to posts +

Quick & easy cloud storage with dufs and NixOS

+

+ dufs1 + (the distinctive file utility server) is a cloud storage replacement for + those looking to move away from third-party services like Google Drive + or Proton Drive. it supports WebDAV and HTTPS file transfer protocols. +

+

+ It's very easy to set up and get going in NixOS using a Docker + container. +

-

Set up dufs

-

First, enable docker in your configuration.nix:

-
+      

Set up dufs

+

First, enable docker in your configuration.nix:

+
       
   virtualisation.docker.enable = true;
       
     
- Then define a Docker container, either in your configuration.nix or in a custom module: -
+      Then define a Docker container, either in your
+      configuration.nix or in a custom module:
+      
       
   virtualisation.oci-containers = {
     backend = "docker";
@@ -74,84 +83,114 @@
   };
       
     
- Rebuild your configuration by running sudo nixos-rebuild switch and head on over to - http://localhost:5000 to behold your lovely files. Now we need a method to access our files on other - devices inside (and outside) of our home network. Tailscale2 provides commands to accomplish this easily. + Rebuild your configuration by running + sudo nixos-rebuild switch and head on over to + http://localhost:5000 to behold your lovely files. Now we + need a method to access our files on other devices inside (and outside) of + our home network. Tailscale2 + provides commands to accomplish this easily. -

Set up Tailscale

-

- You can use Tailscale to access the files on other devices inside (and outside) of your home network. Tailscale is - like a crazy-fast vpn with a bunch of other comfort features like MagicDNS3, keyless SSH4 and - easy HTTPS5. -

-

To enable it in nixos, add the following to your configuration.nix:

-
+      

Set up Tailscale

+

+ You can use Tailscale to access the files on other devices inside (and + outside) of your home network. Tailscale is like a crazy-fast vpn with a + bunch of other comfort features like MagicDNS3, keyless SSH4 + and easy HTTPS5. +

+

+ To enable it in nixos, add the following to your + configuration.nix: +

+
       
   services.tailscale.enable = true;
   networking.firewall.trustedInterfaces = [ "tailscale0" ];
       
     
-

- Once again, rebuild your configuration by running sudo nixos-rebuild switch and run - tailscale up to start tailscale. The tailscale connection will persist on reboot, so no need to worry - about adding it to your init process. -

-

- I recommend enabling MagicDNS in the admin console > DNS > MagicDNS, but if you prefer not to, your server's IP - address will be visible by running tailscale ip -4. -

-

- Head over to http://<hostname or ip>:5000 on one of your other machines running tailscale to - upload, - download, and view your self-hosted files. -

+

+ Once again, rebuild your configuration by running + sudo nixos-rebuild switch and run + tailscale up to start tailscale. The tailscale connection + will persist on reboot, so no need to worry resume adding it to your + init process. +

+

+ I recommend enabling MagicDNS in the admin console > DNS > MagicDNS, but + if you prefer not to, your server's IP address will be visible by + running tailscale ip -4. +

+

+ Head over to http://<hostname or ip>:5000 on one of + your other machines running tailscale to upload, download, and view your + self-hosted files. +

-

dufs clients

-

- As for client recommendations, Round Sync6 on android is quite good. it supports both WebDAV and HTTPS remotes, I - chose to use WebDAV when connecting. -

-
-

Thanks for stopping by ^.^

+

dufs clients

+

+ As for client recommendations, Round Sync6 + on android is quite good. it supports both WebDAV and HTTPS remotes, I + chose to use WebDAV when connecting. +

+
+

Thanks for stopping by ^.^

-

Footnotes

-
    -
  1. - dufs - -
  2. -
  3. - Tailscale - -
  4. -
  5. - MagicDNS - -
  6. -
  7. - Tailscale SSH - -
  8. -
  9. - Tailscale HTTPS - -
  10. -
  11. - Round Sync - -
  12. -
- ^ Back to top -
+

Footnotes

+
    +
  1. + dufs + +
  2. +
  3. + Tailscale + +
  4. +
  5. + MagicDNS + +
  6. +
  7. + Tailscale SSH + +
  8. +
  9. + Tailscale HTTPS + +
  10. +
  11. + Round Sync + +
  12. +
+ ^ Back to top +
- - - - \ No newline at end of file + + + diff --git a/public/blog/index.html b/public/blog/index.html index 1344ee0..77f42ed 100644 --- a/public/blog/index.html +++ b/public/blog/index.html @@ -1,41 +1,40 @@ + + + + + + Will Holdsworth > Blog + - - - - - - Will Holdsworth > Blog - - - -
-

Will Holdsworth

-
- -
-
-
-

Posts

- -
- - - - \ No newline at end of file + +
+

Will Holdsworth

+
+ +
+
+
+

Posts

+ +
+ + + diff --git a/public/index.html b/public/index.html index 6c4b482..6f5c387 100644 --- a/public/index.html +++ b/public/index.html @@ -1,37 +1,33 @@ + + + + + + Will Holdsworth + - - - - - - Will Holdsworth - - - -
-

Will Holdsworth

-
- -
-
-
-

🚧 Page under construction 🚧

-
- - - - \ No newline at end of file + +
+

Will Holdsworth

+
+ +
+
+
+

🚧 Page under construction 🚧

+
+ + + diff --git a/public/pages/about.html b/public/pages/about.html deleted file mode 100644 index 6681736..0000000 --- a/public/pages/about.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - Will Holdsworth > About - - - -
-

Will Holdsworth

-
- -
-
-
-

Summary

-

I am a Kiwi living in Australia and studying a Bachelor of Science at The - University of Melbourne.

-
- - - - \ No newline at end of file diff --git a/public/projects/index.html b/public/projects/index.html index afaa74c..1ed139c 100644 --- a/public/projects/index.html +++ b/public/projects/index.html @@ -1,36 +1,32 @@ + + + + + + Will Holdsworth > Projects + - - - - - - Will Holdsworth > Projects - - - -
-

Will Holdsworth

-
- -
-
-
-

🚧 Page under construction 🚧

-
- - - - \ No newline at end of file + +
+

Will Holdsworth

+
+ +
+
+
+

🚧 Page under construction 🚧

+
+ + + diff --git a/templates/blog-template.html b/templates/blog-template.html index e4c34ae..227f3ee 100644 --- a/templates/blog-template.html +++ b/templates/blog-template.html @@ -1,40 +1,36 @@ + + + + + + Title + - - - - - - Title - + +
+

Will Holdsworth

+
+ +
+
- -
-

Will Holdsworth

-
- -
-
+
+ « Return to posts +

Title

+ ^ Back to top +
-
- « Return to posts -

Title

- ^ Back to top -
- - - - - \ No newline at end of file + + +