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

help-circle

  • 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
    1 month 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.