gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
supersandro2000 has quit [Disconnected by services]
supersandro20002 has joined #nixos-chat
clever has quit [Ping timeout: 256 seconds]
clever has joined #nixos-chat
clever has joined #nixos-chat
clever has quit [Changing host]
supersandro20002 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos-chat
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-chat
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-chat
Mic92 has quit [Quit: WeeChat 3.0.1]
<colemickens> my ISP keeps switching my gigabit port to 100/10 and then making me wait days to send a technician to fix it -_-
rajivr has joined #nixos-chat
slack1256 has quit [Remote host closed the connection]
<blueberrypie> hey I'm using flakes with nixos rebuild plus a remote git repo and i'm having trouble where the eval cache isn't updating to reflect the changed git repo. I'm not sure how to invalidate it.
<blueberrypie> adding "?ref=master" at the end seemed to do the trick? i'm not sure though
<blueberrypie> cache could have expired at just the right time lmao
blueberrypie has quit [Quit: leaving]
blueberrypie has joined #nixos-chat
Ashy has left #nixos-chat ["WeeChat 3.0"]
<colemickens> blueberrypie: `nix flake update --update-input <input>`
<blueberrypie> cool
<blueberrypie> thanks
<blueberrypie> hmmm looks like it doesn't like urls
<colemickens> What are you trying to do exactly?
<colemickens> If you're doing just a `nix run github:some/thing` idk if there's a convenient way to tell it to force recheck
<blueberrypie> sudo nixos-rebuild switch --flake "git+https://mygit.tld/abc/nix-config.git"
<blueberrypie> yeah pretty much that
<blueberrypie> i suppose i'll checkout locally and just use that
<blueberrypie> not really that much different anyway
<colemickens> Yeah, I don't know if there's a way to force there.
<colemickens> there might be some of nix level option that would work on all of the commands to invalidate the cache but idk what it is
<colemickens> blueberrypie: alternatively, `rm -rf ~/.cache/nix` might do the trick next time
<colemickens> but then again, if you invoke it as root it might have it's own cache somewhere else
<blueberrypie> i did find a flag called "--update-cache" but it doesn't work for nixos-rebuild. (mentioned here https://www.tweag.io/blog/2020-06-25-eval-cache/)
<samueldr> hmm, just a reminder that this is not a support channel :)
BaughnLogBot has quit [Ping timeout: 272 seconds]
BaughnLogBot_ has joined #nixos-chat
BaughnLogBot_ is now known as BaughnLogBot
waleee-cl has quit [Quit: Connection closed for inactivity]
Mic92 has joined #nixos-chat
<adisbladis> aanderse: Great! :) Happy to help
omnd has quit [Ping timeout: 260 seconds]
cole-h has quit [Ping timeout: 240 seconds]
aaronjanse has quit [Quit: Idle for 30+ days]
<ldlework> Watching Kevin Powell struggle to implement simple CSS challenges confirms everything everyone has always felt about CSS: https://www.youtube.com/watch?v=-QgJgZCJvo4
numkem has quit [Quit: Ping timeout (120 seconds)]
pinpox has quit [Quit: Ping timeout (120 seconds)]
numkem has joined #nixos-chat
pinpox has joined #nixos-chat
__monty__ has joined #nixos-chat
rj_ has joined #nixos-chat
rj has quit [Remote host closed the connection]
<hexa-> yeah, that sums it up
avn has quit [Read error: Connection reset by peer]
avn has joined #nixos-chat
<philipp[m]1> S
<philipp[m]1> Ha! Was just preparing a talk about oauth2 for the colleagues and read something about matomo afterwards and they provided me with the perfect motviation part that was still missing: https://matomo.org/faq/how-to/faq_30/
<LinuxHackerman> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaahhhhhhhhhhhhhh
<philipp[m]1> It's amazing, isn't it?
<supersandro2000> The most I like the part about retrieving the md5 hash via the api and putting it into the URL to auto login
<supersandro2000> also referring to https with ssl
<leonardp> this is madness. whats next? creating a users with sql injection?
<adisbladis> There does seem to be a sane way to do it https://plugins.matomo.org/LoginOIDC
<philipp[m]1> That plugin fails on activation because of foreign key constraints in the database for a fresh empty install...
<adisbladis> "Yay"
<adisbladis> Does anyone have good solutions for toggling browsers between light/dark modes?
<adisbladis> Especiall in regards to websites that have dark mode like reddit, github and so on
<adisbladis> Especially*
* etu has "[Settings]\ngtk-application-prefer-dark-theme=1" in .config/gtk-3.0/settings.ini
<gchristensen> could I change that on a cron and do it magically?
<adisbladis> etu: That won't affect websites though?
<adisbladis> Or will it?
<etu> Which makes gtk applications (firefox) prefer a dark mode, this will also trigger the css on websites that supports theme hinting
<adisbladis> Hmm
<adisbladis> That sounds interesting
<gchristensen> will it change at run time? :o
<etu> gchristensen: Don't think so, but haven't tried
<adisbladis> gchristensen: Presumably you can change the value with dconf
<etu> But my website (elis.nu) does support this in css, and I've noticed more and more websites that does support this in css.
<etu> But for the rest I just run dark reader mode and can toggle it off if a website breaks to badly
<srk> interesting
<srk> I'm using dark reader in FF but it's not ideal. allows per site and toggling tho
<adisbladis> How do I dconf lol
<gchristensen> dconf write /org/gnome/desktop/input-sources/sources "[('xkb', 'us+dvorak')]"
<etu> The fun thing is that I found this setting in gnome tweak tool like ages ago, then it dissapeared from gnome tweak tool but I've just kept that file around and it still works :D
<adisbladis> etu: Hmm, this does seem to improve things
<adisbladis> At least a bit
<adisbladis> But now to figure out if it can work at runtime
<supersandro2000> dark reader can switch websites according to the system dark mode
<supersandro2000> not sure if it works on linux though
<supersandro2000> it can also switch based on time or sun rise and set at your location
<adisbladis> Aren't all gsettings available over dconf?
<gchristensen> I dunno
<gchristensen> how do I set it ?:P
<adisbladis> I don't know :P
<adisbladis> I'm trying to figure this out
* etu sets it by creating the file with home manager :p
<gchristensen> how un-leaky is your abstraction of what "all" means? :)
<adisbladis> I don't know?
<adisbladis> Gtk/gnome is kind of a new world to me
<adisbladis> I just assumed this would work
* worldofpeace enters the room
<adisbladis> Actual picture of me rn: https://i.imgflip.com/1w6e9f.jpg
<siraben> adisbladis: uh oh dconf
<gchristensen> I regularly regret letting ihavenoideawhatimdoing.dog lapse
<adisbladis> gchristensen: It doesn't look lapsed?
<adisbladis> Registry Expiry Date: 2021-04-22T14:24:53Z
<gchristensen> well yes
<gchristensen> that is why I regret it so much
<gchristensen> because I don't own it anymore
* worldofpeace begins playing ominous music for adisbladis
* worldofpeace uploaded an audio file: yes.wav (1841KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/LMaZkgjUfLMecrbhfVdJkixA/yes.wav >
<worldofpeace> adisbladis: some things are settings for gtk. what etu mentioned is a module in home-manager is which is good
<adisbladis> worldofpeace: My problem is that I want to do this at runtime
<adisbladis> Maybe what I want isn't possible...
<worldofpeace> adisbladis: the only app that does that would be gnome-tweaks `prefer-dark-mode` or there's gnome-shell-extension. and if it's a gtk app someone could add a switch. the only project trying to get actual dark made is elementary and firefox would have to be changed to respect it
<adisbladis> Firefox does seem to respect this config thing
<adisbladis> My question is really "is there a way to toggle this value without editing the config file"
<adisbladis> I guess
<gchristensen> how do you feel about FUSE filesystems
<worldofpeace> yeah but it's not "real dark mode like what you're looking for"
<adisbladis> I think it's good enough
<adisbladis> For my purposes
<adisbladis> gchristensen: That's cursed
<gchristensen> hey!
<adisbladis> And still won't affect running applications :P
<gchristensen> you can get yourself a writable dconf namespace which is reflected in the gtk settings ini :)
<worldofpeace> prefers-dark can be done independently IIRC. it doesn't modify the setting ini
<worldofpeace> probably the easiest way is to just enable and disable firefox's dark theme
<adisbladis> That's annoying as hell :/
<siraben> worldofpeace: where'd you get that .wav file from?
<worldofpeace> siraben: I exported it from my daw
<worldofpeace> or, lol, do u want the source of it?
<gchristensen> worldofpeace: that sounds reminiscent of a hymn
<siraben> B C# D E D C# B D A C# B
<siraben> hehe
waleee-cl has joined #nixos-chat
<siraben> (key of b minor)
<siraben> worldofpeace: what was it for?
<worldofpeace> siraben: I think what u put is correct!
<supersandro2000> Can I teach YouCompleteMe for vim words it should remember?
<worldofpeace> it's someone I know's song, and I'd probably only want to share it in a pm because it's pretty weird 😀 I have a habit of enjoying sound bytes
<supersandro2000> or can it auto train on suggestion I choose?
<siraben> worldofpeace: :D
omnd has joined #nixos-chat
<adisbladis> Whoa
<gchristensen> waaaaooooooaaa
<siraben> adisbladis: what's special about this one?
<adisbladis> siraben: It actually compiles python to native code
<siraben> oh now it's for cpython
<siraben> ah
<siraben> Heh, I want to read more into mypy's type system at some point and use it, it's gradually typed IIRC
<adisbladis> Yeah
<adisbladis> But I guess mypyc enforces type annotations 100%
<siraben> mypy doesn't?
<siraben> interesting
<siraben> so a statically typed python, heh
<adisbladis> Yeah
<gchristensen> it is done with static analysis and nothing to do with runtime where the types may be lies, for one thing
<gchristensen> but over all it is really good
<adisbladis> This is pretty awesome
<siraben> very nice
<siraben> does mypy et al. support generics?
<gchristensen> yea
<gchristensen> on a very regular basis I was surprised by how good it actually was in practice
srk has quit [Remote host closed the connection]
srk has joined #nixos-chat
<supersandro2000> FYI for all people running the latest nextcloud and wondering why there cron is running out of memory https://github.com/nextcloud/docker/issues/1413
<{^_^}> nextcloud/docker#1413 (by pfaelzerchen, 3 days ago, open): Allowed memory size of xxx bytes exhausted in current latest-container
<supersandro2000> *in docker
<LinuxHackerman> Why run it in docker when you can run it in NixOS? :p
<hexa-> ´
<hexa-> ma is doing such a great job maintaining our module and packages
<LinuxHackerman> hey ma27 people are saying nice things about you again :D (and they're right)
<ma27[m]> oh thanks 😊
<hexa-> ma27++
<{^_^}> ma27's karma got increased to 5
<supersandro2000> LinuxHackerman: time
ky0ko has quit [Ping timeout: 265 seconds]
cole-h has joined #nixos-chat
<gchristensen> I wish I used qwerty just to make things simpler
<pie_> im no another machine and i _still_ cant get teamviewer working
<pie_> looks like the cli has been updated to have some things now though...ditch effort, lets try enabling the service (bleh)
<pie_> oh right this is the machine where i cant pull of a system rebuild because reasons.
* pie_ tries WINE
<das_j> pie_: I don't know if you are running a display server, but if you are not, you are out of luck with teamviewer
<das_j> Also running the windows version in wine will probably not help you because their "native" linux client runs on wine as well iirc
<pie_> doh
<pie_> what do you mean if im running a display server?
<das_j> sorry I mean display manager
<pie_> das_j: i also figure the wine stuff will be able to run any background stuff it needs to
<pie_> asopposed to whatever the linux version sis doingű
<das_j> we worked around that by switching to anydesk which is a lot less awful and comes from Stuttgart .
<das_j> well it's still awful but a lot less
<pie_> noted for later.
<pie_> thanks
<joepie91> gchristensen: yep, some people have also tried this in #Node.js
<joepie91> and seemed to legitimately believe it to be a valid strategy
<gchristensen> it kills me when people try it and trick people in #nixos in to helping
<joepie91> they were... informed otherwise
<joepie91> some a little more forcefully than others
<joepie91> unfortunately not the case in many other communities
<joepie91> gchristensen: I've pretty much reached the point where I tell someone that that is not acceptable, and if they don't accept that, ban
<gchristensen> nearly the same for me, but the effect is sort of dampened when someone is actively helping
<gchristensen> and then they don't need to neg anymore
<joepie91> I used to try and explain it more but it turns out that people who do this and don't take the first hint, are not really interested
<joepie91> gchristensen: I have definitely banned someone for this in the middle of someone else trying to help them
<gchristensen> nice
<joepie91> the people who do this generally can't keep their mouth shut if you call them out, so calling them out publicly will very quickly escalate the situation to a point where it's obvious to everyone that they are just an asshole :)
<gchristensen> :D
<joepie91> honestly with certain kinds of abusive users the fastest path to a resolution is just to let it escalate so that the mask drops
<joepie91> also thinking of eg. the alt-right-y crowd here
<gchristensen> for sure
<joepie91> who are very good at pretending to be respectable and Just Saying, right up until you press the right button and they launch off into a racist and misogynist tirade
<joepie91> and that direction saves a lot of tiresome "but why did you ban them, they were just debating..." crap
<pie_> well, it runs, starts the gui in a seemingly fine state, and immediately crashes
<lovesegfault> anyone here tried building sway with debug symbols before?
<lovesegfault> chasing after a cursed issue
rajivr has quit [Quit: Connection closed for inactivity]
<cole-h> lovesegfault: maybe use `pkgs.enableDebugging` on the derivation as an overlay?
endformationage has joined #nixos-chat
pinpox has quit [Remote host closed the connection]
<ashkitten> hm i really wish there was a mechanism to broadcast libnotify messages to all users
<f0x> wal?
<f0x> uh wall, single-l is the color theme utility
<ashkitten> hmm
<ashkitten> systembus-notify might be what i want
<pie_> das_j: fwiw, i got teamviewer 12 working...
<pie_> (in wine)
<sterni> lovesegfault: good luck if the issue is to cursed for --debug …
<lovesegfault> I'm mostly confused
<das_j> pie_: Good to know that they can't even package their own software with wine
<lovesegfault> we package kernel 5.10.17, the bug manifests there
<lovesegfault> but if I build 5.10.17 from the git source it doesn't show the issue
<lovesegfault> :^)
<pie_> das_j: i think its just that they changed something
<pie_> but the version they packaged probably works on ubuntu or whatever, or with the service running
ky0ko has joined #nixos-chat
<pie_> question is why they even need a service running
<pie_> - for outgoing stuff
slack1256 has joined #nixos-chat
<samueldr> ref: garbage in, garbage out
<samueldr> they show an example of an actual bridge
<samueldr> and, at best, I have overpasses
<joepie91> samueldr: nowadays you are expected to answer "what would other people consider a _______"
<joepie91> :P
<samueldr> not necessarily people, but "the blackbox"
<joepie91> game theory captchas suck
<joepie91> I don't think their algorithmic black box is anywhere near as complicated as people seem to think, tbh
<samueldr> I don't assume it's complicated
<samueldr> just that it's what it wants, because it's been fed information
<joepie91> right, but the correct answers seem to generally fit "what would a slightly frustrated non-$topic-nerd consider the answer here"
<joepie91> for me anyway
<samueldr> I would say: "what would a perfectly normal person be forced to choose to succeed"
<__monty__> I don't see why an overpass doesn't qualify as a bridge.
<samueldr> maybe it's different in sillycon valley
<samueldr> __monty__: my gripe is that they probably should show an overpass in the example
<samueldr> I have never seen an "actual brige" in the choices
<__monty__> I'm sure they happen.
<__monty__> They're probably rarer to start with and easier to classify automatically.
evanjs has quit [Quit: ZNC 1.8.2 - https://znc.in]
evanjs has joined #nixos-chat
sorear has quit [Read error: Connection reset by peer]
sorear has joined #nixos-chat
slac82647 has joined #nixos-chat
slack1256 has quit [Ping timeout: 260 seconds]
<samueldr> I had two e-mail to send to someone, profesionally, and I managed to screw-up by mixing-up the subject lines across the e-mails
<gchristensen> oop
<cransom> you will wake up in a cold sweat, 10 years from now, thinking about this moment and how awful of a person you are.
<omnd> dude I remember when dogecoin sponsored josh wise's car in NASCAR!
<ashkitten> systembus-notify should really be part of libnotify itself :/
<ashkitten> it's annoying that there's no way to broadcast libnotify notifications to every user
<ashkitten> oh well, it works now anyways
omnd has quit [Ping timeout: 260 seconds]
slac82647 has quit [Remote host closed the connection]
<colemickens> Any Plex Media Server users around? I used to use it on NixOS, haven't for maybe two years, and want to again, temporarily, but can't see my own server (that I'm connected to): https://forums.plex.tv/t/cant-see-sever-that-im-connected-to/693451/3 (And while I appreciate OSS recommendations normally, I've not had great experiences with Jellyfin so far)
<ldlework> Anyone using Prisma 2 on nixos and figure out the precompiled binary thing?
<eyJhb> Spam incomnig, maybe?
<eyJhb> incoming*
israfel has joined #nixos-chat
<israfel> /!\ this chat has moved to irc.crimeircd.net #0 /!\
israfel has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<gchristensen> oh I forgot we had sigyn in here
<eyJhb> gchristensen: I see you have been here before https://github.com/containers/podman/issues/6053 :D
<{^_^}> containers/podman#6053 (by grahamc, 42 weeks ago, closed): Rootless podman: support passing arbitrary paths to configuration files
<gchristensen> hehe
<eyJhb> Thought it would create a policy itself, apparantly not :p
tokudan has quit [Remote host closed the connection]
evalexpr has quit [*.net *.split]
dottedmag has quit [*.net *.split]
kgz has quit [*.net *.split]
FireFly has quit [*.net *.split]
kgz has joined #nixos-chat
evalexpr has joined #nixos-chat
FireFly has joined #nixos-chat
dottedmag has joined #nixos-chat
tokudan has joined #nixos-chat
jwhearecu has joined #nixos-chat
<jwhearecu> jtR8mlB01X6ISF5snHE1WpJMbcKswdBUtUBYKuW5zu6q4wEW7hHAcPdd48LvDo3BJeT0OaUO0pLVwLtnC8npZEHvCITWiQn9eTcazBMax0rdPnGyOb1SxPz7
jwhearecu has quit [K-Lined]
__monty__ has quit [Quit: leaving]
bitch has joined #nixos-chat
bitch has quit [K-Lined]