<drakonis>
it certainly backfired, time to run caddy again i guess?
<drakonis>
i'll try later
<cole-h>
drakonis: btw that path issue might be because it's trying to `builtins.readJSON ./config.json` or something, which is impure (and thus disallowed)
<drakonis>
i see
<drakonis>
annoying.
<cole-h>
`--impure` allows it, but it would be better to "just fix it"
<drakonis>
it'd be, yes.
drakonis has quit [Quit: WeeChat 2.9]
drakonis has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.9]
drakonis has joined #nixos-chat
<drakonis>
finally i'm back
rajivr has joined #nixos-chat
<abathur>
:)
<gchristensen>
is there something which can make git talk to an s3-like-thing as a remote?
<drakonis>
git annex
<drakonis>
its the closest thing you can get
<drakonis>
speaking of which
<drakonis>
i need to use git-annex to transfer data to my vps without using rsync
<drakonis>
there's others it seems
<drakonis>
is it exactly the thing you want though
<gchristensen>
I'm thinking about making one giant repo for all my personal junk
<drakonis>
nice
<abathur>
define junk
<abathur>
:]
<gchristensen>
like my shell script which runs RDP in a anyconnect VPN
<gchristensen>
instead of making a bunch of repos, just having one
<abathur>
probably?
<gchristensen>
probably?
<abathur>
I have repos for like, projects, but one yadm repo for ~dotfiles/etc
<drakonis>
i wish i could periodically invoke a funky script to execute functions
<gchristensen>
ah
<drakonis>
like backing things up
<abathur>
basically anything that isn't a project; if that counts I guess I already do that
<drakonis>
but declarative
<abathur>
how does one declaratively execute a function? :)
<drakonis>
i mean
<drakonis>
i want to be able to routinely execute functions to modify my system on set periods
<drakonis>
routinely do things on my system on certain events
<abathur>
what kind of events? presumably stuff that isn't already handled by time/boot-based systems
<drakonis>
yes
<drakonis>
filesystem events
<abathur>
ah, yeah; those have been ticky in my exp but I gather macOS is worse there. not elegant, but I have a shell-history plugin that dumps records onto an FD that a daemonized python script loops over
<abathur>
I'm squibbing, a FIFO; in my case I'm just using it to parse log lines and stick them in a db, but I've thought it'd be a simple way to handle some similar cases
<gchristensen>
neat
<drakonis>
honestly
<drakonis>
there's not a lot of good stuff on this matter atm
<abathur>
yeah
<drakonis>
the most i've seen on the matter is mgmt
<drakonis>
but it still needs a bit more time and more reach
<abathur>
probably a clever reimplementation of littlesnitch to serve this purpose for operating systems with too much telemetry :p
<drakonis>
yup
<drakonis>
i'd like that to be a thing
<drakonis>
i've been enjoying using tasker on android
<drakonis>
its too useful
<abathur>
nod
<abathur>
macos has automator, but I found it unreliable for FS stuff
<drakonis>
i'm not sure how to apply such a tool on something like linux
<{^_^}>
cebix/macemu#218 (by dblaber, 6 weeks ago, open): Linux build fails when --enable-sdl-video is configured
<ldlework>
maybe i can use the commit before that one
<samueldr>
(or the PRs linked?
<ldlework>
nice i got it working by reverting to a commit before the one in the issue
<ldlework>
also, nice surprise that macos9 is available on archive.org
<ldlework>
I will be playing Castles: Seige and Conquest and Escape Velocity in no time!
<drakonis>
ho ho ho
<ldlework>
drakonis: oh yeah btw, I've been playing Crusader Kings 3 last couple days
<ldlework>
can't help but to think you'd really dig it
<ldlework>
it's pretty cool that someone made a game like that
<ldlework>
it's like Civ, but with dwarf-fortress levels of simulation applied to the politics / diplomacy.
<ldlework>
samueldr: hmm how do you mount macos isos for use with sheepshaver?
<ldlework>
I get, mount: /media/iso: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.
<samueldr>
not sure, but either drag the iso on the window, or set it as a a hard drive image
<samueldr>
I don't remember
<samueldr>
I'm not positive I used sheepshaver
<drakonis>
i know what ck3 is
<drakonis>
the sequel to marrying your horse simulator
<colemickens>
speaking of mac nostalgia ldlework, I spent 45 minutes tracking this down the other night and other 10 just now: https://en.wikipedia.org/wiki/At_Ease
<colemickens>
that was what my "computer lab" in elementary school had installed on the Macs. I was hoping to find an archive.org image with it and some of the "edutainment" games from back then, but no luck.
<cole-h>
I refreshed my Firefox today because I messed with its user.js and some things were busted (like making GitHub reviews), and now I have to re-assign websites to their respective containers again...
<colemickens>
cole-h: I've stopped using basically all features of firefox because I'm tired of restoring them and/or them not syncing.
<cole-h>
Fair enough
<eyJhb>
cole-h colemickens home-manager to manage it?
<cole-h>
Meh. Firefox is one software I'm not keen to manage declaratively.
<eyJhb>
I still have a patch in the making with the ability to costumize extra things. E.g. you would have the ability to insert bookmarks etc.
<eyJhb>
You get back here cole-h and be a real NixOS user and manage everything using NixOS!
<cole-h>
x)
<eyJhb>
/boot cole-h :D
<cole-h>
I don't manager my git repos with NixOS ;)
<cole-h>
s/r //
<eyJhb>
managemy? :p
<eyJhb>
I am sure that would not be that practical
<eyJhb>
But now I somewhat want to use NixOS, to clone all repos I use but not really use into a folder in ~
<drakonis>
i'll hit the sack now
<cole-h>
fjkldsjl eyJhb whatever
<cole-h>
I should really remember to take off my glasses at my desk...
<eyJhb>
cole-h: why so?
<eyJhb>
Paid by the hour?
<eyJhb>
:p
<cole-h>
Heh. No, I just feel like it strains my eyes (especially in low light) (and I shouldn't need them at my desk...)
cole-h has quit [Quit: Goodbye]
<ldlework>
I was just thinking that, since sheepshaver has cli args for what disks are mounted, and all the software is available on archive.org or macintosh garden, you could make a nix expressions that let you express a macos system
<ldlework>
lol
<colemickens>
ever since I saw wfvm I think about Nix-composed VM images of other OSes. Sounds like a fun waste of time :)
<ajs124>
sc2k ๐ from what I remember the soundtrack didn't work in wine on the windows version
<ajs124>
and the windows and dos versions have different cheats or something. I think I still have the original box of that game _somewhere_.
<ldlework>
it's working fine in sheepshaver
<ldlework>
joepie91: apparently there was a sequel to SimTower by the same author
<joepie91>
that would be yoot tower
<ldlework>
yeah
<ldlework>
joepie91: have you tried it
<joepie91>
have not
<ldlework>
it's stuffit-expanding right now :P
<abathur>
gchristensen: what would the "as if it were a nix-shell shebang" add beyond resolving external sources/invocations down to absolute paths?
<gchristensen>
I want to be able to do both: ./myscript at the terminal, and also `callPackage ./myscript` in my nix expr and have them do the same thing
<ldlework>
It's so crazy having a virtual macos9 system with all of the games from my childhood.
<ldlework>
it's very surreal
<abathur>
I guess that may be at the junction of some timely questions about what Nix interfaces resholved should have, or maybe there's a higher-order wrapper adding the call semantics
<abathur>
when you say ./myscript at the terminal, do you mean it's self-building as a shebang would be, or would resholving a script and adding it to your path/profile meet the same need?
<gchristensen>
it'd just run, similar to #!nix-shell -i bash -p ...
<gchristensen>
(maybe build or not, I don't have an opinion)
<joepie91>
ldlework: nice :) the japanese version is much more extensive though
<ldlework>
it's already pretty intense
<ldlework>
you have to pick what shops you place!?
<ldlework>
madness
<abathur>
I haven't thought about resholved in a shebang context; might be sparks there. I guess if there was an interpreter that implicitly packaged the script with the resholved builder and then invoked it, you might be able to get all of the bits without having to rebuild every time?
<gchristensen>
yeah, maybe so -- I'm not sure
<gchristensen>
there'd basically need to be Nix syntax at the top to make it callpackageable
<gchristensen>
but also shebangy, and the tool'd need to read that
<adisbladis>
gchristensen: I guess you'd need to at least implement some of that parsing in nix
<adisbladis>
Only the shebang bits
<cransom>
all this talk of macos9 and shebang+derivation, it makes me think 'just put the derivation in the resource fork!'
<ldlework>
Anyone remember After Dark screensavers?
<cransom>
many hours spent in graphing calculator.
cole-h has joined #nixos-chat
<gchristensen>
"100.0 0.4 2:23.73 .diffoscope-wra" love hot loops
<ldlework>
cransom: you'd be surprised
<Taneb>
It saddens me a little how stateful setting up partitions and filesystems can be, but I don't know how to do it better
<gchristensen>
you can't
<gchristensen>
you can make faux-declarative tooling, but it isn't really
<Taneb>
:(
<gchristensen>
such is life when you're talking about a device whose entire purpose is to be stateful
<cransom>
as soon as we figure out that 4th dimension, stateful will be no problem.
<Taneb>
Heh
<Taneb>
I'm planning to overengineer a computer I'm thinking about getting in 5 months or so, and the only thing I can't really design, implement, and test well in advance is the filesystem it seems
<gchristensen>
ZFS!
<gchristensen>
throw off the shackles of partitions
<cole-h>
Does NixOS like zfs-managed /boot yet?
<aleph->
Grumble
<aleph->
Three transfers to get a cardiologist
<gchristensen>
it is less about NixOS and more about can your hardware boot it
<aleph->
Does no one at this office know what they're doing?
<cole-h>
Fair. Is there any way to check, without trying it first?
<gchristensen>
the general answer is no you can't, and if you're on EFI you need vfat
<immae_>
cole-h: I had a working setup in a VM with zfs-managed /boot and it worked fine (but I was adviced against it so it never made it into production)
<immae_>
ah yes, BIOS, not UEFI
<cole-h>
gchristensen: So for UEFI, it's not possible to have a zfs-managed /boot (since it needs to be vfat), correct?
<gchristensen>
right
<cole-h>
F. Can't throw off the shackles of partitions yet :(
<cole-h>
s/ yet//
<gchristensen>
yeah, well, like, do .5-1G /boot and the rest ZFS and you're good
<cole-h>
:P
<gchristensen>
at 1G you're going to be hard pressed to use all teh space
wildtrees has quit [Remote host closed the connection]
<cole-h>
I only put 512M, and I have to limit my generations to 128 or else it fills up real fast (could probably go a little higher, but meh)
<cole-h>
Next time I'm going 1G
wildtrees has joined #nixos-chat
<cole-h>
gchristensen: Do you use a swap partition?
<gchristensen>
no
<cole-h>
(Or maybe "swap zvol")
<gchristensen>
I'd rather things get OOM'd than swapped
<cole-h>
Fair. That's where we differ -- the only time I'm in a situation with enough memory pressure to OOM is when I'm in my win10 VM :P
<cole-h>
(which I give 12G)
<gchristensen>
ah
<cole-h>
Hm, next reinstall I think I'm going to start naming my pools with `[a-z]pool`, so labels can't potentially conflict for a while
<cole-h>
I think over winter break I'll do a reinstall, so I can update my install instructions now that I'm using flakes and stuff...
Plien has joined #nixos-chat
<samueldr>
ldlework: for the JIT to work, before using NixOS, yes, or editing a /sys/ value for base address something
wildtrees has quit [Quit: Leaving]
__monty__ has joined #nixos-chat
wildtrees has joined #nixos-chat
<gchristensen>
tragic: hbo now can't manage to play Hackers for some reason.
<eyJhb>
Starting to get frustrated with git. Why the hell does git remote add upstream .... git fetch upstream, not work