Avatar
stefan b
f4a55f013ab02a369741e1feb70a24b240641db15ebae064a6c7ed312ceb20e8
he/him, extreme music fan, anarchist, vegan, foss / privacy nerd, software dev, manchester uk toots auto-delete after 2 weeks
Replying to b1f5d97f...

nostr:npub19lt4284mghqxekzm6n5njxurnxrxhqhrva2leusdsuu5ja5jeycq66qfjk could you isolate the battery with a relay in case of power outage or is islanding just not permitted?

nostr:npub1uxszjpsyqfx5fjzulaktunyle7tl0r9jn0nj3h97vm2r5v2xsukqn87sm4 nostr:npub19lt4284mghqxekzm6n5njxurnxrxhqhrva2leusdsuu5ja5jeycq66qfjk also curious about this - I'm in the UK and will want a battery installed soon enough, and it'd be reassuring to know it would work even if the leccy went off (for a bit)

Nix/OS keeps impressing me - TIL that you can write a script in arbitrary languages and then add a nix-shell shebang to set up the environment using the standard Nix repo biz

so, you can do:

#! /usr/bin/env nix-shell

#! nix-shell -i python3 -p python3Packages.beautifulsoup4 python3Packages.prettytable

from bs4 import BeautifulSoup

from prettytable import PrettyTable

..more Python code..

no need to create / understand language-specific virtual environments

super cool!

#linux #nix #nixos