gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
* samueldr thinks
<samueldr> am I even saving comments?
<samueldr> hm, no
<samueldr> [it wasn't what the tool was built for initially]
<supersandro2000> one of the best RFC arguably
<gchristensen> re #nixos chat -- I've been trying Talon ....... and it is making me consider X11 again for the accessibility support
maxdevjs has quit [Remote host closed the connection]
<samueldr> random's screwing with me right now
<samueldr> it can go from +0 to +14 % at once, and been going, 1, 0, 0
maxdevjs has joined #nixos-chat
<gchristensen> heh
maxdevjs has quit [Remote host closed the connection]
<samueldr> and I was waiting for a "dummy" progress bar to go to 100%
maxdevjs has joined #nixos-chat
<infinisil> > talon.meta
<{^_^}> undefined variable 'talon' at (string):345:1
maxdevjs has quit [Max SendQ exceeded]
maxdevjs has joined #nixos-chat
<infinisil> Not even packaged!
maxdevjs has quit [Max SendQ exceeded]
maxdevjs has joined #nixos-chat
maxdevjs has quit [Max SendQ exceeded]
maxdevjs has joined #nixos-chat
<gchristensen> imo not worthy of packaging as-is
maxdevjs has quit [Max SendQ exceeded]
maxdevjs has joined #nixos-chat
maxdevjs has quit [Max SendQ exceeded]
maxdevjs has joined #nixos-chat
<joepie91> this is glorious https://github.com/github/dmca/pull/8142
<{^_^}> github/dmca#8142 (by stephen304, 4 hours ago, open): 😳
<gchristensen> hah!
<joepie91> I bet this is gonna cause a "... what." stare over at github HQ for at least a few minutes
<gchristensen> they already "took care" of it
<supersandro2000> so troll 😂
maxdevjs has quit [Remote host closed the connection]
maxdevjs has joined #nixos-chat
supersandro2000 has quit [Disconnected by services]
<infinisil> joepie91: Lol nice, took me a second to realize what was going on
supersandro2000 has joined #nixos-chat
maxdevjs has quit [Remote host closed the connection]
<gchristensen> samueldr: hah...
<samueldr> sure, I did implement the dummy service that way, so I could get hangs and not necessarily constant fresh updates
<samueldr> but I'm inconveniencing myself now!
maxdevjs has joined #nixos-chat
maxdevjs has quit [Remote host closed the connection]
maxdevjs has joined #nixos-chat
maxdevjs has quit [Remote host closed the connection]
tilpner_ has joined #nixos-chat
tilpner has quit [Ping timeout: 272 seconds]
tilpner_ is now known as tilpner
aleph- has quit [Quit: WeeChat info:version]
<FireFly> joepie91: uh I don't get what's going on there, why's that commit hash in that repo?
<FireFly> oh ah
<FireFly> I guess a PR was opened to that repo or something like that
<supersandro2000> he merged the unrelated git tree and then opened a PR with it
<supersandro2000> this added all commits to the repo.
<supersandro2000> and you can't delete PRs, turn them off and add size to the repo this way
<supersandro2000> and unwanted commits
<FireFly> ah, right
<FireFly> github repos are wild
aleph- has joined #nixos-chat
<supersandro2000> they are
<supersandro2000> hope the right article. Not the first time that shared commits are causing trouble
<hexa-> I admire the hack value of this
<supersandro2000> I wonder if you could increase a repos size to 10s of GBs by such methods and cause trouble this way
<supersandro2000> and the takeaway is: never use short shas except for quick referencing the next 5 minutes
<samueldr> yeah, just like that time they set us up the bomb https://github.com/NixOS/nixpkgs/tree/879e51f237cbf03ed420743a3eb86c5a1226db77
<supersandro2000> the great part is: it is under a trustable org and repo
<supersandro2000> so you could inject malicious patches like this and make them seem legit
cole-h has joined #nixos-chat
<andi-> Never trust GitHub?
<samueldr> rather: understand its failure modes
danderson has quit [Remote host closed the connection]
danderson has joined #nixos-chat
cjpbirkb1 has joined #nixos-chat
cjpbirkbeck has quit [Ping timeout: 240 seconds]
cjpbirkbeck has joined #nixos-chat
cjpbirkb1 has quit [Ping timeout: 272 seconds]
<energizer> i want to run a raspi with nixos. is this what i should use? https://github.com/Robertof/nixos-docker-sd-image-builder I just tried it and got "Service 'setup-qemu' failed to build: cgroups: cgroup mountpoint does not exist: unknown" so I'm wondering if I should try to debug or look at another solution.
<infinisil> energizer: I'd probably look through https://nixos.wiki/wiki/NixOS_on_ARM
<colemickens> cole-h: do you use nixos-rebuild to activate your system then or do you have a script?
<cole-h> I use nixus :) https://github.com/Infinisil/nixus/
<cole-h> Though I could use nixus, if I wanted to.
<cole-h> s/nixus/nixos-rebuild/
<infinisil> :D
<infinisil> I wish I had more time to develop nixus
<colemickens> cole-h: alright, I am trying to figure out what to tell matthew in #nixos as far as the "activate, set system profile" bit
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #nixos-chat
<cole-h> infinisil: Wow, you're configuring ZNC :O
<infinisil> Updated the server actually :)
<infinisil> ,commands
<colemickens> this stinks, nixos-rebuild with/without flake gives different results due to different version suffixes.
waleee-cl has quit [Quit: Connection closed for inactivity]
xd1le has quit [Read error: Connection reset by peer]
xd1le has joined #nixos-chat
endformationage has quit [Quit: WeeChat 2.9]
xd1le has quit [Remote host closed the connection]
xd1le has joined #nixos-chat
cole-h has quit [Ping timeout: 260 seconds]
cjpbirkbeck has quit [Quit: Goodbye, take care]
bridge[evilred] has quit [Remote host closed the connection]
bridge[evilred] has joined #nixos-chat
bridge[evilred] has quit [Remote host closed the connection]
bridge[evilred] has joined #nixos-chat
kalbasit__ has quit [Ping timeout: 240 seconds]
dadada_ has quit [Ping timeout: 260 seconds]
dadada_ has joined #nixos-chat
buckley310 has joined #nixos-chat
Mic92 has quit [Quit: WeeChat 2.9]
Mic92 has joined #nixos-chat
FRidh has joined #nixos-chat
xd1le has quit [Remote host closed the connection]
hmpffff has joined #nixos-chat
__monty__ has joined #nixos-chat
averell has quit [Quit: .]
<eyJhb> hexa-: Not specifically, I should just try to switch since iptables is outdated
<eyJhb> Just not sure if my iptable rules tranlates well to nftables, since they are weird...
buckley310 has quit [Quit: Connection closed for inactivity]
averell has joined #nixos-chat
<supersandro2000> energizer: just don't use unstable or your Pi dies when building packages
jayok has joined #nixos-chat
cjpbirkbeck has joined #nixos-chat
jayok has quit [Ping timeout: 240 seconds]
hmpffff has quit [Ping timeout: 272 seconds]
hmpffff has joined #nixos-chat
Jackneill has quit [Ping timeout: 264 seconds]
Jackneill has joined #nixos-chat
hmpffff has quit [Ping timeout: 272 seconds]
hmpffff has joined #nixos-chat
<gchristensen> it'd be cool to have some nice way to define a service which assumes a role via vault, automatically
<eyJhb> gchristensen: You and vault ;)
<__monty__> Anyone know what the T in git status -s output means? I can't find it in the man page. http://ix.io/2BXQ
cole-h has joined #nixos-chat
<eyJhb> Tampered with!
<supersandro2000> File type change
<eyJhb> `- You can not use nftables with services.networking.firewall.` really sad panda now
<cole-h> Does it say why not?
<hexa-> there is no module support for nftables
<eyJhb> Because firewall.nix uses iptabels I guess? :D
<eyJhb> But hell, I actually thought there was some nftables support? That would be awesowe if we get that...
slack1256 has joined #nixos-chat
<__monty__> supersandro2000: Thanks! Any idea as to why this wouldn't be listed on the git status man page?
<supersandro2000> 🤷 someone missed it. Send a PR to upstream to fix it
<cole-h> Doesn't nftables have an iptables compat thing that could be used?
<cole-h> lol
<thefloweringash> eyJhb: oh wow, I’d forgotten about that
<eyJhb> Yay ! Do you use it yourself thefloweringash ?
<eyJhb> Would be so cool to upstream it at some point, even if it is a BIG change
<thefloweringash> No. That’s not immediately usable. It was mean to be the basis for upstreaming to nixos that kept the old interface and was bug-for-bug compatible
<thefloweringash> So it has a bunch of test cases that use nixos vms to generate old and new and compare them... somehow. I’ve forgotten a lot of the details
<eyJhb> Always the nice "bug-for-bug" :p
<eyJhb> Also, 1 commit, but it still seems nice
<eyJhb> Wondering if I should still switch to nftables, or just stay with iptables. Seems eaiser to just stay...
<thefloweringash> I think there are (or were?) problems with docker not supporting nftables
<eyJhb> Luckily (and maybe unluckily), it is on my router, so it has no Docker on it
<thefloweringash> I use a different nftables for my router, which is a bit special, but just use iptables for host firewalls
<eyJhb> But that also adds a lot more complexity
<eyJhb> Pinged you in router instead :p Seems on-topic there
slack1256 has quit [Ping timeout: 260 seconds]
rajivr has quit [Quit: Connection closed for inactivity]
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
waleee-cl has joined #nixos-chat
<infinisil> TIL: You need to restart xmobar for it to update daylight savings changes
<cole-h> Nice
<MichaelRaskin> I have a strong feeling that Android alarms might have had a problem with alarm-set time and alarm-goes time on the different sides of DST change
aminechikhaoui has joined #nixos-chat
<samueldr> MichaelRaskin: Apple's did for a good while
<samueldr> if it's not still
<MichaelRaskin> I even _have_ remind in the Debian chroot on Android, but I guess background-process-killing can always go crazy…
<infinisil> cole-h: Nice
slack1256 has joined #nixos-chat
<cole-h> infinisil: Nice
<evanjs> Why are node packages so difficult on nixpkgs. Or in general 😢
<evanjs> 5,000,000 build systems, what could go wrong
<cole-h> Yeah, nodePackages is a mess
<cole-h> (I've said this before, but) it's why I moved my iosevka customizations into my config instead of overlaying the package
<cole-h> Much easier to copy the package.json and run node2nix on it
<joepie91> I use yarn2nix and that's been pretty much painless
<evanjs> trying to package hyve right now...
<evanjs> it has multiple components
<evanjs> one uses vue
<evanjs> which calls `vue-cli-service`
<evanjs> which seems to be part of `@vue/cli`, but I can't manage to get it packaged with the generate.sh/node2nix infra
<evanjs> it's failing to resolve vue-loader-v16
<evanjs> but that alone resolves/builds fine
<evanjs> just not when I try to package `@vue/cli-service`
<evanjs> ughhhh
<evanjs> The dev "advised against" packaging as it proved difficult for them to do so, and I mentioned that it would probably be trivial as a nixos module. at least the "not running in docker" part
<evanjs> it's just the JS stuff that's tripping me up atm
<evanjs> joepie91: yeah it worked great for this package, but currently I'm blocked on another thing a component of the package calls
<evanjs> unless there's a better way to manage projects with multiple yarn sub-projects that I'm not seeing
lopsided98_ has quit [Quit: Disconnected]
lopsided98 has joined #nixos-chat
FRidh has quit [Quit: Konversation terminated!]
Synthetica has joined #nixos-chat
<andi-> As long as there is a npm-lock.json in the repo it is trivial to just use npm in the build.
<andi-> I've written a yarn.lock parser (in Nix) some weeks ago but that is still buggy..
neeasade has quit [Ping timeout: 265 seconds]
<aminechikhaoui> evanjs https://github.com/nix-community/yarn2nix is pretty good, it also handles yarn workspaces which is I guess what you're calling sub-projects?
monsieurp has quit [Quit: Lost terminal]
monsieurp has joined #nixos-chat
slack1256 has quit [Remote host closed the connection]
lopsided98_ has joined #nixos-chat
lopsided98 has quit [Ping timeout: 260 seconds]
hmpffff has quit [Ping timeout: 240 seconds]
hmpffff has joined #nixos-chat
__monty__ has quit [Quit: leaving]
* colemickens wonders if he should call it "the flowchart of NIX_PATH hell" or the "the impure eval tree of sorrow"
<joepie91> the former is more self-descriptive but the latter would definitely do better as the title of a novel
<samueldr> The impure eval tree of sorrow: NIX_PATH hell
<joepie91> heh
<joepie91> yes
<samueldr> could be episodic!
<samueldr> (continuing here MichaelRaskin) because hosted software these days really wants to not show you everything
<samueldr> who in their right mind would want a result from over two years ago?
<joepie91> where's that discussion cont. from?
<samueldr> #nixos
<MichaelRaskin> answer: an unprofitable user
<samueldr> joepie91: further explanations, this is combined with my recent bad experience with both gitlab [software] and github
<samueldr> where search results are not constant!
<samueldr> sure, it's **hard**
<joepie91> ah yes
<samueldr> but when sending the same query literally seconds after gives you maybe more, maybe less results
<samueldr> IIRC github tells you in a way that there could be more
<samueldr> gitlab IIRC doesn't
<joepie91> honestly I don't care about github's inconsistency since its results are usually useless anyway, consistent or not :D
<samueldr> I have recently found way more relevant results for _specific_ bits with GitHub than any other search engine
<samueldr> like if I'm searching for a specific driver from OEM source code dump, I can search identifying strings on it and it *generally* gives good results when unique enough
<samueldr> (and assuming the source is on github)
<samueldr> that can be strings that are sussed out from a binary even!
hmpffff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hmpffff has joined #nixos-chat
hmpffff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]