gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<samueldr> what about man nixos-rebuild?
<samueldr> :)
<andi-> samueldr: thats too advanced for level1
caglan has joined #nixos-chat
caglan has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
ma27 has quit [Ping timeout: 244 seconds]
ma27 has joined #nixos-chat
ma27 has quit [Ping timeout: 272 seconds]
tertl3 has quit [Quit: Connection closed for inactivity]
ma27_ has joined #nixos-chat
lassulus_ has joined #nixos-chat
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
jtojnar has joined #nixos-chat
Ericson2314 has joined #nixos-chat
snajpa has quit [Ping timeout: 252 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
jD91mZM2 has joined #nixos-chat
<ldlework> I have theme unification about 80% http://logos.ldlework.com/caps/2018-09-15-06-16-00.mp4
<ldlework> (shit theme I know)
kisik21 has joined #nixos-chat
<andi-> I always like those super simple themese but the low contrast would make me switch to ANYTHING else :D
jtojnar has quit [Ping timeout: 252 seconds]
jtojnar has joined #nixos-chat
<ldlework> i got universal theme working in emacs http://logos.ldlework.com/caps/2018-09-15-07-53-00.png
<ldlework> andi-: sure, let me generate a new one
<sphalerite> samueldr: but nixos-rebuild --help just runs man nixos-rebuild anyway?
<andi-> sphalerite is spoiling all our training secrets /o\
<andi-> ldlework: your weechat & that filepicker/wallpaper thing look fine but that emcas with all the quoted strings /o\
<ldlework> its a *random theme*
<ldlework> the point is not how good looking the theme is
<ldlework> but the fact that I've used nix to apply a single theme to all my tools
<ldlework> hehe
<andi-> It would fail with my weechat which runs on a different host
MichaelRaskin has quit [Ping timeout: 240 seconds]
* ldlework groans. sorry I engaged about a cool nix thing.
<manveru> :D
<manveru> ldlework++
<{^_^}> ldlework's karma got increased to 3
jtojnar_ has joined #nixos-chat
<andi-> ldlework: ;) What kind of format do you need to translate it for any other program?
jtojnar has quit [Read error: Connection reset by peer]
jtojnar_ is now known as jtojnar
<ldlework> here is another theme that looks pretty nice http://logos.ldlework.com/caps/2018-09-15-08-28-26.mp4
<manveru> i used wal for my theme
<manveru> there's pywal in nixpkgs now :)
<ldlework> yeah if only it worked on everything
<ldlework> wal is pretty cool though
<manveru> so you made a rewrite that does?
<manveru> i used wal and then used the colors for home-manager config
<ldlework> manveru: i've made a nixos module that you can specify a theme in and some helper functions like substituteAll but for theme tokens
<manveru> but they only use a bit of imagemagick color measurement... so it's not hard to reproduce in nix i think
<ldlework> so you can just apply it to literally any tool you use
<ldlework> it doesn't change every tool on the fly
<ldlework> but it can change every tool..
<manveru> :D
<manveru> i can take a look when i get back
<ldlework> manveru: xdg.configFile."rofi/config.rasi".text = substituteTheme config.theme ./config.rasi;
<ldlework> where config.rasi contains tokens like @light-red@
<ldlework> etc
<ldlework> i admit everything changing colors dynamically without reload is pretty cool though
jD91mZM2 has quit [Ping timeout: 245 seconds]
jD91mZM2 has joined #nixos-chat
<sphalerite> zpool destroy rpool/windows
<sphalerite> "and nothing of value was lost."
<sphalerite> s/zpool/zfs/ whoops
<jD91mZM2> sphalerite: Can you actually keep a windows partition as a zvol? What are the advantages?
<sphalerite> jD91mZM2: I use it as the backing device for a VM
<sphalerite> you can't actually boot the physical machine off it
<jD91mZM2> Aw, bummer
<sphalerite> but you can snapshot it and stuff
<jD91mZM2> I have yet to reinstall windows after reformatting the drive with zfs
<sphalerite> eh, just don't :D
<jD91mZM2> Yeah, for now I won't. But eventually I will be REALLY bored and want to play some windows-only game
ma27_ has quit [Quit: WeeChat 2.2]
ma27 has joined #nixos-chat
sir_guy_carleton has joined #nixos-chat
<andi-> give the new steam thingy a shot :)
<andi-> I was playing quake champions the other day..
<andi-> Is any of you using a software to manage digital copies of dead-wood documents? I am just trying out `paperwork` and so far it looks nice.
jtojnar has quit [Quit: jtojnar]
jtojnar_ has joined #nixos-chat
jtojnar_ has quit [Ping timeout: 272 seconds]
jtojnar_ has joined #nixos-chat
steveeJ is now known as steveeJ|firrre
jtojnar_ has quit [Read error: Connection reset by peer]
steveeJ has joined #nixos-chat
pie_ has joined #nixos-chat
pie__ has quit [Read error: Connection reset by peer]
<LnL> tfw you temporarily forget your pin and there's a row of people behind you
dmc has quit [Ping timeout: 240 seconds]
<jD91mZM2> andi-: I've never really trusted wine as the only option for paid games, since it might fail and if it does there's no way for little old me to fix it
<sphalerite> aaaaaargh ssh[.]com is awful
<sphalerite> jD91mZM2: it's a good option to try before having to install windows though!
dmc has joined #nixos-chat
<jD91mZM2> sphalerite: Sure! Do I need anything to set it up or is it bundled with steam?
<sphalerite> jD91mZM2: I don't know, I haven't used it myself. I assume it's bundled
<manveru> haven't gotten anything to work with proton
<sir_guy_carleton> what are the system requirement for proton?
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<manveru> no clue, it's basically wine, right?
<manveru> should debug it...
<manveru> seems like it needs a python3 executable
<manveru> lemme try unstable
<manveru> someone merged a fix for this i think
<samueldr> yeah, it needs python3
<samueldr> and unstable has the fix iirc
<samueldr> (haven't tried it though)
<manveru> building :)
<samueldr> iirc the fix was simply adding python3 to the steam chroot, good candidate for the stable release I think
<srhb> correct.
<srhb> Yes, we should backport it..
<srhb> I forgot about that.
* srhb does that
<manveru> srhb++
<{^_^}> srhb's karma got increased to 15
<samueldr> thank you!
<srhb> Ah, it's already in. :)
<manveru> is there any ETA for the release yet?
<samueldr> I was wondering myself, what other than ZHF is required, couldn't think (without looking) of anything
<srhb> I think it looks fairly solid so far
<manveru> trying FFVII with it now
<manveru> It works!
<manveru> Haven't seen that intro in 20 years or so
<srhb> ... has steam been around for 20 years
<srhb> #old
<manveru> No, but final fantasy
<srhb> oh :P
<samueldr> Initial releaseSeptember 11, 2003; 15 years ago
<samueldr> for steam
<sphalerite> manveru: huh, surprised. Doesn't Square Enix do some really awful DRM stuff usually?
<sphalerite> samueldr: surely not, steam didn't exist back then
<srhb> That's still an awfully long time :D
<samueldr> :)
<sphalerite> or did it :o
<manveru> I bought it in CDs
jD91mZM2 has quit [Ping timeout: 272 seconds]
<sphalerite> oh wow
<srhb> sphalerite: That's the steam release date...
<samueldr> it wasn't "the same" steam
<srhb> sphalerite: Welcome to club old!
<samueldr> took 2 years for other games to get in
<sphalerite> I thought steam was from like 2005 or 2008 or so
<srhb> That's like... One year before WoW beta. *remembers fondly*
<sphalerite> meh, why isn't wineFull built by hydra
<srhb> sphalerite: 'tis?
<samueldr> and FFVII is january 31st 1997
jD91mZM2 has joined #nixos-chat
<srhb> sphalerite: You probably meant wineWowpackages.full?
<sphalerite> srhb: nix build -f channel:nixos-18.03 wineFull # Downloads all the deps then starts building wine
<srhb> sphalerite: What does your config.wine.build say?
<srhb> Or does that ignore config?
* srhb thinks not
<srhb> Ugh, any good tips to speed up git status in nixpkgs?
<srhb> Aside from git prune...
<sphalerite> $ nix eval -f channel:nixos-18.03 config.wine.build -> error: attribute 'wine' in selection path 'config.wine.build' not found
<joepie91> can confirm; sphalerite's command also starts a wine build here
<srhb> I guess it's only fixe din unstable and 18.09 then
<sphalerite> srhb: --untracked-files=no
<srhb> sphalerite: Thanks! :)
<sphalerite> srhb: of course that prevents untracked files from showing, but it should be noticeably faster since it doesn't need to read any dirs
<srhb> Very much faster. I guess I'll have an alias for that
<srhb> Speaking of wine, I did this earlier and thought it was funny: $(nix-build --no-out-link '<nixpkgs>' -A wine)/bin/wine $(nix-build --no-out-link '<nixpkgs>' -A pkgsCross.mingw32.hello)/bin/hello.exe
<srhb> I guess I am easily entertained :P
<joepie91> lol
<joepie91> fwiw, I've seen WINE break before, in the sense that it causes a local build
<srhb> The new pkgsCross stuff is soooo slick.
<joepie91> seems to be a recurring issue
<joepie91> srhb: pkgsCross?
<srhb> joepie91: Yeah, pkgs.pkgsCross.somearchitecture is pkgs, but cross compiling for somearchtitecture
<srhb> It's ridiculously cool
<joepie91> oh, nice
<srhb> joepie91: re. wineFull, it must be a transitive dependency in 18.09 because neither 18.03 or 18.09 has a job of that name
<samueldr> srhb: in a way, if I had to support windows builds of anything again, I would probably do it using a similarly funny thing for CI
<joepie91> it's an override of wine I believe
<joepie91> with more support flags
<srhb> Oh, winePackages.full...
<srhb> samueldr: Yeah!
<samueldr> I mean, if it works with wine, what are the chances it doesn't for windows? and then, if it works with wine, it can be Freely tested and debugged
<sphalerite> srhb: nix build '(with import <nixpkgs> {}; runCommand "foo" {} "${wine}/bin/wine ${pkgsCross.mingw32.hello}/bin/hello.exe > $out")'
<srhb> scratch that, 18.09 does have winePackages.full directly, 18.03 does not :)
<srhb> sphalerite: I loathe the '()' syntax :|
<samueldr> srhb: come and join us on the 18.09 channel :)
<srhb> samueldr: Didn't know we had one..
<sphalerite> samueldr: you mean me?
<samueldr> uh, both? :)
<sphalerite> we have an IRC channel for the 18.09 nixos channel?
<samueldr> nixos channel
<srhb> Oh lol
<samueldr> nah, not IRC, that would be.... unwise
<srhb> irc and nixpkgs conflation
<sphalerite> right
<sphalerite> I was confused
<srhb> I am on 18.09 :)
<sphalerite> because srhb is already on 18.09 AFAIU
<samueldr> good
<sphalerite> yeah
<srhb> Usually until release, then back to warm and safe nixos-unstable/master :P
<samueldr> I had interleaved your discussion wrong
<srhb> Happens :D
<sphalerite> go team name-starts-with-an-S
<srhb> :D
<sphalerite> hm, can wine virtually mount an ISO, or do I need to mount it in the linux filesystem…
<samueldr> I did the reverse: stable until about two weeks before branch-off, where I upgraded to nixos-unstable; then branched-off and I intend to stay there for a while
<srhb> Makes sense :)
<srhb> I really should do an 18.03 downgrade and 18.09 upgrade again and see if I can trigger the /run/user/$uid bug
<manveru> sphalerite: i think you mount it in linux and make a drive for it in wine
<sphalerite> manveru: wine makes drives for linux mountpoints automatically iirc
<srhb> At least one other person has experienced the mount failing, leaving the systems largely unusable from X...
<sphalerite> manveru: I was just thinking maybe I can avoid the linux mount, needing root and stuff
<manveru> possibly, haven't messed much with wine beyond playing some starcraft
<sphalerite> also: ssh's control socket feature is awesome
<manveru> time to wait 7 hours while i download witcher 3 to finally play blood&wine...
<samueldr> sphalerite: details?
<samueldr> (I know about, but interested in why YOU find it awesome)
<sphalerite> samueldr: because it allows running lots of stuff on a remote machine while only authenticating once
<samueldr> ah, no tricky business, just business as usual
<sphalerite> meaning I don't need to touch my yubikey 20 times to run some slightly complex script which interacts with a remote host multiple times
<manveru> you don't use ssh-agent?
<samueldr> there are some keys I don't ssh-add (like my prod keys) as an additional mollyguard
<manveru> or did you somehow get your ssh key on the yubikey
<sphalerite> manveru: I use gpg-agent as my SSH agent, so that my private key never even goes onto my computer
<sphalerite> manveru: yep that
<samueldr> sphalerite: pass the commands as a script to stdin of ssh?
<manveru> can you teach me sensei?
<sphalerite> samueldr: doesn't work if I want to pipe to remote processes
<sphalerite> manveru: do you have your yubikey configured for gpg?
<samueldr> you could at least reduce it a bunch
<manveru> right now i only use it as additional PAM method...
<manveru> how do you even configure it?
<sphalerite> manveru: make sure you have write access to the device, then gpg --card-status should already detect it
<sphalerite> manveru: lsusb gives me "Bus 001 Device 024: ID 1050:0407 Yubico.com Yubikey 4 OTP+U2F+CCID" -> sudo setfacl -m u:linus:rw /dev/bus/usb/001/024
<sphalerite> manveru: just for trying it out, for persistence I have a udev rule :)
<sphalerite> manveru: then you use gpg --edit-key to add an authentication subkey to your key, and use keytocard to store it to your yubikey *and delete it from your machine* (so back it up first if you want a backup of it, because you won't be getting it back out of the yubikey!)
<sphalerite> https://rzetterberg.github.io/yubikey-gpg-nixos.html oh hey there's even a nixos-specific tutorial for it
gchristensen has quit [Ping timeout: 260 seconds]
gchristensen has joined #nixos-chat
<sphalerite> hmmmm, can steam's proton be used for non-steam games as well?
<srhb> Wish it were a bit cleaner though! I imagine there will be other, better launchers for that.
<sphalerite> hmm
<sphalerite> actually I doubt it'll help
<sphalerite> but I guess I might as well try since I've not got anywhere with plain wine this time
<srhb> What are you trying? :)
<sphalerite> LEGO Rock Raiders :p
<sphalerite> actually a good game, technological awfulness aside
<joepie91> ooooo it's been a while since I've seen that
<joepie91> enjoyed it as a kid
<sphalerite> me too! And a community based around it was basically my internet life for a long time
<sphalerite> they found out how to mod it and stuff
<sphalerite> never got those damned crashes fixed though
<sphalerite> I got it running in wine sometime last year I think. Should have written down the nixpkgs version and the combination of pieces I used for it :(
<joepie91> sphalerite: also fun: lego loco
<joepie91> come to think of it, the lego games in general were surprisingly fun
<sphalerite> joepie91: oh yeah I had that one too. Never got to play it with the network functionality though :(
<sphalerite> lego racers 2 as well. the original was before my time
<sphalerite> joepie91: HAHAHAHA just looking for lego loco I discovered that you of all people uploaded it to archive.org
<sphalerite> You're doing god's work
<sphalerite> for rock raiders I still have my own image of my CD
<joepie91> sphalerite: :D
<joepie91> sphalerite: also visible in the IA item: my custom-made disc batch-scanning sleeve
<joepie91> :P
<sphalerite> you're quite a prolific archiver!
<joepie91> transparent document sleeve, sown some 'edges' into it with just a needle and thread
<sphalerite> why? For alignment?
<joepie91> result: an easy way to scan multiple discs at a time on a flatbed scanner with no loss of quality and no risk of damage
<joepie91> because it's easy to peel the sleeve off the bed
<joepie91> whereas with CDs it tends to be tricky and you end up damaging it
<joepie91> so it really speeds up the process
<joepie91> there's no serious attempt at alignment in it, that's done with software
<joepie91> gthumb iirc
<joepie91> which has both crop and rotate-to-drawn-line tools, especially the latter of which is super useful
<joepie91> you can just literally draw a line on the scan over some existing straight line, and it re-orients the image to match
<joepie91> sphalerite: also, if you're looking at my archive.org profile, much of the items are automated mirrors
<joepie91> ran a (currently-defunct-due-to-reasons) PDF hosting site that automagically mirrored every public item to archive.org
<joepie91> but I do also have a lot of manual uploads :P
<joepie91> sphalerite: if you want to see a *truly* prolific archiver... https://archive.org/details/@chris85
<joepie91> this guy has his own dedicated 'inbox' collection on the archive, where everything is dumped prior to it being sorted out into collections by IA people
<sphalerite> aaah ok
<sphalerite> nice
<sphalerite> meh, loco doesn't work ootb in wine
<joepie91> "You need a X-Server with 16 bit colors. Look here: http://wiki.winehq.org/256ColorMode And you need to set a Virtual desktop. You should try different combinations. This worked for me the best: My original resolution is: 1600x900 I use Xephyr as X-Server: Xephyr :1 -ac -screen 1024x768x16 -fullscreen And a Virtual Desktop: 1280x1024 And then starting the game with: DISPLAY=:1 wine PATH/TO/THE/EXE/FILE Notice that this game only works with this
<joepie91> Resolutions: 800x600, 1024x768, 1280x1024. I used a new clean prfix with nothing else installed."
<sphalerite> yeah I'm already using Xephyr actually :/
<sphalerite> the title screen works, but clicking on the tick makes a sound effect and then it doesn't seem to respond to anything anymore
<joepie91> oh, I remember having that issue even on Windows
<joepie91> something with... directx, I think?
<joepie91> sphalerite: could also try and see if myabandonware has a copy
<joepie91> might be a diff version or have a patch or whatever
<andi-> Just this by chance "Hetzner decided to sponsor our Hydra master server" (https://github.com/NixOS/nixos-homepage/commit/2731afac0286fa01412664bb472c4df8f8afd15d). Pretty nice to see more people/companies support the project.
<samueldr> andi-++
<{^_^}> andi-'s karma got increased to 2
<samueldr> for nixos-homepage#241
<{^_^}> https://github.com/NixOS/nixos-homepage/pull/241 (by andir, 23 minutes ago, open): Make it more obvious that nixos options in the search results are clickable
<andi-> that was the tail end of my derailing from my actual goal of the day.. or in other words: 12h later still nothing finished from the ToDo list..
<samueldr> if you ever have questions about webdev stuff for the nixos site, (assuming you're not a webdev), don't hesitate to ask me
<andi-> samueldr: I definitly would never call me that.. I've been using most of the common and not so common web thingies in the last 15y but I don't like touching it (most of the time :))
<andi-> I actually am not happy with the "empty" <a>-tag..
<samueldr> is it empty?
<andi-> nah
<andi-> it just doesn't some with a href
<andi-> thats what I mean
<andi-> I remember back in the old times those would render like normal text or weird but not as clickable
<samueldr> they still do
<samueldr> IIRC (might be wrong) bootstrap 2 handled that bit
<andi-> so ti is just the CSS fixing it up then?
<samueldr> always made all `a` look like links
<andi-> which is sane IMO
<samueldr> so webdevs SHOULD use A elements instead of SPAN for interactive things
<samueldr> yes
<samueldr> a will show up in tab-based navigation, will also show up in some other things (like vimium)
<samueldr> and (unverified) probably are handled better by site readers
<samueldr> screen readers*
<andi-> Do I even want to test a screen reader or will it just be depressing without me being able to invest enough time to fix it?
<samueldr> that's one of my lacking skills: I have no formal knowledge about actual screen readers
<samueldr> and chromevox apparently doesn't match reality with JAWS and such
<samueldr> I'm still holding on assumptions that were true 10 years ago, don't have the tools to test it in full
<sphalerite> I've started asking myself questions recently. It's not something I ever really thought about in the past, but somehow it's occurred to me now — I wonder if Allah is doing?
<samueldr> (windows + licenses for the softwares)
<andi-> sphalerite: ...
<samueldr> maybe they're askin "how Allah's doing?"
<samueldr> hopefully fine!
<samueldr> 'tis but a translation issue
<samueldr> (joking obviously)
obadz has quit [Ping timeout: 244 seconds]
jD91mZM2 has quit [Ping timeout: 252 seconds]
<ldlework> sphalerite: sun is not doing
<ldlework> sphalerite: allah is doing
<manveru> i just append your mother to it
<infinisil> Ughhh, I've been trying to debug a python + sqlite3 error for like 2 hours now and I just can't find it
<ldlework> did you ask #python
<infinisil> I might
<joepie91> mmm, my attempts at asking #python in the past have generally led to more questions than answers :P
<infinisil> I have a database of my music, and I removed everything except 2 items
<infinisil> With one item, a query with `where path = ...` does work, while it doesn't with the other
<ldlework> joepie91: they are kind of hyper-vigiliant wrt to XY problems
<infinisil> It does work if I use sqlite directly, but not through beets (the music database management thing I'm using)
<joepie91> ldlework: unfortunately they also frequently misfire by assuming that nobody has special cases
<joepie91> especially frustrating if you tend to work on unconventional projects since it means the channel is almost never of any help
<ldlework> joepie91: you're right, infinisil shouldn't ask
<joepie91> that's not what I'm saying :)
<infinisil> Well I opened an issue for it: https://github.com/beetbox/beets/issues/3035
<{^_^}> beetbox/beets#3035 (by Infinisil, 3 minutes ago, open): Path query failing for some items
<manveru> damn, trying to get terraform to setup a NixOS on Hetzner Cloud is tricky :|
<manveru> would be nice if our iso included cloud-init
<andi-> manveru: isn't there cloud-init from the nova thingies?
<andi-> manveru: also if you get that working I would be interested in some of the code :)
<manveru> well, my approach now is to write some code that uses the hetzner cloud api and nixos-in-place to run as a local-exec provisioner after creating a normal ubuntu instance...
<manveru> not gonna be super elegant :P
<andi-> manveru: as long as it it better then my manual kexec approach ;)
kisik21 has quit [Ping timeout: 252 seconds]
<sphalerite> andi-: I installed nixos on a hetzner machine from the recovery/rescue system (whatever it's called)
<sphalerite> I thought that was quite nice, since it lets you do the partitioning and stuff as well
<andi-> sphalerite: I just uploaded a kexec payload and loaded that.. was a breeze
<sphalerite> err I meant manveru actually but yeah kexec is fun too :p
<andi-> but the clicking in the interface + manual scp'ing bah
<manveru> yeah, i want it fully automated :)
<sphalerite> I've been fiddling with systemctl switch-root to see if I can get kexec-free switching to an installer
<sphalerite> it's weird, udevadm trigger and settle seem to hang