gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<gchristensen> I was going to try putting a nixos logo in it, but I had company and didn't want to spend a lot of time on that
<aanderse> gchristensen: happy pie day! how many years now?
<gchristensen> hehe
<gchristensen> nah, not a special day here :)
<aanderse> infinisil: i hadn't seen link to spectrum-os... thanks for posting and congrats to alyssa!
<aanderse> gchristensen: any day you have pie it is happy pie day. especially if it is real pie you eat :)
Myhlamaeus1 has quit [Remote host closed the connection]
Myhlamaeus1 has joined #nixos-chat
aszlig has quit [Quit: Kerneling down for reboot NOW.]
aszlig has joined #nixos-chat
<jackdk> do any of you have experience setting a custom wallpaper with xsetroot or similar in home-manager? Searching "home-manager wallpaper" gets me stuff about interior decorating :S
<ashkitten> i just use feh, but it's not managed by home-manager yet
<ashkitten> still need to move all my dotfiles
<jackdk> you have a call to `${pkgs.feh} ...` in your xsession option, or something else?
Myhlamaeus1 has quit [Read error: Connection reset by peer]
<jackdk> thanks infinisil
<evanjs> I just use my own rust program 😝 but it is “managed” via home-managers systemd options
<evanjs> But it also relies solely on feh right now
endformationage has quit [Quit: WeeChat 2.5]
<joepie91> gchristensen: did someone say pie day
<joepie91> :P
<vika_nezrimaya> oh great, I left nix-review overnight, and my Hydra cross-compiling build finished earlier than Hydra
<vika_nezrimaya> nevermind that hydra only did 50% of the job :3
<qyliss> aanderse: thanks :)
<vika_nezrimaya> I want to thanks whoever wrote nix-review to actually print that C-c is ignored when cleaning up, because that shows that program is still responsive
<vika_nezrimaya> I saw programs hog the CPU and not do anything for 20 hours straight
<vika_nezrimaya> simple ones like sed
zfnmxt has quit [Quit: Bye!]
vika_nezrimaya has quit [Read error: Connection reset by peer]
vika_nezrimaya has joined #nixos-chat
<qyliss> That was Mic92 :)
yorick has joined #nixos-chat
psyanticy has joined #nixos-chat
lassulus has quit [Ping timeout: 245 seconds]
<manveru> jackdk: also take a look at nitrogen if you want to shuffle backgrounds and stuff :)
<jackdk> manveru: thanks. I'm mostly keen to get a one-image background
<manveru> yeah, then feh will suffice
<manveru> or setroot
<jackdk> Wish it was in home-manager, but I've been spoiled rotten by it already :-)
<manveru> actually
<manveru> `services.random-background`
<manveru> :D
<manveru> i wonder what it uses to set that, will switch to it if it handles multihead fine
<jackdk> well shiver me timbers that's awesome
<manveru> yeah, always surprises me how much is already in home-manager
<manveru> this is perfect, i have a few thousand backgrounds and some really hacky code to switch them :)
<manveru> oh well, seems to set a random image for each monitor instead of one across all :(
<manveru> time to make a PR
<ivan> hurray, ocrmypdf made it into nixpkgs :-)
endformationage has joined #nixos-chat
<pie_> ivan: yaaay
waleee-cl has joined #nixos-chat
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos-chat
jtojnar has quit [Quit: jtojnar]
lassulus has joined #nixos-chat
drakonis has joined #nixos-chat
<manveru> god... the exit process for my company takes way more effort than the hiring did :P
<cransom> multiple exit interviews?
<manveru> yeah, also collecting signatures from 30 people, they aren't very remote-friendly
<manveru> and have to send my hardware back so they can wipe the disks before i can buy it back :)
<manveru> never heard of backups apparently
<samueldr> that could come from a compliance by checklist thing
<manveru> exactly
<manveru> they trusted me all these years with my data, but no more!
<samueldr> like how at one point in time PCI-DSS could reduce security by forcing the use of a password, with inane rules and password rotation
<gchristensen> just stop "Showing up" and see what happens? :P
<manveru> gchristensen: i really want my letter of recommendation though ;)
<gchristensen> whoa, you get letters of recommendation from places you leave?
<manveru> so i guess there's that, even though i think only german companies will care about it
<gchristensen> a company here will basically do nothing but confirm dates of employment, as anything more is risky
<manveru> yeah, it's one of the rights as employee
<gchristensen> whoa
<gchristensen> cool, I think
<cransom> 30 signatures?!
<manveru> i didn't count, but something like that
<cransom> what's the purpose there? proving you are worthy of a recommendation later?
<manveru> nah, just stuff like "did you empty your locker" or "did you return your lunch-tickets"
<gchristensen> :|
<manveru> neither of which i ever had anyway, given that i'm remote
<manveru> germans really love bureaucracy :P
<samueldr> are you quitting to do something exciting with nix or just another job? (I don't know if I missed or forgot a news)
* gchristensen hopes for nix
<manveru> yeah, i'll work at IOHK ;)
<gchristensen> woot!
<samueldr> ah, so just another exciting job with nix
<manveru> exactly :D
<manveru> seems to get more common these days
<gchristensen> how cool is that
<manveru> i'm quite excited
<aanderse> manveru: congrats on new job :)
<manveru> thanks :)
<manveru> feels good that i don't have to spend all night anymore to get my Nix fix
__monty__ has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.5]
Myhlamaeus1 has joined #nixos-chat
<ashkitten> how do yall generify configs between different classes of machine? like, my desktop and laptop share a lot of their configs but my server is very different so i'm not exactly sure how to handle that
<gchristensen> generally I don't
<ashkitten> all your devices are totally separate?
<gchristensen> almost entirely
<gchristensen> I have a few bits of config which are shared, but they're truly never going to be different betwene systems
<ashkitten> how's that work for you when you need to make changes that apply to multiple systems?
<gchristensen> I don't like to have my systems be hard to tweak and play with
<gchristensen> what kind of change are you imagining? I don't have that probl\em
<ashkitten> i suppose like the installed packages. generally i want to have mostly the same packages across machines
<sphalerite> ashkitten: I have a nixos config module for the tools I want on literally every system, and add that to imports for all of them
<gchristensen> that feels like such a small thing I don't bother, heh :PU
<ashkitten> ah
<sphalerite> ashkitten: same for my tinc VPN setup
<ivan> ashkitten: I use imports
<sphalerite> (is yours working now?)
<ashkitten> i think i'll probably refactor it into importable configs for each separate thing i might want on a machine
<ashkitten> sphalerite: yeah, got it working good
<ashkitten> do you all use modules with options, or imports?
<ivan> usually just imports unless something needs to be configurable
<sphalerite> ashkitten: in order to get a sensible split, I'd suggest starting with all of them individually and only moving stuff into common modules as necessary
<ashkitten> yeah
<sphalerite> yeah I don't use options in my personal config modules, if it's that variable I'd probably just keep it in the per-machine config
<gchristensen> especially if you only have 2 machines
<gchristensen> 3 is iffy. 4+? yeah, maybe makes sense
<ashkitten> i'm probably gonna do it with arguments if i need options
<sphalerite> modules with extra arguments aren't that great since they break the position-finding stuff
<sphalerite> options are a better option for that
<ashkitten> i guess my task for today is splitting up common.nix into multiple files and reincorporating things back into the machine-specific configs if they can't be generic to multiple classes of devices
<ashkitten> ohh
<ashkitten> okay
<ashkitten> i wasn't aware of that
<sphalerite> if you already have your common.nix and it works for you, I'd say leave it as is :)
<ashkitten> well i'd like to pull out some things for my server to share
pie_ has quit [Ping timeout: 264 seconds]
jtojnar has joined #nixos-chat
Myhlamaeus2 has joined #nixos-chat
Myhlamaeus1 has quit [Read error: Connection reset by peer]
psyanticy has quit [Quit: Connection closed for inactivity]
endformationage has quit [Read error: Connection reset by peer]
endformationage has joined #nixos-chat
<averell> i wouldn't spend more than a few hours on it, going by the old chart https://xkcd.com/1205/ :)
pie_ has joined #nixos-chat
__monty__ has quit [Ping timeout: 248 seconds]
<qyliss> May be of interest to some people in here that #spectrum exists now (for https://spectrum-os.org discussion)
<pie_> qyliss: xpost to -security as well?
<qyliss> idk if it's on topic there, and I don't want to spam...
<qyliss> if you want to, go ahead
{`-`} has joined #nixos-chat
<andi-> for the last 10y I bootstrapped all my systems via iPXE. Now I have a device without and RJ45 connector… I am hating it already. Booting the NixOS installer from the SD card and/or mass storage emulation from my phone only results in a blinking cursor…
<samueldr> andi-: new hardware? like fresh off the silicon foundries?
<samueldr> try a _latest image if so
<andi-> it doesn't even get into grub :/
<samueldr> urgh
<samueldr> then not that
<gchristensen> what is the hw?
<samueldr> oh, if it's one of the latest XPS there's something in the irc logs
<gchristensen> left side only
waleee-cl has quit [Quit: Connection closed for inactivity]
<andi-> It is a latest xps13
<gchristensen> did you try to boot form the left side ports?
<andi-> I am currently booting using the SD card slot due to my resistance against USB sticks.
<samueldr> it might not be possible to
<andi-> It has an option in the BIOS to enable exactly that…
<samueldr> some of the hardware I have with integrated SD slots the SD slot is not an option
<samueldr> ah, then not that :)
<andi-> I'll try tethering from the left
<gchristensen> probably uses the same USB bus the USB port next to it uses, which can't
<samueldr> that sounds right (pun now intended)
<pie_> well...that sounds crappy <gchristensen> left side only
<pie_> i could think of half a million ways why probably, but still wtf
<samueldr> USB is hard
<pie_> am i the only one getting corrupted content error for the discourse
<samueldr> in a world where users would be in control of the system, they would be able to get the fix from the open source fork from other concerned users
<samueldr> the discourse looks fine here
<pie_> curl works...firefox pls, wtf
<andi-> so even on the left port there is no change...
<andi-> might have to buy my first usb stick :/
<pie_> samueldr: aaaargh >_______<
<pie_> ok wtf
<pie_> did a random google. apparently ctrl-f5 is some sort of hard refresh
<pie_> that worked
<pie_> i want to punch myself and someone else in the face but i cant justify why
<gchristensen> wow. ctrl-f5 was a staple in the 90's
<gchristensen> couldn't internet without it. what a ways we've come
<qyliss> I've never heard of ctrl-f5
<gchristensen> omg
<qyliss> I've been wishing for a force refresh for a long time though
<andi-> o.O
<qyliss> I remember safari didn't have a way (that I could find) to do it, when I used that.
<gchristensen> andi-: I know, right?
<andi-> I am a bit shocked that isn't common sense
<qyliss> I've always done shift-refresh-button in Firefox and Chrome
* andi- feels older again
<qyliss> Which I imagine is the same thing?
<andi-> yeah same thing
* samueldr turns into dust
<samueldr> it's... unclear... it changed a bunch of times
<samueldr> chrome has a special one, open the dev console, and long press the reload button
<qyliss> But ctrl-f5 is a nice for being mouse-free if nothing else
<qyliss> samueldr: wow, they really don't want anybody to use that, huh
<samueldr> and likely the better location for documentation https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache
<samueldr> I was a web developer
<samueldr> I hate cache
<samueldr> :3
<gchristensen> you'd think we'd have realized CAS was good sooner
<ldlework> manveru: if you ever wanted to have a private conversation with me about dependency management that I might either take a crack at paket, or just writing something up on my blog or the wiki, I'd be open for that
<manveru> ldlework: yeah, sounds fun :)
<manveru> i think for your issue at least it would help to know the paket config and the error message at least
<manveru> i still got a ton of stuff to do before i'll get some time for anything in-depth on this, but i'm happy to help
<pie_> so...what does ctrlf5 actually do
<manveru> same as ctrl-shift-r?
<gchristensen> https://www.youtube.com/watch?v=Jhjyz183poo spacex is doing a test of their enormous starhopper thing
<pie_> t - 1:30
<pie_> clock is ticking
<pie_> no stream with radio?
<gchristensen> oh here goes for sure
<pie_> is there supposed to be weird pieces of stuff looking stuff flying around
<pie_> lol did they abort at 0.8?
<gchristensen> or maybe not lol
<gchristensen> I think that is ice
<pie_> ah wait thats +0.8
<samueldr> Test aborted just after T-0. Teams evaluating next test opportunity
<gchristensen> I'm surprised the water is still flowing
<manveru> man, the new github actions are actually not that bad
<manveru> if there was just a way to keep /nix across runs :P
<samueldr> yeah, that's my main issue
<samueldr> I was in the earlier beta
<samueldr> I guess that with some cache it could be better for bigger builds
<samueldr> but if your build is simple enough it's manageable
<manveru> yeah, mine takes about a minute right now
<manveru> it's just generating static sites using nix, not much actual work there
<samueldr> yeah
<samueldr> btw, the action I linked is the kind that is a building block
<manveru> will try that later :)
<samueldr> it copies the contents from the store
<samueldr> so you could chain other actions
<manveru> i just did a dumb curl install of nix and it worked out of the box
<samueldr> ah, another user had issus with a curl install
<samueldr> the docker nixos/nix image is probably wiser imo
<manveru> i don't use channels, so maybe that's why
<samueldr> the installer would segfault
<manveru> hmm, strange
<manveru> i would use lnl7/nix instead :)
<samueldr> is there much difference in the end?
<samueldr> the environments are throw-away
<samueldr> well, other than looking more like nixos
<samueldr> I would hazard a guess that switching the docker image would still work in my action
<manveru> the difference is that it builds via buildDockerImage as base
<samueldr> yeah, just looked
<manveru> i kinda prefer that
<samueldr> though the nixos/nix one is published by nixos :/
<manveru> yeah, they went the no-effort route :P
<manveru> that was also before we had buildDockerImage
<ldlework> you guys have gotten buildDockerImage to work?!
<samueldr> yeah
<samueldr> well, yeah to that too
<ldlework> can you help me in #nixos :D
<samueldr> probably not since it's been a while :/
<ldlework> i can't even get started with it
<samueldr> manveru: when I wrote my action initially I had hopes of it being an upstream nixos one, but seeing how there's no cache between runs my interest was doused
<manveru> pretty much, but combining it with cachix might work for my usage anyway
<manveru> so i basically use hercules to trigger cachix pushes, and github can then use that cache
<manveru> until hercules gets impure actions, that works for me anyway