gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
drakonis has quit [Ping timeout: 252 seconds]
<samueldr> somewhat related, I do not grok why `release-18.09` has the `tested` job, while `release-18.09-aarch64` doesn't; main config difference is `stableBranch` being false for aarch64 :/
<samueldr> both are using nix expression nixos/release-combined.nix
<gchristensen> probably doesn't evalsuccessfully
<samueldr> so easy
<ottidmes> samueldr: just curious, what is your setup like to push your screenshots to your server?
<samueldr> a bad chunk of bash rsyncing the file to my server
<ldlework> use recap
<ldlework> it has a nix expr
<samueldr> the file is created using scrot+maim
<samueldr> scrot?
* samueldr checks
<ldlework> recap uses slop/maim
<ldlework> and ffmpeg for video
<samueldr> yeah, slop
<ldlework> will upload to imgur, webserver, copy links into your clipboard, implements giphy-engineering guide for gifs
<samueldr> so, slop (which uses maim), then rsync
<ldlework> uses rofi/dmenu for ui
<ottidmes> samueldr: ldlework: thanks I will look at them, so far I have used xfce4-screenshooter
<ldlework> ottidmes: patches welcome
<ldlework> ottidmes: did i show you a video of recap once
<ottidmes> dont think so
<ottidmes> ldlework: nice :)
<ldlework> thank you
<ldlework> need more users
<ottidmes> I am always impressed how good the quality of gif can be, when I think of gifs I still think of those crappy gifs people put on their own webspaces
<gchristensen> oh cool
<gchristensen> nice find, samueldr
<samueldr> gchristensen: ? your suggestion was the right one
<gchristensen> yeah, but you found it
<gchristensen> which was nicely done!
<ldlework> ottidmes: yeah and the gif there is like 12 megs, but only because i left the bitrates at the mp4 defaults
<ldlework> and even for mp4 it is a bit high
<ldlework> as a default
<ldlework> if i were to lower the bitrates (which you can do from recaps UI or config file!) the gif would've been much smaller without sacrificing much quality
<ldlework> but mp4 is best for tiny video
<ottidmes> ldlework: its not in nixpkgs?
<ldlework> no, but it is trivial to install packages that have a default.nix from basically any source
<ottidmes> true, just checking I got the name right
<ldlework> ottidmes: let's get a couple more users and get past v-literally-the-first-one
<ldlework> haha
<ldlework> ottidmes: hmm i just realized that maybe the rofi interface isn't included here
<ldlework> i'm confused
<ottidmes> ldlework: ok, first feedback: default.nix ought to be the release.nix file (I do not think that is subjective, it _is_ the convention used throughout nixpkgs)
<ldlework> ok
<ottidmes> hah! I am still using slop and main I see, so its a GUI around them I guess?
<ottidmes> * maim
<ldlework> ottidmes: yeah, recap combines slop/maim for images, and ffmpeg for video
<ldlework> ottidmes: I just pushed up rofi support
<ottidmes> ldlework: can I also specify the location where files are stored?
<ldlework> now I need a readme :)
<ldlework> yes
<ldlework> ottidmes: do `recap cap --help`
<ldlework> ottidmes: every cli setting's default can be set in ~/.config/recap/rc.toml
<ottidmes> ldlework: I am liking it!
<ldlework> ottidmes: you should pull and try the rofi support ;)
<ldlework> uhoh
<ldlework> I commited local paths
<ldlework> doh
<ottidmes> I am just not sure how the link/webroot thing is supposed to work, if that works like I hope, I basically get the setup I would have liked, without all the trouble of setting such a thing up :D
<ldlework> ottidmes: destination is where the file goes, link is what is copied to your clipboard, the pattern can include python format specifiers so you can include the filename into the generated link
<ldlework> ottidmes: webroot represents the fact that your url might match your destination
<ldlework> like
<ldlework> http://logos.ldlework.com/ == ~/www/
<gchristensen> nice homepage
<ldlework> so webroot=~/www/ means that a file at ~/www/caps/foo.png == http://logos.ldlework.com/caps/foo.png
<ldlework> ottidmes: i'm unsure how to explain that better
<ldlework> gchristensen: lol
<ottidmes> ldlework: and ~/www some sshfs or something?
<ldlework> not in my case
<ldlework> i have a local web-server
<ldlework> so logos.ldlework.com is pointing at me
<ottidmes> so logos.ldlework.com is your local computer
<ottidmes> ah
<ldlework> yeah
<ottidmes> that was what made me confused a bit
<ldlework> hence WHY ARE YOU HERE?
<ldlework> but it would work the same with sshfs
<ldlework> ottidmes: or you can hack in rsync support :)
endformationage has quit [Ping timeout: 240 seconds]
<ottidmes> indeed lol at the homepage XD
<ottidmes> ldlework: yep, local paths still: error: getting attributes of path '/home/ldlework/src/python-rofi': No such file or directory
<ldlework> yeah I'm sorry
<ldlework> I'm fixing all that
<ldlework> ottidmes: this is why I wanted at least one other user :)
<ldlework> ottidmes: ok now you can pull
<ottidmes> its working, rofi too :D
<ldlework> yes!
<ldlework> nix is amazing
<ottidmes> ldlework: just wondering, is it by design that the time is based on greenwich?
<ldlework> which timezone do you prefer?
<ottidmes> my own :P
<ldlework> ottidmes: i hacked all of this in like one weekend
<ldlework> and you can see there are actually a ton of features
<ldlework> it really needs a couple additional passes
<ldlework> :)
<ottidmes> yeah, nicely done!
<ottidmes> its already fully functional for what it is intended to do
<ldlework> i'll merge whatever you send me
__monty__ has quit [Quit: leaving]
pie__ has joined #nixos-chat
pie___ has quit [Remote host closed the connection]
meizikyn has quit [Quit: WeeChat 2.3]
meizikyn has joined #nixos-chat
endformationage has joined #nixos-chat
sir_guy_carleton has joined #nixos-chat
ninjin has quit [Remote host closed the connection]
ninjin has joined #nixos-chat
lassulus_ has joined #nixos-chat
lassulus has quit [Ping timeout: 250 seconds]
lassulus_ is now known as lassulus
drakonis_ has quit [Read error: Connection reset by peer]
hedning has joined #nixos-chat
endformationage has quit [Quit: WeeChat 2.3]
<sir_guy_carleton> how can you tell tmux to open a new window in a specific session?
<sir_guy_carleton> never mind, figured it out
<elvishjerricco> Couple of neat things I did with ZFS and NixOS:
<ottidmes> elvishjerricco: thanks for the write up, I am definitely going to try that setup on my next setups!
rawreraw has joined #nixos-chat
sir_guy_carleton has quit [Quit: WeeChat 2.2]
rawreraw has quit [Ping timeout: 245 seconds]
rawreraw has joined #nixos-chat
metastance has joined #nixos-chat
rawreraw has quit [Ping timeout: 268 seconds]
rawreraw has joined #nixos-chat
rawreraw has quit [Client Quit]
rawreraw has joined #nixos-chat
rawreraw has quit [Client Quit]
rawreraw has joined #nixos-chat
cranjery has joined #nixos-chat
cranjery has left #nixos-chat [#nixos-chat]
rawreraw has quit [Quit: WeeChat 2.3]
rawreraw has joined #nixos-chat
__Sander__ has joined #nixos-chat
rawreraw has quit [Quit: WeeChat 2.3]
rawreraw has joined #nixos-chat
rawreraw has quit [Quit: WeeChat 2.3]
rawreraw has joined #nixos-chat
hedning has quit [Remote host closed the connection]
rawreraw has quit [Quit: WeeChat 2.3]
rawreraw has joined #nixos-chat
rawreraw has quit [Ping timeout: 250 seconds]
hedning has joined #nixos-chat
<ldlework> I got pywal integrated with rofi finally, http://logos.ldlework.com/caps/2018-12-07-10-45-45.mp4
rawreraw has joined #nixos-chat
<ldlework> I wish I knew from where in my massive nixos my main python install comes :P
rawreraw has quit [Ping timeout: 246 seconds]
dmc has quit [Changing host]
dmc has joined #nixos-chat
<gchristensen> elvishjerricco: so cool!
rawreraw has joined #nixos-chat
<gchristensen> elvishjerricco: are you on Twitter?
<ldlework> gchristensen: https://twitter.com/ElvishJerricco
<infinisil> ldlework: 502 Bad Gateway
<ldlework> infinisil: for the video?
<infinisil> Yea
<infinisil> Oh it worked now
<ldlework> should be working
<ldlework> maybe I was nixos rebuiling or something :)
<infinisil> Neato
<ldlework> infinisil: the last thing I have is my python wm
<ldlework> i wont bother trying to figure out how to theme Spotify lol
<infinisil> https://github.com/NixOS/nixpkgs/pull/24476 is still open, so yeah that could be it
<{^_^}> #24476 (by fpletz, 1 year ago, open): nginx service: reload instead of restart
<ldlework> hehe
<infinisil> You did rebuild ~3 minutes ago?
<ldlework> ::thinking emoji::
<ldlework> i'm rebuilding a lot yeah
<ldlework> iterating on config
<ldlework> i'm going for a clean nix-env
<ldlework> but first, I must integrate QTile with Pywal
<ldlework> :)
<ldlework> oh god it is 6am
* ldlework googles "what day is it"
<infinisil> Neato
<infinisil> I went to bed today at 8am too xD (it's 13:30 now)
<infinisil> Was up all night doing advent of code
<ldlework> infinisil: are you an emacs user?
<infinisil> Half of the time yeah
<ldlework> did you hear my idea about org-babel/nix-shell integration package so you could interact with any language under the sun
<infinisil> Yeah I did, that would be pretty neat
pie___ has joined #nixos-chat
pie__ has quit [Remote host closed the connection]
__monty__ has joined #nixos-chat
rawreraw has quit [Ping timeout: 250 seconds]
meizikyn has quit [Quit: WeeChat 2.3]
rawreraw has joined #nixos-chat
pie___ has quit [Ping timeout: 264 seconds]
<ldlework> I got QTile integrated with pywal
<ldlework> All aspects of my system are now live-themable
<ldlework> terminal, irc, notifications, emacs, qutebrowser, discord, rofi
<ldlework> nuts
<gchristensen> :o
endformationage has joined #nixos-chat
<ldlework> now i just need to cultivate a wallpaper collection that only produces awesome themes
<ldlework> :)
<sphalerite> TIL: the nixos logo contains more than 2 colours.
<gchristensen> the non-print edition has ag radient
<samueldr> :)
<samueldr> sphalerite: are you using inkscape or manually massaging the XML?
<sphalerite> samueldr: not actually doing the fix just now, just looking at it :p
<samueldr> still, the question stands :)
<sphalerite> both :D
<sphalerite> I discovered it in the XML
<sphalerite> gchristensen: there's a print edition?
<gchristensen> open in inkscape and you can see there is a togglable gradient layer
<samueldr> good, make sure not to strip the inkscape metadata; while it makes it unusable for e.g. web use, it's useful just like comments are useful in source code
<samueldr> sphalerite: yeah, print as in "you pay per ink colours used"
<samueldr> so, gradients are generally frowned upon there :)
<sphalerite> more TIL!
<gchristensen> or in ye ol days, fax-compatability
lnikkila has joined #nixos-chat
lnikkila has quit [Client Quit]
__Sander__ has quit [Quit: Konversation terminated!]
<sphalerite> eeeeh not sure I really want to touch this :')
pie___ has joined #nixos-chat
pie___ has quit [Ping timeout: 252 seconds]
<gchristensen> woot, due to a mistake on ebay's counter-offer page, I'm the proud owner of Maltron right-handed keyboard
<joepie91> gchristensen: as opposed to?
<gchristensen> a left-handed one?
<joepie91> aha :)
<joepie91> I was hoping for a more beneficial upgrade, heh
hedning has quit [Quit: hedning]
<joepie91> odd thing
<gchristensen> my mistake was I accepted the offer instead of sending a counter-offer, if thaht is your question
<joepie91> oh, I thought it was a mistake on *ebay's* side
<gchristensen> ohh no sorry
<joepie91> makes more sense now :P
<gchristensen> https://www.maltron.com/known-problems.html now I just need to get a specific brand's PS2-USB adapter and find a spare usb1 or usb2 port
<joepie91> keyboard looks interesting, though I'd have issues with the lack of spacers or other tactile clues on the mishmash of non-character keys on the left and the function keys
<samueldr> I thought it was openshift
<gchristensen> hah!
<gchristensen> the good news is I'll definitely have an "alt gr" key
<samueldr> ? isn't it just the right alt key, but handled differently at the keymap level? (I ask, but I know that it is)
<gchristensen> my right alt key on my laptop is not suitably "alt gr" apparently
<samueldr> I'm using US layout keyboards here, and the right alt key is alt gr with the french canadian layout
<joepie91> gchristensen: checked your KB layout?
<gchristensen> no, my complaint stems, actually, from not being able to figure out how to use the Compose key without explicitly configuring it :P
<samueldr> AFAIK, alt gr isn't compose by default anyway :)
<gchristensen> what I was reading, is shift + altgr should do it, but it didn't
<samueldr> (my configured compose key is altgr + rctrl)
<samueldr> I never tried shift+altgr for compose key, though ubuntu's doc says it would be it by default
<samueldr> `xev` tells me my right alt key is: ISO_Level3_Shift
<samueldr> oh, and doing my (configured) altgr+rctrl I do see Multi_key in xev
<gchristensen> nice
<gchristensen> how do you set it up to altgr + rctrl? having my right alt be compose on its own is a bit weird
<samueldr> setxkbmap -option compose:rctrl-altgr
<samueldr> though it does need your right alt to be altgr already; there's probably a similar incantation for non-altgr
<samueldr> I also `setxkbmap -option compose:menu` for fancier keyboards with the menu key
<gchristensen> I think that might work, my menu is behind Fn-Ctrl
* sphalerite needs to get his stuff from Scotland which includes a Sun keyboard with a physical compose key, amongst other niceties :D
<samueldr> lucky you
<sphalerite> oh wait canada
<gchristensen> goddd I didn't need to know about that keyboard
meizikyn has joined #nixos-chat
ninjin has quit [Remote host closed the connection]
ninjin has joined #nixos-chat
hedning has joined #nixos-chat
<gchristensen> query sphalerite hey I got some specs for you on a system from Ampere
endformationage has quit [Ping timeout: 250 seconds]
<sphalerite> gchristensen: in what sense? You now want it?
<gchristensen> yeah :)
<sphalerite> clever has one too iirc
<sphalerite> (or many)
<gchristensen> I couldn't actually use it :( but I had successfully forgetten about those keyboards.
<clever> sphalerite: ive got an identical keyboard to your last ebay link
<clever> dont have that mouse though
<clever> you can see 2 of the 3 usb ports on the reflection at the top
Synthetica has joined #nixos-chat
<ottidmes> I got a keyboard and mouse from one of the cheapest brands (e.g. I payed 10 euro for the keyboard), and they have been superb, have been using them for many years now. I have to be careful with mouses due to risk of RSI, but of all mouses for sale at my local store, it is these cheapest mouses that fit best (so I bought a few for backup)
<gchristensen> nice
<ottidmes> my hands are too big for most mouses, so I have to have a big enough mouse + unclosed buttons (no ridge at the end of button)
<ottidmes> gchristensen: keyboard has a menu key and all kinds of extras: https://www.trust.com/en/product/15036-multimedia-scroll-keyboard-kb-2200
<gchristensen> love those little wheely things
<sphalerite> uuuuh that's a weird layout
<sphalerite> I don't care much about what it says on the keys since I don't usually look at them, but I find it really hard to deal with geometries other than what you have on UK and German keyboards (i.e. two-row return key, wide backspace key, key between Z and left shift)
<samueldr> 105 keys
<samueldr> I find it annoying how there's no 104 keys layouts-like 105 keys :/
<ottidmes> I don't know better, this is in my muscle memory, for me a large enter and left shift are a must, or I will mistype
<samueldr> here like half the keyboards that can be bought are 104, the other 105
<samueldr> (generally CF vs. US qwerty)
<gchristensen> I didn't know about 105 vs. 104
<samueldr> and then, the printed layout might/will be wrong
<samueldr> because of how there's the older official layout, and the newer :(
<samueldr> the older being clearly better
<sphalerite> samueldr: CF? Canadian French?
<samueldr> yeah
<samueldr> french (canada) and canadian multilingual
<samueldr> the latter has dead keys (red) to make all the accented keys
<samueldr> making the special characters more easily accessible
<ottidmes> its funny to see the wear on the keyboard after using it so long, I easily do with normal key sized space bar, or at least like a large shift, never press on it elsewhere
<samueldr> while the first one, canadian multilingual, the new standard, has so much cruft in almost-never-used keys
<samueldr> disregard the pink layer on canadian miltlingual, it's not really supported in reality
<sphalerite> oh I was thinking
<sphalerite> what do you need an ij key for o.O
<sphalerite> IJ
<gchristensen> who doesn't?
<sphalerite> for being extra fancy when you're writing Dutch I guess? So you can write IJsselmeer instead of IJsselmeer?
<sphalerite> or the French city of Dijon lol
<ottidmes> never seen it being used in Dutch though
<Synthetica> ... I didn't even know there _was_ an IJ ligature
<Synthetica> or combined character I guess
<sphalerite> samueldr: at least both keyboards have the correct geometry ;)
<samueldr> sphalerite: nah, the layout's recommended keyboard :)
<sphalerite> huh?
<samueldr> I use it on 104 keys, kinda forced due to the annoyance of actually getting keyboards in 105 keys here
<samueldr> most online retailers don't carry 105 keys CF keyboards
<samueldr> and even offline retailers are bad at carrying it right
<sphalerite> heh
<sphalerite> why do countries using the same script even still have different layouts
<samueldr> legacy
<sphalerite> (rhetorical quetsion)
<samueldr> while fancy french fine folks were making their typewriters, canadian french folks used modified US-based qwerty layouts
hedning has quit [Quit: hedning]
<sphalerite> oh goodness the French layout
<samueldr> exactly!
<samueldr> I'm glad how not-too-different our hacked-up qwerty is from us qwerty
<sphalerite> when I was in France, I used a password I didn't know at school. It was my normal password, except typed on a French keyboard as if it were a UK keyboard.
hedning has joined #nixos-chat
<sphalerite> (now I don't share passwords anymore ;) )
<samueldr> but, did you really?
<gchristensen> I used to work at a company which forced me to use a French keyboard ... it was hilarious
<sphalerite> gchristensen: whaaaaat
<sphalerite> samueldr: did I really what? not know the password?
<gchristensen> it is true. I can now type just fine on azerty, qwerty, and dvorak
<samueldr> well, if the password isn't the same, you didn't share it
<sphalerite> Well I could type it or reconstruct it from looking at a french keyboard, but didn't actually know the password
<sphalerite> samueldr: well, "my normal password"… :p
<samueldr> well, that one wasn't your normal password :^)
<sphalerite> yeah but well… it's not something I'd do now ;)
<sphalerite> on another topic, does anyone know a nice (probably terminal) email client? I want to try mutt but I'm also scared by its configuration which seems to be entirely based on imperative scripts/hooks mutating global state
<Synthetica> 105 is icky, I had that on my previous laptop, wound up just remapping the key next to shift to shift
<sphalerite> maybe I should give mu4e a try
<sphalerite> Synthetica: at least you have the choice! :p
<samueldr> oh, fun thing about 104/105 I forgot to mention: it's possibly not legal (unverified) to sell 104 based layouts in Québec, so some online shops just don't sell them for Québec since it'd require custom mappings compared to everything else in north america; e.g. google's chromeos-based devices
<samueldr> they'd have to be 105 with the keys printed correctly
<Synthetica> That's crazy talk
<samueldr> it could also be more simple, and only limited to the documentation and boxes needing to be in french too
<samueldr> (that one *is* a known requirement)
hedning has quit [Quit: hedning]
hedning has joined #nixos-chat
<sphalerite> well I suppose you do need to be proactive to preserve a language like that
<samueldr> exactly, I'm not mad at the decision, I'm glad there are constructs like those... where I'm peeved is how they *anyway* have to make it like that for other markets
<sphalerite> The French attitude is quite similar, and to great effect. I've really noticed this since moving to Germany, there's so much English mixed in — not to say it's a bad thing, but it's a stark contrast to France
<samueldr> sphalerite: compared to Québec, from friend's experience, france is overrun by englishization and americanization :)
<sphalerite> really? wow
<sphalerite> oh yeah one major extremely common Anglicism in French French is "week-end"
<samueldr> I did say "compared to", and can't say for sure since I never went
<sphalerite> wait anglicism shouldn't be capitalised should it
<sphalerite> I've never been to Québec so I can't say either ;)
<sphalerite> oooooh re: my earlier mail client questions — since I've already got isync and notmuch set up — emacs-notmuch seems nice!
<gchristensen> nice!
<gchristensen> I like how it cheerfully tells me I don't have much mail every time I sync
<sphalerite> :D
<sphalerite> emacs's HTML rendering is… not exactly blazingly fast, but hey in the ideal case I don't have to render the HTML anyway :)
<sphalerite> still need to learn to actually *use* notmuch but at least I've got a solid starting point now.
<gchristensen> text-only, way to be
<sphalerite> yep.
<sphalerite> gchristensen: did I actually ever send that email to you and Eelco about stale nixpkgs committers?
<gchristensen> don't think so
<sphalerite> ah crap
<sphalerite> it's really quite bad how I'm only now starting to get a proper email setup on my work laptop
rawreraw has quit [Ping timeout: 252 seconds]
<sphalerite> gchristensen: just sent my first email from emacs, could you let me know if it arrives? :D
<gchristensen> now!
<gchristensen> although your email is asking me to tickle you
<sphalerite> oh dear x)
<gchristensen> Message-ID: <...fsf@bringtnix.i-did-not-set--mail-host-address--so-tickle-me>
<gchristensen> (I had or still have the same thing)
<sphalerite> lol
<sphalerite> but the From: is alright?
<gchristensen> yep: From: Linus Heckemann <linus@sphalerite.org>
<sphalerite> \o/
<sphalerite> Thanks!
<sphalerite> (maybe I should have tested this with an email to myself)
<sphalerite> bleh. Wrote some documents using libreoffice and I feel dirty.
<sphalerite> also regretting it for practical reasons already.
endformationage has joined #nixos-chat
ninjin has quit [Remote host closed the connection]
ninjin has joined #nixos-chat
hedning has quit [Quit: hedning]
__monty__ has quit [Quit: leaving]
hedning has joined #nixos-chat
<infinisil> gchristensen: Your rabbitmq thing for IRC has an `out_message_type` field, what's that for, other than "privmsg"?
<infinisil> And why is it "privmsg" anyways even for non PM's?
<adisbladis> infinisil: Thats an irc protocol thing
endformationage has quit [Ping timeout: 250 seconds]
<infinisil> Hmm yeah
<samueldr> it would be used for notices
<samueldr> like the pull request things
<infinisil> Ohhh
<infinisil> That makes sense, thanks
* infinisil tries that out just because
hedning has quit [Quit: hedning]
<{^_^}> says hi