gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
drakonis has joined #nixos-chat
srk has quit [*.net *.split]
srk has joined #nixos-chat
drakonis has quit [Ping timeout: 245 seconds]
drakonis has joined #nixos-chat
das_j has quit [Remote host closed the connection]
das_j has joined #nixos-chat
endformationage has quit [Quit: WeeChat 2.6]
drakonis has quit [Read error: Connection reset by peer]
tilpner has quit [Quit: tilpner]
tilpner has joined #nixos-chat
<tilpner> So a while ago, I asked if anyone had encountered issues with mixing modules from different channels
<tilpner> Turns out that idea is even worse than it sounds
<tilpner> And now postgres fails to start, because matrix-synapse assumes the postgres module already has the quoting fix
<tilpner> Solution^WQuick fix: Use postgres module from unstable
<tilpner> (Actual solution: Check if matrix-synapse backports have gotten better, and make them good enough if they aren't)
cransom has quit [Ping timeout: 265 seconds]
cransom has joined #nixos-chat
vesper11 has quit [Ping timeout: 265 seconds]
vesper11 has joined #nixos-chat
joepie91 has quit [Remote host closed the connection]
joepie91 has joined #nixos-chat
<ldlework> hmm, did `nix-env -i syncthing` on an old server, which hung my ssh connection, now I can't ssh into the server lol
<ldlework> heckin heck
<lassulus> Probably not enough ram
<lassulus> Nix-env -i needs quite a lot
ldlework has quit [Quit: co'o ro do]
ldlework has joined #nixos-chat
<ldlework> Just curous if anyone is using Syncthing and has some expressions they use?
<ldlework> Oh nice it's a service
<sphalerite> ldlework: not really, I just have syncthing installed in my profile (but by attribute path, which might work on your old server as well) and have a symlink to the systemd user service file (.nix-profile/lib/systemd/user/syncthing.servce) in my ~/.config/systemd/user
<sphalerite> then enabled it using systemctl --user enable syncthing
<ldlework> sphalerite: so I guess you're editing the configuration by hand then?
<ldlework> oh right the webui
<ldlework> cool that was easy
__monty__ has joined #nixos-chat
psyanticy has joined #nixos-chat
__Sander__ has joined #nixos-chat
leons has quit [Ping timeout: 246 seconds]
atopuzov[m] has quit [Ping timeout: 245 seconds]
tokudan[m] has quit [Ping timeout: 240 seconds]
rycee has quit [Ping timeout: 246 seconds]
worldofpeace has quit [Ping timeout: 246 seconds]
arcnmx has quit [Ping timeout: 245 seconds]
dtz has quit [Ping timeout: 245 seconds]
aanderse has quit [Ping timeout: 246 seconds]
jtojnar has quit [Ping timeout: 252 seconds]
colemickens has quit [Ping timeout: 248 seconds]
thefloweringash has quit [Ping timeout: 246 seconds]
<gchristensen> DD/MM/YYYY is a terrible date format
<Taneb> gchristensen: it's the closest to how I say dates out loud
<lassulus> Better than MM/DD/YYYY
<Taneb> That aside, I agree it has no advantage over YYYY/MM/DD
<Taneb> (I say, e.g., "the eighteenth of December twenty nineteen", as I believe is common in the UK)
waleee-cl has joined #nixos-chat
<gchristensen> interesting, we totally say December eighteenth, twenty nineteen
<joepie91> literally translated, it'd be "eighteen december, two thousand nineteen" in Dutch
<joepie91> literally back-translated *
<joepie91> (and yes, lowercase december)
<Taneb> I never know whether words like that want to be upper case or lower case
<Taneb> I only recently learnt that I was the only person capitalising "North"
<joepie91> weekdays + months are capitalized in English (afaik) but not in Dutch
<joepie91> capitalizing directions depends on whether it's part of a name I think
<Taneb> I'm a native speaker but that doesn't mean I know what I'm doing
<joepie91> for example, "Noord-Holland" (North Holland), but "noord-Gelderland" (north Gelderland) to give two province examples in NL
<joepie91> rule's the same there in Dutch and English I think
<joepie91> hm, maybe northern Gelderland
<joepie91> I'm not sure about north vs. northern actually
<joepie91> is that a UK vs. US thing?
<Taneb> I don't think so?
<Taneb> South Africa and southern Africa are very different things
<FireFly> Taneb: I imagine 'North' would depend on the context (like, if it's part of a region or place name, country name etc, or if it's just the word by itself)
<FireFly> or if it's a proxy for a region..
<Taneb> FireFly: until a couple of years ago I was capitalising it all the time
<FireFly> ah
<FireFly> I could see referring to like, "the North" for Northern England or so
<FireFly> with uppercase n because it's referencing a place. but then, of course, I'm not a native speaker :p
<qyliss> I am a native speaker and also had this confusion
<joepie91> Taneb: I'm talking about north vs. northern, not North vs. northern :P
<Taneb> joepie91: right
<Taneb> Hmm, I don't think I'd ever say "north England" but I would say "the north of England"
<Taneb> I would say, e.g., "north Northumberland" or "northern Northumberland" interchangeably
<joepie91> you had to pick the most confusing name there :D
aanderse has joined #nixos-chat
<Taneb> It's my home county
<Taneb> (although I'm from south Northumberland)
<joepie91> okay, I retract what I said earlier
<joepie91> that is the most confusing name :P
<__monty__> gchristensen: How is MM/DD/YYYY not objectively more terrible?
<gchristensen> I didn't compare it to MM/DD/YYYY
<ar> everything is terrible compared to YYYY-MM-DD
colemickens has joined #nixos-chat
arcnmx has joined #nixos-chat
atopuzov[m] has joined #nixos-chat
dtz has joined #nixos-chat
jtojnar has joined #nixos-chat
leons has joined #nixos-chat
thefloweringash has joined #nixos-chat
rycee has joined #nixos-chat
worldofpeace has joined #nixos-chat
tokudan[m] has joined #nixos-chat
drakonis has joined #nixos-chat
<__monty__> Yes, ISO dates all the way.
<edef> gchristensen: yeah, i've been under heavy load myself, so it might not be wise to wait on me for that
<gchristensen> edef: no worries, I'm not :)
<__monty__> Dutch is weird for not capitalizing days and months. Germanic languages tend to and Romance languages tend not to.
<joepie91> __monty__: you could've stopped after "weird" :D
<ar> polish also doesn't capitalize days and months, which feels weird to me
<FireFly> nor does swedish, which makes perfect sense to me :p it's always been weird to do so in english to me
<Taneb> Languages are weird
<FireFly> true
<__monty__> FireFly: All names are capitalized.
<__monty__> Hmm, looks like more languages don't though. Weird.
<__monty__> Was basing my estimation of germanic languages on German and English.
colemickens has quit [Read error: Connection reset by peer]
jtojnar has quit [Read error: Connection reset by peer]
worldofpeace has quit [Remote host closed the connection]
leons has quit [Read error: Connection reset by peer]
tokudan[m] has quit [Read error: Connection reset by peer]
arcnmx has quit [Read error: Connection reset by peer]
aanderse has quit [Read error: Connection reset by peer]
thefloweringash has quit [Remote host closed the connection]
rycee has quit [Write error: Connection reset by peer]
atopuzov[m] has quit [Remote host closed the connection]
dtz has quit [Remote host closed the connection]
<FireFly> See, to me weekdays, names of months etc are just words and not names
<__monty__> You're entitled to wrong opinions : )
<FireFly> I don't capitalise Afternoon or Weekend or any other period of time :p
<__monty__> They clearly are names though.
<__monty__> And they derive from the names of gods.
<joepie91> they're not names to me either, any more than "car" is a name
<pie_> why doesnt linux just have a global events engine everyone can hook into, sheesh
<pie_> i imagine thats what dus is supposed to be but i meant something provided by the kernel
<pie_> no dbus is not that, dbus is just a message thingy
<drakonis> ebpf maybe?
<pie_> *shrugs cluelessly*
vika_nezrimaya has joined #nixos-chat
<drakonis> looks like it is
<pie_> well, i really need to get around to looking at ebpf one of these days
thefloweringash has joined #nixos-chat
jtojnar has joined #nixos-chat
worldofpeace has joined #nixos-chat
arcnmx has joined #nixos-chat
dtz has joined #nixos-chat
rycee has joined #nixos-chat
aanderse has joined #nixos-chat
colemickens has joined #nixos-chat
atopuzov[m] has joined #nixos-chat
leons has joined #nixos-chat
tokudan[m] has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.6]
__Sander__ has quit [Quit: Konversation terminated!]
drakonis has joined #nixos-chat
Shoubit has quit [Remote host closed the connection]
buckley310 has quit [Ping timeout: 265 seconds]
<sphalerite> pie_: kdbus :p
<pie_> this thing isnt showing up in journalctl for some reason :( https://bpaste.net/show/XU3YW
<pie_> im not sure how to make it keep its logs
<sphalerite> how are you looking for it?
<pie_> just journalctl NetworkManager-dispatcher.service
<pie_> i think its not a proper persistent esrvice or something
<sphalerite> try with -u
<pie_> $ journalctl NetworkManager-dispatcher.service
<pie_> Failed to add match 'NetworkManager-dispatcher.service': Invalid argument
<pie_> i did
<pie_> oh
<pie_> what the heck
<pie_> its not empty now
* pie_ flails helplessly
<pie_> stuff keeps changing
<sphalerite> the lines at the bottom of the systemctl status output _are_ directly from the journal
<sphalerite> so maybe you typoed it or something?
<pie_> maybe
<pie_> idk ;_;
<pie_> anyway, nm-dispatcher isnt triggering on my virtual device :( i wonder if its a race condition
<pie_> or maybe its this
<pie_> networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
<pie_> well poop.
<pie_> i dont want networkmanager to crosstalk with whatever but i still want it to triger the dispatcher
<sphalerite> does networkmanager need to do it? What are you trying to achieve?
<pie_> I think thats where I got the line
<pie_> I'm trying to create a network route on the host after the container is up...
<pie_> the normal nixos declarative network config doesnt seem to work...presumably because its a container?
<sphalerite> you may want to consider using systemd-networkd, or you can run a script based on the container's unit?
<pie_> sphalerite: what can i do with networkd
<pie_> when i looked for running scripts most htings seemed to say networkmanager, havent explicitly looked at networkd
<pie_> nixos has an option for networkmanager which was the stuff about the dispatcher above
<pie_> didnt see anything for networkd yet
<pie_> *could* I just add something to the container unit?
<pie_> would be nice if the nixos manual said what will conflict if i dont tell networkmanager to ignore the device...
<sphalerite> networkd replaces nixos's scripted networking setup, so it's not entirely trivial to switch (but networkmanager can cooperate with networkd)
<sphalerite> pie_: it will probably try to get DHCP from it, and you probably don't want your container to be able to assign IP addresses and get all the traffic from its host
<pie_> sphalerite: ^
<pie_> not that that helps me solve the problem per se...
<pie_> guess it might be sufficient to disable dhcp if possible
<sphalerite> check `systemctl list-units`, you should be able to find a .device for the container veth interface
<sphalerite> you can then make a new service that's WantedBy and After that device
<sphalerite> that sets the IP
<sphalerite> or route or whatever it was :)
<pie_> aha.
<pie_> sphalerite: what attribute do i specify the script with
<pie_> serviceConfig.ExecStart?
<pie_> sphalerite: its not sufficient that the device exist, it needs to have an ip assigned for the route assignment to work
<pie_> sphalerite: is after and wantedby sufficient for that?
<pie_> probably gonna need networkd..
<pie_> hm so yeah "Adding a dependency on sys-subsystem-net-devices-eth1.device doesn't help either, since that only indicates that the device exists (from the point of view of udev), which says nothing about it being up and configured yet. So that's not an option either."
<pie_> im fialing to see a way to disable networkmanagers internal dhcp on a given interface -_-
<sphalerite> I think if you specify a device on the default connection it won't use it for other devices.
<sphalerite> but I think networkd would be an overall more elegant solution
<pie_> afaict nixos doesnt have much networkd integration yet?
<pie_> its possible to tell networkd to use dhcpd but idk much about that either
vika_nezrimaya has quit [Ping timeout: 248 seconds]
<sphalerite> pie_: if you want to try networkd, the key elements are… networking.useNetworkd = true; networking.useDHCP = false; networking.interfaces.wlp4s0/* or whatever your wifi interface is called */.useDHCP = true; /* likewise for ethernet if applicable */
<sphalerite> pie_: and if it blows up in your face, well, good thing we have rollbacks, right? :D
<sphalerite> I should write a blog post about getting started with networkd.
<drakonis> real talk: how do we improve the way we position Nix and related software?
<drakonis> to sell it better to people
<pie_> sphalerite: hm :P
<drakonis> beef up usecase examples for each potential crowd?
<pie_> sphalerite: well it cant blow up in my face in my VM but on the actual hardware yeah
<pie_> drakonis: make it a pleasure to work with
<drakonis> ie: show off all the ways it can end the "it works on my machine" scourge that frequently irritates sysadmins and developers?
<drakonis> devops and such
<drakonis> what would making it a pleasure to work with entail?
<drakonis> cleaning up all the cruft accrued over the years?
<__monty__> drakonis: Listen to everyone with a problem in the channel and make the problem either impossible or simply improbable through impossibly great documentation?
<drakonis> also works
<drakonis> sounds good
<drakonis> also i have a bad/dumb idea that might work
<drakonis> might've been previously discussed
<drakonis> split the repository into "meets standards" and "doesnt really meet standards"
<drakonis> see also debian main
<drakonis> but it implies standards enforcement
<__monty__> I'd love a version of nixpkgs that's dedicated to software conservation.
<drakonis> might be a good thing to do after pushing the modules rfc
<drakonis> flakes is perhaps once again a good way to do this
<drakonis> a software conservation focused nixpkgs is also pretty cool
<drakonis> for handling the packages that need specific versions of dependencies
<pie_> __monty__: same
<pie_> i like nixpkgs as a monorepo :(
<drakonis> its going to get pretty complex
<drakonis> keep nixpkgs as a monorepo but have flakes and whatnot
atopuzov[m] has left #nixos-chat ["Kicked by @appservice-irc:matrix.org : User has been idle for 30+ days."]
<infinisil> Game idea: Start off with 1 dimension, over time more dimensions are added
<infinisil> 2 -> 3 -> 4 dimensions
<drakonis> what kind of game?
<infinisil> And maybe allow players to "focus" on a lower-dimensional space when they are in a higher one
<infinisil> No idea
<drakonis> miegakure is neat
<__monty__> *will probably be if it is ever published, ftfy
<drakonis> yes
<__monty__> There's other games with interesting geometry. Hyperrogue is one.
<drakonis> so, remember the guy that was complaining about companies not paying him for his work?
<drakonis> turns out that he's backporting from debian lol
<pie_> man i cannot believe that waiting for a network interface to get an ip address from *somewhere* and then run a script is still so damn hard
<drakonis> shouldnt the money go to the people that actually made the packages that he's demanding money for? or the people that wrote the software in question?
<drakonis> this is a clown show
psyanticy has quit [Quit: Connection closed for inactivity]
vika_nezrimaya has joined #nixos-chat
drakonis has quit [Ping timeout: 258 seconds]
<pie_> sphalerite: can i enable networkd and just tell it not to handle any interfaces by default, and then i dont have to make sure it doesnt crosstalk with other stuff?
<pie_> hm, but i guess module code is written such that networkd and NM are mutex
<pie_> wait. maybe i can wait for the container up state
drakonis has joined #nixos-chat
<pie_> sphalerite: ended up working around it by waiting for the container to come up >_>
<pie_> now i just need to figure out why i need to restart tinc once
drakonis has quit [Ping timeout: 252 seconds]
drakonis has joined #nixos-chat
drakonis1 has joined #nixos-chat
drakonis1 has quit [Read error: Connection reset by peer]
ravndal has quit [Remote host closed the connection]
ravndal has joined #nixos-chat
__monty__ has quit [Quit: leaving]
drakonis has quit [Ping timeout: 248 seconds]
vika_nezrimaya has quit [Remote host closed the connection]
vika_nezrimaya has joined #nixos-chat
ravndal has quit [Quit: WeeChat 2.7]
<qyliss> Repology down :o
tokudan has quit [Quit: Dunno.]
drakonis has joined #nixos-chat
tokudan has joined #nixos-chat