• 4 Posts
  • 152 Comments
Joined 11 months ago
cake
Cake day: March 26th, 2024

help-circle





  • sunstonedtoSelfhosted@lemmy.worldWhat do you use for notes?
    link
    fedilink
    English
    arrow-up
    4
    ·
    18 days ago

    Apparently I’m in the minority, but I love Logseq. I’ve used it with Syncthing for personal notes and grad school for the past three years with no hiccups. Maybe my success with it is partially due to nested bullet points already being how my brain works but the default paradigm is perfect for me.

    The plain markdown files are organized reasonably, so I can straight up use Vim as my notes editor if I want.

    Tags (#) create a new page to easily circle back to topics later without interrupting your thought pattern to make that structure manually. Once you leave edit mode for the line the tag becomes a link to that page. Some of my favorites are #clothes-that-fit (where I can easily embed a picture of the tag of what I’m trying on to look for deals online later), or #reading-list.

    It’s just so useful.






  • if you could start again in your self hosting journey, what would you do differently? :)

    That’s an excellent question.

    If I were to start over, the first thing that I would do is start by learning the basics of networking and set up a VPN! IMO exposing services to the public internet should be considered more of an advanced level task. When you don’t know what you don’t know, it’s risky and frankly unnecessary.

    The lowest barrier to entry for a personal VPN, by far, is Tailscale. Automatic internal DNS and clients for nearly any device makes finding services on a dedicated machine really, really, easy. Look into putting a tailscale client right into the compose file so you automatically get an internal DNS records for a service rather than a whole machine.

    From there, play around with more ownership (work) with regard to what can touch your network. Switch from Tailscale’s “trusted” login to hosting your own Headscale instance. Add a PiHole or AdGuard exit node and set up your own internal DNS records.

    Maybe even scrap the magic (someone else’s logic that may or may not be doing things you need) and go for a plain-Jane Wireguard setup.




  • sunstonedtoNix / NixOS@programming.devFinally transitioned to NixOS!!
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    2 months ago

    Strongly second this recommendation. One of the biggest benefits of nix is being able to use the package manager on Linux/MacOS. You can quite literally start out by simply porting whole config files into the nix store. Just copy the file into your nix configs repo and have nix create the symlink.

    I personally play around with these via imports. Say I want to start configuring Firefox via home-manager. I could start with configuring Firefox manually, then storing my raw /home/luc/.mozilla/firefox/profiles.ini in my nix store by the method above via a file called firefox-native.nix. Then in firefox.nix I play around with parameters in the nix config. If I hit a wall and don’t have time to figure out the “real” nix configs, I just switch my import over from:

    # home.nix
    imports = [ ./firefox.nix ]; # the nix way
    

    to:

    # home.nix
    imports = [ ./firefox-native.nix ]; # fallback - known working native config file
    

    Don’t forget about the Discourse page! I’ve found folks there to be very friendly and helpful.

    Other useful tools are: search.nixos.org - for seeing if a package exists. mynixos - for exploring options within a program/service configuration.






  • sunstonedtoSelfhosted@lemmy.worldBathroom scale options?
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    2 months ago

    OpenScale works great and kind of does what you want. If you have an old Android phone laying around you can have it persistently connected to a cheap Bluetooth scale. Functional, but at a much have higher power cost than an ESP32 solution. Automated database exports to a local file (on the android device) and Syncthing can move your data around for analysis.

    The good folks over at Gadgetbridge might have a solution too, although their list of supported scales looks pretty short.

    You might also look into making a project like rmfakecloud to trick your Fitbit device into pushing data to a local server.

    Not sure about home assistant though, I’ve never used it.