<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @ajs124 to release-20.03 « performous: fix build (#84841) »: https://git.io/JvpXE
Arahael has joined #nixos
dckc has quit [Ping timeout: 246 seconds]
adyatlov has quit [Remote host closed the connection]
freeman42xx has quit [Remote host closed the connection]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Remote host closed the connection]
jbrock has joined #nixos
zeta_0 has joined #nixos
freeman42x has joined #nixos
jmcasey has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
kaliumxyz has quit [Ping timeout: 265 seconds]
<zeta_0>
when i run: M-x nix-shell in emacs, it prompts me for a `nix attr`, what does that mean? it doesn't have any autocompletion, so i'm not sure what to fill in?
kaliumxyz has joined #nixos
sigmundv__ has joined #nixos
sigmundv_ has quit [Ping timeout: 250 seconds]
<mlatus[m]>
Is the `{^_^}` open source?
<gchristensen>
yeah
<gchristensen>
which part are you interested in?
<mlatus[m]>
Well I'd like to port the eval bot part to our telegram team
<mlatus[m]>
<gchristensen "yeah"> Do you know where is the repository?
rogue_koder_ has quit [Remote host closed the connection]
rogue_koder_ has joined #nixos
jmcasey has joined #nixos
jmcasey has quit [Client Quit]
vk3wtf has quit [Quit: WeeChat 2.7.1]
vk3wtf has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
jmcasey has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
zeta_0 has quit [Remote host closed the connection]
jbrock has quit [Client Quit]
jbrock has joined #nixos
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
EggSpurt has joined #nixos
EggSpurt has quit [Remote host closed the connection]
captjakk has quit [Ping timeout: 250 seconds]
swflint has quit [Ping timeout: 265 seconds]
<emmanuelrosa[m]>
Does anyone know of a log monitoring system which can send out alerts (ex. email) when certain log entries are detected (using regex, for example)? My goal is to monitor for critical events in the Systemd journal and send them to myself via a Matrix client.
swflint has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
<cole-h>
I haven't tried setting up alerts, but there does appear to be an option for it
drakonis has quit [Quit: WeeChat 2.8]
srl295 has joined #nixos
<bdju>
did the builds succeed yet?
<cole-h>
What builds?
Kakky has joined #nixos
<bdju>
the ones to make changes to master move to unstable
<evils>
status.nixos.org
<bdju>
I've got that trunk-combined page up but it's difficult to interpret. I guess it looks like the # of failed jobs has been going down but isn't at 0 yet
<bdju>
oh thanks, hadn't seen this page yet
JJJollyjim has joined #nixos
palo1 has joined #nixos
<JJJollyjim>
oh wow status.nixos.org is neat
<JJJollyjim>
it's really hard to find this stuff
<JJJollyjim>
there's some `/tested` variant of the hydra page that shows the jobs that actually have to get to zero
<JJJollyjim>
but i can never find a link to it
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
<JJJollyjim>
on hydra itself
<JJJollyjim>
oh right tested is one of the 34000 jobs on the jobs tab
<JJJollyjim>
sweet
freeman42x has quit [Ping timeout: 265 seconds]
revtintin has joined #nixos
<JJJollyjim>
Does anyone know if it's possible to use openresty with the `services.nginx` module?
<JJJollyjim>
pkgs.openresty has a very different directory structure to pkgs.nginx
<JJJollyjim>
if you simply substitute it, it can't find the config which is in ${pkgs.openresty}/nginx/conf
xkapastel has quit [Quit: Connection closed for inactivity]
<JJJollyjim>
it looks like i'm supposed to point it at the nginx subdirectory, but then that has the executable in sbin/nginx rather than bin/nginx, so that fails as well
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « ocamlPackages.ctypes: 0.15.1 -> 0.17.1 »: https://git.io/JvpNO
<gentauro>
so that's why I do it like this and it works perfectly :)
<{^_^}>
[nix] @edolstra pushed 3 commits to 2.3-maintenance: https://git.io/JvpNG
<pjt_014>
what's in the default nixpkgs version then? If LTS is 'long term support`, It'd make sense for *that* to be there and bleeding edge stuff to be in unstable
<gentauro>
but then you need to rely on the latest pkg version used by `Nix`
<gentauro>
like I say, that will work for `hobby` and so
jbrock has quit [Quit: jbrock]
<gentauro>
but not for real prod development
jbrock has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<{^_^}>
[nix] @edolstra pushed commit from @gnprice to 2.3-maintenance « installer: Fix terminal colors. »: https://git.io/JvpN8
<{^_^}>
[nixos-search] @garbas pushed to netlify « deploy to netlify »: https://git.io/JvpN4
<{^_^}>
[nixos-search] @garbas opened pull request #1 → deploy to netlify → https://git.io/JvpNB
jbrock has quit [Client Quit]
jbrock has joined #nixos
<pjt_014>
It might be worth opening an issue for this. An LTS version ought to be in the main channel with a more rapidly released one in unstable
<gentauro>
pjt_014: true that. But the sandbox approach seems to be a better approach, at least with regard of `dotnet` core, given that many proejcts I have work with, have no intention to upgrade to latest LTS (yet)
mallox_ has joined #nixos
<gentauro>
so I like the flexibility to choose which versions I'll work with, based on my `default.nix` files :)
<gentauro>
pjt_014: should be fairly easy. I think they are `upgrade backwards compatible` but some services like Google or AWS haven't gone to the latest LTS yet
<gentauro>
so you can't really upgrade
linarcx has joined #nixos
<gentauro>
jakobrs: if you add it to `default.nix`, when you type `nix-shell` it will be imported only for that shell
<pjt_014>
jakobrs: how many people that are not you will be using whatever this is?
<gentauro>
if you `CTRL-D` you can no longer use that package
<jakobrs>
pjt_014: zero
<jakobrs>
But how do I add it to default.nix?
revtintin has joined #nixos
nschoe has joined #nixos
linarcx has quit [Client Quit]
<pjt_014>
I haven't done that before unfortunately. I imagine you can't go wrong with fetchUrl though.
<jakobrs>
Just pass config.packageOverrides to import <nixpkgs> maybe?
<ma27[m]>
julm: sorry was sleeping, is there still an issue with a PR I merged?
<nschoe>
Hi everyone. I am trying to diagnose my fresh nixOS install (LVM on LUKS). It apparently went okay, but I can boot it. So I´m looking everywhere. When I cryptsetup open my LUKS encrypted volume to mount it (Iḿ back in the USB now) it works **but** it complains ẄARNING: Locking directory /run/cryptsetup is missing¨ is that cause for concern ?
linarcx has joined #nixos
<pjt_014>
jakobrs: Do you need all those vals? also put a > in front to see if the bot can eval it
<jakobrs>
I know it evaluates, I just tried it
<ottidmes>
nschoe: pretty sure it is not, I have seen and ignored it without issue
<mananamenos>
hi, suddenly while nixos-rebuild i get *error: camlp4 is not available for OCaml 4.09.1*. With --show-trace option, *error: while evaluating the attribute 'activationScript' of the derivation 'nixos-system-nixos-20.09pre220217.39247f8d04c' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:103:5:*
jbrock has quit [Quit: jbrock]
LarryTheCow has joined #nixos
jbrock has joined #nixos
<jakobrs>
ij: /quit
jakobrs has quit [Quit: WeeChat 2.7.1]
<ij>
:D
mallox has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<LarryTheCow>
Hi. Can someone help me find a guide on nixos sandboxing?
<nschoe>
Hi again, still regarding my failed nixOS install. In the hardware-configuration.nix, I have the fileystems things, the swapDevice thing, but at the top, there is one imports <nixpkgs/nixos/module/installer/scan/not-detected.nix> Is that normal? SHould I keep it ? Can I remove it?
<{^_^}>
[nixos-planet] @garbas pushed to master « deploy to netlify (#1) »: https://git.io/JvpAd
<LarryTheCow>
That's why I'm trying to find some documentation for it
<{^_^}>
[nixos-planet] @garbas pushed 0 commits to netlify: https://git.io/JvpAb
noudle has joined #nixos
<jtojnar>
schmittlauch you can branch of from either staging or something that is already in staging (e.g. common parent of staging and master), otherwie you will be pushing unmerged commits from master to staging
<ij>
LarryTheCow, from the nix internal perspective? I speculate there isn't documentation for internal stuff. For that there's people and digging in the code.
<thinkingeye>
Hi, how can I add sth to the $PATH variable in an pure nix-shell environment by specifying in default.nix?
thibm has joined #nixos
<pjt_014>
I personally don't care and do it that way but only I have access to machine
<nschoe>
genevino, yeah I was planing to commit my configfuration.nix on github for instance
<nschoe>
So in this case: the PSK should not appear in it?
<nschoe>
Itś not secure?
o1lo01ol1o has quit [Remote host closed the connection]
<ij>
nschoe, you can add private.nix to gitignore and commit private.nix.gpg
o1lo01ol1o has joined #nixos
<genevino>
nschoe: unless you want attackers to be able to sit in front of your house having access to your wifi, no.
snicket_ has joined #nixos
<nschoe>
genevino, yeah thatś what I was trying to understand: is it secured (like a userś password´hash for instance) or no. I got my answer. Thanks
<nschoe>
ij, how would nixOS decrypt the gpg?
<ij>
nschoe, private.nix is plaintext, but not commited in the repository
<ij>
nschoe, you just import it like any other file
revtintin has quit [Ping timeout: 256 seconds]
<genevino>
nschoe: well i know that wpa_passphrase command puts out some obfuscated version of your PSK in its output, but i'm not sure if it's actually 100% safe to share that output with the world.
<ij>
it isn't
<genevino>
since you can connect to a wifi with it, it isn't, obviously. :)
<nschoe>
genevino, oh I was absolutely talking about the obfuscated psk, no the plaintext^^
<nschoe>
But okay if itś not secure enough
est31 has quit [Remote host closed the connection]
<nschoe>
ij, yes definitely. Just have to make sure they don diverge. But okay
<nschoe>
Good idea
est31 has joined #nixos
<mananamenos>
sorry guys, does anyone else suddenly get *error: camlp4 is not available for OCaml 4.09.1* with nixos-unstable channel?
pjt_014 has quit [Ping timeout: 264 seconds]
wspthr has quit [Read error: Connection reset by peer]
thinkingeye has quit [Quit: Konversation terminated!]
wspthr has joined #nixos
<ij>
I really should make a NUR
snicket_ has quit [Quit: WeeChat 2.7]
gxt has quit [Ping timeout: 240 seconds]
<nschoe>
Hum... how come I have a display manager asking me to log in in my all fresh nixOS install? The manual show that lightdm.enable is false by default o_O
revtintin has joined #nixos
<nschoe>
ah this is maybe when I enabled X11
<niso>
nschoe: some people don't use a login manager
<nschoe>
niso yeah I know. I was just wondering how come lightdm was enabled, because I did not enable it myself. But I think this is when I enabled X11
<niso>
oh, ic
<sshow>
I have lost my password to a NixOS machine. Can I live-boot and change /etc/shadow? :S
<jtojnar>
schmittlauch I am not sure how many things it rebuilds, either try nix-review (resource intensive) or look for past PRs touching just the package
<nschoe>
sshow, you can edit the bootloader line and use something like `init=/bin/sh` which allows you to boot as root
<sshow>
editing /etc/shadow offline actually worked. I should read the source soon, so that I actually understand how nix is provisioned :P
m0rphism has joined #nixos
<bqv>
Hey, not to be a total heathen but, is there a way to have a "try-catch" derivation? I.e. A derivation that falls back to another derivation if it fails to build?
<{^_^}>
[nixpkgs] @Oro opened pull request #84895 → pythonPackages.HAP-python: init at 2.7.0 → https://git.io/JvppX
<{^_^}>
[nixpkgs] @alyssais opened pull request #84896 → mailman-web: use default Nixpkgs Django → https://git.io/Jvpp1
c0c0 has quit [Quit: WeeChat 2.6]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<freethink>
quick question: using the graphical .iso in a VM. When I run nixos-install does it use the cached packages from the ISO or latest from the build servers?
<freethink>
wait nvm
<freethink>
I see 'copying from local'
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<nschoe>
Hum... anybody managed to enter the obfuscated psk in configuration.nix?
<nschoe>
When I use psk = ¨<obfuscated psk here>¨ and try to switch it compains about incorrect key length
<adrielus>
@niso I just rebooted my laptop and it still doesnt work
<pbogdan>
hmm, how do I put a negative number into a list?
<niso>
adrielus: strange, no other ideas sry
<thibm_>
pbogdan: use parenthesis
<pbogdan>
oh nvm, just wrap it in ()
<pbogdan>
yup, thanks thibm_
thibm_ is now known as thibm
phirsch has joined #nixos
<thibm>
adrielus: stupid question - does what you installed contains .dekstop file?
<adrielus>
what
<adrielus>
idk
<snicket>
trying to upgrade ums to 9.4.1, but I need to conditionally download a different tarball depending on whether building for x86 or x86_64 - as these tarballs contain some platform-speicfic binaries. could someone point me to a good place to use as a reference?
<phirsch>
mananamenos: FWIW, I also got the same error message with home-manager switch, using a mix of stable/unstable (error: camlp4 is not available for OCaml 4.09.1)
<thibm>
adrielus: sorry, I meant CptCaptain
adrielus has quit [Remote host closed the connection]
<CptCaptain>
thibm: Yes it does and it is registered once Gnome is restarted
jakobrs has quit [Quit: WeeChat 2.7.1]
<thibm>
OK
mallox_ has quit [Quit: Leaving]
nschoe has joined #nixos
adrielus has joined #nixos
<phirsch>
mananamenos: - and anyone else interested - full error message (expanding on '(error: camlp4 is not available for OCaml 4.09.1)') with --show-trace: https://pastebin.com/JA9fQAGn
jbrock has quit [Remote host closed the connection]
<thibm>
phirsch: isn't camlp4 deprecated? It may have been removed at some point
mallox has joined #nixos
asbachb has joined #nixos
<CptCaptain>
There is a share/applications directory somewhere in the system-path hierarchy. It seems to me that this is an issue of gnome resolving a symlink at startup and than not again.
<CptCaptain>
Could someone using Gnome confirm this for me?
<thibm>
There is no 4.09 branch on the camlp4 repo
<phirsch>
thibm: Quite possible - don't think I referenced it anywhere. Looks like some change in unstable nixpkgs triggered this...
<asbachb>
Is there a possibility to force collect garbage even if no space is left on dvice?
<thibm>
Probably just an update of Ocaml?
<thibm>
asbachb: nix-collect-garbage(1)
<thibm>
Oh, sorry
<adrielus>
ok gonna ask again
<adrielus>
im trying to setup session variables with home-manager
<adrielus>
but for some reason whatever I try the variables dont get set
<phirsch>
thibm: Possibly - without updating unstable/lib/customisation.nix accordingly, it seems.
<phirsch>
thibm: For now, I am too tired to debug - might look into it some other time. For now it's just nix-channel --rollback ;-)
snicket has quit [Remote host closed the connection]
KeiraT has quit [Remote host closed the connection]
snicket has joined #nixos
KeiraT has joined #nixos
noudle has quit []
<thibm>
I'm not sure its related to unstable/stable. I guess that just a package's dependency is broken in libguestfs-with-appliance, when switching to Ocaml 4.09 by default. You could override this to an older Ocaml version to get rid of the issue (when you want to fix it)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<asbachb>
thibm: Yeah but the problem is it won't run until some space is left.
<{^_^}>
[nixpkgs] @Mic92 merged pull request #84858 → nerdfonts: make it easier to configure and build → https://git.io/Jvpr1
<thibm>
asbachb: you could try to delete store paths yourself to make a bit of space. Or delete/move files on the same partition. I'm not aware of a Nix way to deal with that
mallox has joined #nixos
<{^_^}>
[nix] @edolstra pushed to 2.3-maintenance « Bump version »: https://git.io/Jvhfk
<aiowej>
Hi fellow nixotine addicts :). I've got a Macbook Pro Late 2013, that I don't want to waste on excessive unfree software. Previously, I've been able to make linux USB drives for Nixos with UNetbootin, but since High Sierra, it is lot starting. Are there any people here who have had success creating a Live USB drive with Nixos graphical installer, on a macbook running High Sierra? (fyi, mine is: "MacBook Pro (Retina, 13-inch, Late
<aiowej>
2013)").
<thibm>
Except if some Nix operations do not need some disk space
pbb has joined #nixos
<aiowej>
Catalina, sorry!
<aiowej>
10.15.3 (19D76)
adrielus has quit [Remote host closed the connection]
Jackneill has quit [Ping timeout: 240 seconds]
aiowej has quit [Remote host closed the connection]
<bqv>
in that scenario maybe it's better to just start again, then? you don't have any valid profiles to preserve
adrielus has quit [Remote host closed the connection]
<thibm>
asbachb: is there something else on the partition when the store resides?
<thibm>
where*
adrielus has joined #nixos
<adrielus>
sorry for asking so many times, but ive been trying to fix this for hours and still cant figure it out, but why dont my sessionVariables set with home-manager work
Jackneill has joined #nixos
<asbachb>
thibm: Not really. I guess I need to mount it on another system and free up some space.
<thibm>
This does not make sense
<thibm>
The store directory is on a file system, right?
<thibm>
What else is on this fs?
<asbachb>
yes
<thibm>
(Oh, OK. I read fs instead of system. My bad)
<NobbZ[m]>
Though I'm wondering if activating `dedup` on the store would gain me anything...
vykook has quit [Ping timeout: 258 seconds]
<gchristensen>
NobbZ[m]: do you know all the reasons you shouldn't use dedup
<gchristensen>
?
<thibm>
NobbZ[m]: It can be used to reserve space that noone can use thought
<thibm>
though*
<NobbZ[m]>
No. I wouldn't use it anyway, it already blew my system when the set in question grew beyond 15GB ;) it has only 4gig of ram
<evertedsphere>
dedup is, as far i can tell, incredibly scary even if you have the ram for it
<vika_nezrimaya>
good morning #NixOS :3 Exploring a little bit more of what flakes offer; a bit puzzled around secrets handling. E.g. a flake providing a NixOps network; I want to make it public except for secrets (e.g. an access token or a password managed as a NixOps secret). Flakes are completely self-contained and disallow using something like an import of an arbitrary path outside the flake, so how can I inject secrets into a flake without
<vika_nezrimaya>
compromising them by publishing them with the flake itself?
<evertedsphere>
srhb spooked me and i went and read up on it and spooked myself further
<NobbZ[m]>
Therefore it's more an experiment of thoughts
jgeerds has quit [Ping timeout: 250 seconds]
<vika_nezrimaya>
One possibility is to provide a function that expects a set of secrets and then injects them into the network definition, returning a complete network armed with secrets. But can Nix accept something like `nix build vika-flake#nixopsConfigurations.home --arg secrets "import ./secrets.nix"? Will I need --impure for that or not?
ashesham` has quit [Ping timeout: 265 seconds]
vykook has joined #nixos
iyzsong has quit [Ping timeout: 265 seconds]
numkem has joined #nixos
acmilanfan has quit [Remote host closed the connection]
adrielus has quit [Remote host closed the connection]
<bqv>
vika_nezrimaya: so i get around this by using git-crypet
<bqv>
*git-crypt
<bqv>
so i can have it all in git, but decrypted by a filter, and unlocked by gpg
<vika_nezrimaya>
But then you always have to have a checkout for it to work, right?
<bqv>
i only ever build it locally anyway
<bqv>
but yes
<vika_nezrimaya>
does Nix warn you about dirty tree when you use git-crypt?
<bqv>
no, because of filters
noudle has joined #nixos
<bqv>
git itself is doing the decrypting
<vika_nezrimaya>
sounds great! :3
<vika_nezrimaya>
might need to study it
<bqv>
i think quite a few people use git-crypt
<bqv>
but you can check my repo if you want an example
<vika_nezrimaya>
bqv: link please?
<bqv>
gh:bqv/nixos
<vika_nezrimaya>
thanks <3 I'll put a TODO in Org-mode
<bqv>
i need to use org-mode more
<bqv>
i need a todo-tree
<vika_nezrimaya>
If you use i3 or sway as your WM, I have some neat keybindings to call up org-capture or org-agenda from anywhere, but this is off-topic so it's better discussed in #nixos-chat
CMCDragonkai1 has quit [Ping timeout: 265 seconds]
<vika_nezrimaya>
What would it take to implement git-crypt support in nixFlakes considering that fetching flakes already uses impurities like a user's SSH keys?...
<vika_nezrimaya>
No Nixops configs yet but already lots of stuff I use
<vika_nezrimaya>
I hope I didn't leak any secret files :3
<evertedsphere>
damn is everyone moving to flakes already
<evertedsphere>
just as i figured out basic nixops :P
<bqv>
ahh, damn, i was hoping to see some cool nixops stuff
<bqv>
since i don't use it
<evertedsphere>
well, more like .envrc-based pinning + nixops
<evertedsphere>
i'm kinda ashamed of it but also happy i avoided making a submodule
<evertedsphere>
i'm afraid of git
<niksnut>
vika_nezrimaya: problem with git-crypt support is that the decrypted files would end up in the nix store...
<bqv>
you should do what i did, i've left all my old configs in a git-crypt'd directory and i'm manually vetting each file to not have secrets
<bqv>
niksnut: logically, they would anyway
<vika_nezrimaya>
niksnut: full-disk encryption to the rescue
<bqv>
how are you going to have a user password not end up in the nix store, for example
<evertedsphere>
niksnut: i kinda assumed anyone that was doing all this had / encrypted
<vika_nezrimaya>
bqv: by hashing it!
<evertedsphere>
oh god we all @'d them in turn
<vika_nezrimaya>
I have hashes of my passwords
<bqv>
ok sure but then the hash ends up in the nix store
<vika_nezrimaya>
yea but try cracking mine
<bqv>
either way you end up with *something* in the nix store, is my point
<evertedsphere>
does mkpasswd use some sort of salt
rardiol has quit [Ping timeout: 265 seconds]
<bqv>
if nix needs to see/use it, it ends up in the nix store
<vika_nezrimaya>
you'll waste so much time and electricity it would be easier to just ask me
<evertedsphere>
as in, can it just be dictionary-ed
<vika_nezrimaya>
evertedsphere: it should
<bqv>
so quibbling about whether it's git-crypted or not is useless
<evertedsphere>
if i put hashedPassword in my public config
<evertedsphere>
which seems like a spectacularly bad idea
<vika_nezrimaya>
you're safe as long as your hash function isn't total garbage
<bqv>
NTLM :D
<vika_nezrimaya>
lmao
<{^_^}>
[nixpkgs] @raboof opened pull request #84910 → Consistently use quotes in metadata 'homepage' field → https://git.io/JvhUM
ddellacosta has joined #nixos
<evertedsphere>
wow 4 characters and you took me waaaaay back suddenly
<evertedsphere>
"NTLM" is the best Proustian madeleine
<bqv>
haha
<gchristensen>
hah
<vika_nezrimaya>
bqv: I suggest to look at the /build.sh script and the activationScript set of outputs in flake.nix - these are my mini-masterpieces and I'm currently kinda proud of it
<bqv>
i'm looking at them now
<bqv>
very cool
<vika_nezrimaya>
Total replacement for nixos-rebuild AND home-manager switch
<vika_nezrimaya>
doesn't have rollbacks yet but it's planned
<evertedsphere>
so erm. how does the flake-based system setup work if it doesnt use nixops? just copy-closure and the switch-to-configuration primitives?
drakonis has joined #nixos
<evertedsphere>
wait vika_nezrimaya total replacement whaaat. that sounds amazing
<gchristensen>
there is a branch of nixops which supports flakes, I think in edolstra's repo
drakonis1 has quit [Read error: Connection reset by peer]
<vika_nezrimaya>
gchristensen: should actually be referred from my flake
<gchristensen>
eh?
<gchristensen>
cool, I didn't know that
drakonis_ has joined #nixos
<evertedsphere>
i see
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
<evertedsphere>
okay now to wait and hope that my newly undervolted laptop doesn't die when it has to compile haskell for 10 minutes
<vika_nezrimaya>
evertedsphere: nixos-rebuild is just a script that wraps ${nixosSystem}/bin/switch-to-configuration - and I use it manually here
<evertedsphere>
ah
<vika_nezrimaya>
same with ${home-manager-configuration}/activate
<evertedsphere>
(echo "i think my laptop's running at a full 10C lower at peak load" > #nixos-chat)
vykook has joined #nixos
<bqv>
vika_nezrimaya: funnily enough i went the opposite direction
<vika_nezrimaya>
completely integrate the whole flake deployment process with nixos-rebuild, right?
<evertedsphere>
aren't there cached builds for ghc-8.8.3 stuff yet?
<bqv>
originally i was using a modified version of nrdxp's script (which used switch-to-configuration directly) but i switched to something based on nixos-rebuild
<infinisil>
> ghc.name
<vika_nezrimaya>
I don't trust nixos-rebuild's flake support for some reason
<bqv>
evertedsphere: going by my current load avg, there isn't a cached build for anything...
<{^_^}>
"ghc-8.8.3"
<bqv>
vika_nezrimaya: it works :) been using it for weeks. the only thing missing is `switch --rollback`
fenedor has joined #nixos
<bqv>
which breaks unexpectedly
<bqv>
for reasons i've yet to determine
<infinisil>
> nixos-unstable.ghc.name
<{^_^}>
"ghc-8.8.3"
<infinisil>
evertedsphere: Looks like 8.8.3 is the latest default, so you should have cached stuff if you use that
<xfix>
i assume it was rewritten because an interpreter in Perl was kinda slow the bigger nixpkgs has became
<evertedsphere>
...2003? nix was *around* then?
vykook has joined #nixos
<gchristensen>
I wasn't making a joke when I said perl was a super reasonable choice in 2003 :)
<vika_nezrimaya>
I think Nix is actually older than me
<evertedsphere>
s/javascript/elm/
<etu>
evertedsphere: It was very new back then
<bqv>
simpson: :D
<etu>
Most people don't realize how old nix is
<vika_nezrimaya>
I'm born in 2001, what year Nix was born in?
<gchristensen>
2003
<simpson>
xfix: I bet that there's an explanation in the thesis, but the primary motivation I've heard for moving to C++ was reducing the size of the bootstrap footprint, since GCC was already required anyway and C++ was an acceptable compromise language. I bet that there's more history here, but I don't know where to look.
<gchristensen>
(Nix was first checked in to a source repository in March of 2003. it was Perl for roughly 1 day, and hten rewritten to C++)
bhipple has joined #nixos
<gchristensen>
check out Nix, `git log --reverse`
<xfix>
well, Perl makes experimenting easier than C++, at the very least
<bqv>
--reverse is a thing? goddamn, i've been doing some silly hack to get the first commit all this time...
<evertedsphere>
gchristensen: since you're around, something i always wanted to ask you: are there any plans to support nix on BSDs or any weird experimental microkernels (genode etc), and has anyone ever proposed making some sort of super-containerised/secure Qubes-like OS on top of nix/nixos
<bqv>
there's a freebsd effort afaik
<jtojnar>
nschoe on 19.09 xfce == 4.12, on 20.03 xfce == 4.14
<xfix>
i'm guessing that if there would be an interest, it would be done
<gchristensen>
evertedsphere: for the second part yes, qyliss, for spectrum-os.org. for the first part, people propose doing BSD support all the time. in fact, hydra used to build for FreeBSD, but then the contributors who cared stopped caring and so we got rid of it.
<evertedsphere>
huh, i see
<nschoe>
jtojnar, is nixos 20.03 out yet ?
<evertedsphere>
dhall + genode + nix be still my beating heart
<xfix>
i don't think there is anything preventing Nix from working on POSIX operating systems, but somebody would need to do some effort to make stdenv work under a given POSIX platform
jgeerds has joined #nixos
<gchristensen>
supporting an architecture is very much "scratch that itch!". make it happen. if enough users start caring about it, it'll become a well supported thing
<evertedsphere>
i have this cursed idea of using not-os for a personal system
<xfix>
Windows could be interesting, it's more complicated I assume however, as Windows is not a POSIX platform
<gchristensen>
nschoe: not yet, still beta
<evertedsphere>
and just reinstalling the whole thing from scratch when i need to change the system environment
<xfix>
even Windows Subsystem for Linux is somewhat problematic, I heard
<xfix>
mostly due to its bugs
<ehmry>
evertedsphere: yea, it needs some work before its ready, bbiab
<nschoe>
gchristensen, oh, okay thanks :)
vykook has quit [Ping timeout: 256 seconds]
<evertedsphere>
i barely understand what not-os is but i see "tiny runit-based system generated from Nix" and it sounds interesting to me
<gchristensen>
nschoe: maybe the go/no-go meeting today will declare it ready to go :)
<nschoe>
gchristensen, ah! Thing is: I have juuust (like in last night!) nuked my previous nixos install and am juuuust re-installing now. So Im wondering if I should change or not ^^
<evertedsphere>
if i could run a home-manager-based single-user setup off of a not-os install... hm, maybe a good weekend project to play with
<gchristensen>
nschoe: eh, go for 20.03
<xfix>
do whatever
<xfix>
i'm using 20.03 myself, works for me
<nschoe>
gchristensen, okay then, trusting you ^^
mallox has quit [Quit: WeeChat 2.8]
<gchristensen>
nschoe: I have gone to the beta release the day it was announced as a beta for the past 4 years. sometimes I find a couple bugs and report them, but usually it is a good experience
<nschoe>
gchristensen, awesome. Will do that then
<gchristensen>
it is hard for a NixOS update to brick a system
<gchristensen>
things have to go seriously seriously wrong
mallox has joined #nixos
<xfix>
yeah, that too, if anything goes wrong, you can always go to the previous release
<nschoe>
xfix, yes. But since I´m reinstalling from scratch and doing this right this time, I won´t know whta went wrong and if it´s related to 20.03 or not ^^
astrofog has quit [Quit: Quite]
<niso>
bqv: maybe the linux kernel will get more microkernel-like (you can extend the kernel with BPF)
<evertedsphere>
i'm quite proud of myself for coming up with a way to shorten "niv + haskell + skeleton" like that lol
<gchristensen>
right, switch-to-configuration isn't responsible for setting profiles
<bqv>
so the problem was that switch-to-configuration was just setting what the current system profile was for boot
<evertedsphere>
how does nixos-rebuild's vm option work with hardware setups
<bqv>
which if you weren't setting profile at all, could be several profiles behind
<evertedsphere>
like if i have some weird zfs setup does it make a vm with that exact partition scheme? seems unlikely
<bqv>
so i would reboot and get knocked back 20 generations
<gchristensen>
evertedsphere: no usualy it just discards your filesystem setup
<bqv>
vika_nezrimaya: presumably in your case you'll reboot and get knocked back only one generation, so might not notice?
<vika_nezrimaya>
I shouldn't get knocked back at all, but I'll try to reboot right now
vykook has quit [Ping timeout: 256 seconds]
<evertedsphere>
i would love to do something like a "build it in a vm, run some health checks on it, and if it passes we switch to it"
<miscellaneousbus>
id like to convert a program into a nixpkg. I've new to nix. It modifies Xorg config. any guess how hard itll be? https://github.com/Askannz/optimus-manager
<vika_nezrimaya>
Currently I'm running revision 1516686 - I'll be back with the reboot results
opthomasprime has joined #nixos
<evertedsphere>
for something less ambitious i'd love just a way to rebuild/deploy that autorollbacks on health check failure
<bqv>
1516686?! is that a git ref or your generation number
<evertedsphere>
i guess i could extend infinisil's setup
zaeph has quit [Ping timeout: 260 seconds]
vika_nezrimaya has quit [Remote host closed the connection]
<vika_nezrimaya>
Ok great now is the time to test `nix flake update`
<ehmry>
niso: if it loads modules then its not a microkernel
vykook has quit [Ping timeout: 265 seconds]
<evertedsphere>
so if i use niv to track nixos-unstable i should get binary caches working right
linarcx has joined #nixos
<evertedsphere>
i want the latest version that doesn't need me to build the whole world from atoms on my laptop
opthomasprime has left #nixos [#nixos]
<bqv>
why in the good heck is nix trying to build *chromium*
<srk>
evertedsphere: correct
<evertedsphere>
-funroll-frootloops
<bqv>
lmao
__monty__ has joined #nixos
<nschoe>
gchristensen, oh thanks.
<wrl>
the funnest roll loops
<evertedsphere>
tbh gentoo taught me a lot about what i did not want to do when playing with linux and that was dealing with versioning/dependency hell
zaeph1 is now known as zaeph
cruxeternus has quit [Ping timeout: 240 seconds]
<srk>
-funroll-infinite-loops
<evertedsphere>
i actually compiled kde on a chromebook
<bqv>
D:
<gchristensen>
you poor thing
<evertedsphere>
it's not even like i live in a cold part of the world
<srk>
I've used to run gentoo on Pentium 4
<{^_^}>
[nix] @edolstra pushed 0 commits to refs/tags/2.3.4: https://git.io/Jvhko
fenedor is now known as fendor
<bqv>
i think i first used gentoo on a pentium 2
<srk>
something like a week to get to Xorg
<vika_nezrimaya>
0 commits? how is this possible?
<bqv>
i ...made mistakes
<gchristensen>
niksnut: w00t
<bqv>
vika_nezrimaya: branch deleted
<bqv>
(tag)
<vika_nezrimaya>
I was on Gentoo before I hopped to NixOS. The binary cache is my savior since I don't need any more heating
<vika_nezrimaya>
in Russia our heating company heats our homes too much
<bqv>
i halved my electricity bill
* ehmry
was a gentoo convert
<bqv>
(not really, but gentoo was genuinely a bit more expensive)
<srk>
time wise :D
<bqv>
that too
<evertedsphere>
this reminds me, i might have asked this question here before but is the reason for not using -march=native when nixos compiles locally the fact that it changes hashes from what's in the caches?
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
<niso>
ehmry: my point was that the kernel might get smaller if they start outsourcing modules - thus decreasing the difference to microkernels
knupfer has joined #nixos
<clever>
niso: i think part of the point of a microkernel, is to have fewer things in ring0, and out-of-tree modules dont give you that
<__monty__>
vika_nezrimaya: Central heating still?
<evertedsphere>
clever: is there any potential at all for using not-os as a daily driver for a personal system assuming my system configuration is locked
knupfer has quit [Read error: Connection reset by peer]
knupfer1 has joined #nixos
<evertedsphere>
i guess you can't run nix on runit
knupfer1 has quit [Client Quit]
<evertedsphere>
...or can you? does someone have a branch somewhere that lets you do that
<qyliss>
why wouldn't you be able to?
knupfer has joined #nixos
<vika_nezrimaya>
evertedsphere: I think nothing prevents Nix from running with runit
<evertedsphere>
*nixos
<gchristensen>
heck, it runs under launchd
<evertedsphere>
or, well. here's the actual question
<clever>
evertedsphere: you would need to add the services you care about, or fully translate systemd->runit, like my recent docker thing
<vika_nezrimaya>
just write a runit service for EVERYTHING you use in NixOS
knupfer has quit [Client Quit]
<evertedsphere>
can i run a system that is like home-manager on not-os
knupfer1 has joined #nixos
<clever>
vika_nezrimaya: i have a half-working util to translate systemd to runit
<evertedsphere>
i realised i barely touch my system config, it's just a bunch of services + environment.systemPackages is literally [ ], so i got to wondering
<clever>
evertedsphere: the biggest thing not-os currently lacks, is xorg
<evertedsphere>
oh. oh no
mallox has quit [Ping timeout: 260 seconds]
<evertedsphere>
is there a deep problem there or just a lack of available time on your part
<clever>
evertedsphere: just never tried to port it over
<vika_nezrimaya>
clever: This thing looks kinda elegant, what does it do?
<clever>
evertedsphere: it was originally meant to be an embedded image in a server
<clever>
vika_nezrimaya: it runs a range of systemd services (grafana, prometheus, nginx, oauth_proxy, and others) under runit, inside a single docker image
<evertedsphere>
yeah i just had this wish for a really minimal system that i understand everything about
knupfer1 is now known as knupfer
<ehmry>
microkernels are a pain though because of configuration, imagine nixos modoules for each of your drivers
<clever>
ehmry: i already have nix compiling rpi firmware
<evertedsphere>
and since my setup is already almost completely declarative (it's just the partitioning that i did imperatively), i could see just reinstalling the system whenever i want as a normal thing
<evertedsphere>
perhaps /nix could be made its own thing so i dont have to redownload/rebuild things
<clever>
peelz: gclient wants to download over 30gig worth of junk to build electron, this code is supposed to download everything as seperate fetchurl/fetchzip/fetchFromGitHub calls, and then mash it all together into a single 30gig heap
<clever>
peelz: but gclient also wants to patch things as it goes, and re-run copies of itself (that havent been nixified) after it downloads them
<vika_nezrimaya>
What's a modern nix subcommand replacement for nix-instantiate?
<evertedsphere>
clever: is not-os hard-dependent on docker
<clever>
peelz: which is a nightmare to try and get nix to wrap, so i was trying to re-implement gclient in nix
<peelz>
clever: oh god...
<clever>
evertedsphere: nope, not-os can boot on qemu withotu any docker
<peelz>
clever: I'm trying to build electron 7.x and I stumbled upon that project. I've never used gclient/gn before so it's rather confusing for me...
growpotkin has joined #nixos
<evertedsphere>
and by extension on bare metal too i guess?
<clever>
evertedsphere: yeah, ive ran not-os on my rpi's before
<evertedsphere>
nice nice
<clever>
peelz: ive yet to even get nix to download electron's source in a pure manner, its a nightmare :P
<evertedsphere>
but docker is probably the best way to iterate on a not-os setup i suppose. okayi should stop dreaming up fun stuff and go back to work
<peelz>
clever: sigh. would I be better of building it in a non-nix environment? I'm trying to backport a WebRTC patch to chromium for electron 7.x. All I need is for the electron APIs to be compatible with the app I'm patching
<clever>
peelz: ive mostly just been patchelf'ing the binary builds of electron
<evertedsphere>
is there a way to force nixops deploy to use "modern" nix executables under the hood so i get the nice `nix build` output
phirsch has quit [Ping timeout: 258 seconds]
<nschoe>
In my configuration.nix, under the i3 options there is an ´extraPackages´ list which is usually populated with dmenu, i3status and i3lock. I have two questions: 1) how is it different to put them here instead of in environment.systemPackages? And 2) I want to use rofi as a launcher instead of dmenu, should I put rofi inside i3´s extraPackages or in systemPackages? thanks!
<{^_^}>
[nixpkgs] @raboof closed pull request #84910 → Consistently use quotes in metadata 'homepage' field → https://git.io/JvhUM
vykook has quit [Ping timeout: 256 seconds]
<thibm>
nschoe: you can look at the i3 module definition to figure it out
chloekek has joined #nixos
<thibm>
It's in nixos/modules/services/x11/window-managers/i3.nix
<clever>
yeah, you could mkFore the extraPackages, and undo something that was being added to systemPackages
<nschoe>
thibm, yes definitely. I just wanted to know if there was anything special done when you put a packages inside ´extraPackages´vs just putting them in systemPackages.
<nschoe>
I guess it´s a way to groups relevant packages together: so if one day I want to remove i3, I won have a trailing dmnue/rofi/whatever.
johnw has joined #nixos
<nschoe>
(Well this is my guess at how this work anyway)
<thibm>
nschoe: may be at some point it was setting $PATH for the config file… Just guessing
<thibm>
nschoe: we could add a mechanisme to tie programs to each other. Removing one removes its "dependencies"
<thibm>
Or you just group programs in your systemPackages like everyone :p
knupfer has quit [Quit: knupfer]
ebopp has quit [Ping timeout: 265 seconds]
<nschoe>
thibm, yes but I think this ´extraPackages´ thing **is** a kind of grouping, right?
knupfer has joined #nixos
<nschoe>
In this case, if I comment out the i3 section, since rofi, i3status and all will be commented and since the yare only there and not manaully in systemPackages, I guess they will be removed. I find this pretty smart.
knupfer has quit [Client Quit]
knupfer has joined #nixos
<thibm>
Yes, maybe, but it's not pervasive.
knupfer has quit [Client Quit]
knupfer has joined #nixos
vykook has joined #nixos
aranea has joined #nixos
<thibm>
nschoe: apparently, dmenu and i3status were hardcoded dependency. extraPackages was just a way to allow user to override it, while keeping them by default
<thibm>
But you can use it for your purpose, it's a good idea
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has quit [Client Quit]
knupfer has joined #nixos
alj[m] has joined #nixos
drakonis has quit [Ping timeout: 272 seconds]
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #84221 → [20.03] nixos/network-interfaces: Assert that bridges can get an address via DHCP → https://git.io/JvbWV
drakonis has joined #nixos
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JvhtI
knupfer has quit [Client Quit]
knupfer has joined #nixos
<niso>
thibm: lol - thanks again for pointing me to the type..... turns out i was missing "mkOption" for id..... :( (line 28)
<niso>
thibm++
<{^_^}>
thibm's karma got increased to 4
<alj[m]>
Hello friends, I spent the last 8 hours figuring out distributed builds, and now I see nixbld1 doing stuff on my server, but only that one user. I expected it to start more builders and use more cpu as I am far from maxed out even tho I specified my maxJobs. Does anyone have a clue how I can make my build use start more builders?
pbogdan has quit [Quit: ERC (IRC client for Emacs 26.3)]
jakobrs has joined #nixos
<jakobrs>
Can I setup a nix-shell script as a systemd service?
pbogdan has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has quit [Read error: Connection reset by peer]
<ashkitten>
jakobrs: yes, but there are better ways
drakonis_ has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
Keith[m] has quit [Ping timeout: 246 seconds]
nilsirl[m] has quit [Ping timeout: 246 seconds]
knupfer has quit [Client Quit]
nilsirl[m] has joined #nixos
Keith[m] has joined #nixos
knupfer has joined #nixos
<jakobrs>
Like?
<ashkitten>
jakobrs: for instance adding a package to systemd.services.foo.path will add it to the path for that service
phittacus has quit [Ping timeout: 246 seconds]
kai_w has quit [Remote host closed the connection]
phittacus has joined #nixos
<jakobrs>
And then I can just put the content of the script in ExecStart, basically?
kai_w has joined #nixos
<jakobrs>
Or `bash ./script.sh`
zeenk has quit [Quit: Konversation terminated!]
<ashkitten>
if it's short you can just put the script itself in the service definition
<alj[m]>
can you see my message?
<thibm>
niso: your welcome :)
<jakobrs>
Thing is, it results in duplication
<nschoe>
Hi again. I have configured (at least supposedly) i3 + xfce. Lightdm is used as display manager. I successfully logged in but I feel like Iḿ in i3 alone, no xfce. How can I check?
<{^_^}>
[nixpkgs] @Mic92 pushed commit from @OmnipotentEntity to master « treewide: Per RFC45, remove all unquoted URLs »: https://git.io/Jvhtn
<jakobrs>
Because the dependencies are written down in both the nixos config *and* path/to/shell.nix
<nschoe>
I´ve run ps aux | grep xfce but its empty. **But** I have the XFCE wallpaper image, so.. something set it
<gchristensen>
Mic92++
<{^_^}>
Mic92's karma got increased to 20
<{^_^}>
[nixpkgs] @Mic92 closed pull request #83909 → treewide: Per RFC45, remove all unquoted URLs → https://git.io/Jv5Ar
<alj[m]>
hello am i now visible?
<Mic92>
gchristensen: My biggest review ever :)
<qyliss>
alj[m]: yes
<alj[m]>
nice! ok
<qyliss>
your message a few minutes ago was also visible, fwiw
vykook has quit [Ping timeout: 256 seconds]
<alj[m]>
Hello friends, I spent the last 8 hours figuring out distributed builds, and now I see nixbld1 doing stuff on my server, but only that one user. I expected it to start more builders and use more cpu as I am far from maxed out even tho I specified my maxJobs. Does anyone have a clue how I can make my build use start more builders? (I already tried to send this but apparently i wasnt registered then or something)
linarcx has quit [Ping timeout: 258 seconds]
<ashkitten>
jakobrs: you can ofc still use "${pkgs.nix}/bin/nix-shell" in your command
<alj[m]>
ah. thats... embaressing
<Mic92>
alj[m]: do you have enough build users/build jobs?
<jakobrs>
ashkitten: Like `ExecStart="${pkgs.nix}"/bin/nix-shell shell.sh`?
<alj[m]>
@mic
<ashkitten>
jakobrs: are you writing this yourself? i assumed you were using the systemd nixos module
<jakobrs>
what do you mean?
linarcx has joined #nixos
<ashkitten>
are you writing a systemd service file directly, or are you writing this in your configuration.nix?
<jakobrs>
in configuration.nix
<alj[m]>
I havent used this client in forever, I'm sorry. Mic92 I have set the local machine to --max-jobs 0 the remote to handle 8 and on both machines I checked that the nrBuildUsers are 32
cole-h has joined #nixos
<ashkitten>
jakobrs: okay, that line you posted is not valid nix. you would want `systemd.services.foo.script = "${pkgs.nix}/bin/nix-shell path/to/shell.sh"`
kleisli_ has quit [Remote host closed the connection]
kleisli_ has joined #nixos
<jakobrs>
I ended up writing systemd.services.<servicename>.serviceConfig.ExecStart = "${pkgs.nix}/bin/nix-shell --run \"bash ./launch.sh\"";
vykook has joined #nixos
<ashkitten>
jakobrs: you should know that using nix-shell like this will have some implications like slow startup time and dependencies not being kept on a nix garbage collection
phirsch has joined #nixos
<jakobrs>
Yeah, sure
vika_nezrimaya has joined #nixos
phirsch has quit [Client Quit]
<ashkitten>
also, you don't need `serviceConfig.ExecStart`, that's what `script` is for
<jakobrs>
I could possibly just do systemd.services.<service name>.path = (import path/to/shell.nix { inherit pkgs; })).buildInputs
<ashkitten>
yes, you could
<jakobrs>
I used ExecStart because I needed to set the PWD (which I did via serviceConfig.WorkingDirectory)
evertedsphere has quit [Ping timeout: 264 seconds]
<jakobrs>
ey, it works now
Guest1 has joined #nixos
vykook has joined #nixos
rembo10 has joined #nixos
<Guest1>
Hello; something very strange has happened with my nixos install a few minutes ago and I'm wondering what the problem is. A few minutes ago, whenever I open a shell, I get the following output:
<vika_nezrimaya>
Question. Why does Nixpkgs flake's main packages output is named legacyPackages and not packages? Is there supposed to be some sort of migration in the future?
<Guest1>
Is there a nix command to do some sort of sanity check on the filesystem?
<vika_nezrimaya>
if this fails, boot up from the flash drive, it'll help - your config files are damaged, Nix may not be able to connect to the binary cache (that's why it tries to rebuild some stuff from scratch)
<clever>
ln: failed to create symbolic link '/bin/.sh.tmp': Bad message
<Guest1>
well, it actaully always built virtualbox and flightgear from soruce
<cole-h>
clever: What IRC client is that? If weechat, how?
<clever>
cole-h: irssi
<cole-h>
Figures. Weechat doesn't have those nice features :(
o1lo01ol1o has quit [Remote host closed the connection]
vykook has quit [Ping timeout: 240 seconds]
<clever>
peelz: there are 2 main routes you can go
<clever>
peelz: the simplest is the route pkgs.fetchgit does, just define the hash of $out, and run a tool in a derivation to generate $out, and if you can create a bit-identical $out each time, you win
<clever>
peelz: but, when the product is 30gig in size, it becomes a pain to re-download when one piece changes, so you want to do something more like yarn2nix, where it uses pkgs.fetchurl to fetch each piece, and puts it all together
<Guest1>
firefox profiles can be copied while the browser is running, correct?
<clever>
Guest1: i would stop the browser before copying it
<Guest1>
ok
orivej has quit [Ping timeout: 264 seconds]
<clever>
Guest1: but your better off just rebooting asap
<Guest1>
yeah, ill do that
<clever>
Guest1: the longer its running, the more likely it is to scramble things
<peelz>
clever: hmm, right. I was thinking of making a derivation for depot_tools and using that for checking out electron in an FHS, build it then patchelf the resulting binary.
<Guest1>
well, here goes nothing
Guest1 has quit [Quit: Connection closed]
vykook has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 is now known as knupfer
<peelz>
clever: does gclient have a way of checking out an exact revision with the exact same set of dependencies?
<clever>
peelz: i think so, you start from a git repo and a DEPS file, and that DEPS file says what version of things to get, recursively
<peelz>
clever: you were saying earlier something about gclient about downloading its own dependencies? should I try to run `gclient` and let it set itself up during the installPhase or something?
zeenk has quit [Quit: Konversation terminated!]
<clever>
peelz: the problem is that gclient will run post-fetch hooks in the dependencies
<clever>
peelz: and some of those post-fetch hooks, run a copy of gclient, that was shipped with that dep, and hasnt been patched yet
<peelz>
uhhhhh
<peelz>
clever: that's awfully confusing
<clever>
peelz: yeah
Guest1 has joined #nixos
<Guest1>
ok, i just ran fsck telling it yes to all
vykook has quit [Ping timeout: 264 seconds]
<Guest1>
i have rebooted and the system seems to work
<Guest1>
i am currently running nixos-rebuild switch --upgrade -j 1
<clever>
peelz: the only real solution is to patch gclient to be able re-patch more gclients after fetching but before running a post-fetch hook, so the patch spreads like a virus
<clever>
peelz: or re-write gclient in nix
ATuin has quit [Ping timeout: 258 seconds]
<Guest1>
i wonder, how reliable is zfs and btrfs compared to ext4?
<clever>
Guest1: i run zfs on all of my machines
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<Guest1>
i only use ext4 because its what im used to
<bhipple>
I've heard great reviews of ZFS, and a lot of terrible reviews of btrfs. Been thinking of switching to NixOS on ZFS myself
<clever>
bhipple: i tried btrfs on nixos a while back, i ran some hydra related stuff, and it took several hours to create 1000's of .drv files (rather slow performance) and then hard-crashed the machine
<clever>
bhipple: it then took just as many hours to delete those .drv files
<emily>
clever: pls don't mass-ping people on a channel of 2k :')
<Guest1>
lol
<nschoe>
Hey, what´s the trend as a terminal these days? I´ve been using urxvt for years. Haven bothered to check if something else has taken the heat?
<Guest1>
i will say, im pretty happy with nixos. its awesome having almost the entire system configuration in one small file
<nschoe>
(Also I´m using i3 if that helps)
<Guest1>
im using i3 too
amosbird has left #nixos ["WeeChat 2.6"]
<clever>
bhipple: but, i have since discovered that the SSD i was running on at the time, had a firmware bug
<bhipple>
nschoe: I actually migrated over from the fancier terminals back to uxterm, because it has the lowest input latency and I don't need any other features (tmux/xmonad handle it)
<nschoe>
bhipple, I´ve been wondering about st (SimpleTerminal) for a long time. Any experience with this?
<Guest1>
how do you open this menu?
<clever>
Guest1: hold control and middle-mouse to get the menu with the scrollbar option
<clever>
Guest1: ctrl+left and ctrl+right are the other 2 menus
<Guest1>
huh
<Guest1>
that is ridicoulously non-discoverable
<clever>
Guest1: press and hold control, then press and hold left/middle/right, release to activate something
<Guest1>
thats like how you have to shift+click on windows to configure a joystick
<clever>
Guest1: there is also a CLI flag to turn on a normal menu bar at the top
<xfix>
jeromelanteri: updating channel is like updating package list, it doesn't update the packages themselves, if that helps
<Guest1>
ok
<peelz>
clever: yikes... uh, well considering this is most likely a one-off, I don't really mind having a 30GB entry in my nix store. I've never used google's toolchain before so I don't have much of an idea what I'm getting into lol
<clever>
Guest1: check the man page for more
<jeromelanteri>
xfix, that help, sure. Thank you
<clever>
peelz: in my case, the problem is more that it fetched 30gig, then failed to run a post-fetch hook
<clever>
peelz: so i had to edit something, re-download 30gig, and re-fail, 10+ times in a row
<peelz>
clever: oh damn
<clever>
peelz: until it began looking simpler to re-write all of gclient in nix :P
<jeromelanteri>
an other one question... i see nix-env -id <name> to install a package name <name>, but if i add a package name inside configuration.nix file, how to, then, update from this file packages list ?
<peelz>
clever: haha... I see why you did that now
<Guest1>
i assume that `st` is less bloated than `xterm`?
<Guest1>
depending on your definition of bloat of course
<jeromelanteri>
and sure, how to get confçiguration.nix file config to happen ? do i have to run nix-install again ?
<nschoe>
Guest1, it is supposed to be yes.
<xfix>
jeromelanteri: use nix-channel --update as root, or alternatively rebuild with --upgrade flag
<nschoe>
Guest1, but configuration is done through a .h file and you need to rebuild.
<Guest1>
yes, im aware of that
<peelz>
clever: how did you generate your list of dependencies/hashes?
<Guest1>
suckelss tools tend to build very fast though
cosimone has quit [Remote host closed the connection]
<Guest1>
@jeromelanteri: just run nixos-rebuild switch
cosimone has joined #nixos
<xfix>
nixos-install is only used for installation on LiveCD, after you successfully install NixOS, you will be using nixos-rebuild
<clever>
peelz: this haskell code will parse the DEPS file, then recursively fetch everything and parse more DEPS files
o1lo01ol1o has joined #nixos
<nschoe>
Guest1, do you have experience with suckless tools?
<peelz>
clever: ahh
<jeromelanteri>
xfix, so nix-channel --update will update package list. and nix-channel --upgrade will install the configuration.nix file (from /etc/nix/configuration.nix content)
<clever>
peelz: and generate some nix code containing URLs, names, and sha256's
<clever>
peelz: and nix can reuse those smaller fetches
<xfix>
--upgrade flag of nixos-rebuild will automatically call nix-channel --update before rebuilding
<jeromelanteri>
Guest1, nixos-rebuild switch will update all from configuration.nix file ?
<Guest1>
yes
<Guest1>
when you want to upgrade the system, just run nixos-rebuild switch --upgrade
<jeromelanteri>
Guest1, good. Thank you. what does nix-channel --upgrade will do exactly then ?
<clever>
peelz: the root problem though, is not fully understanding what gclient is doing, and how to recreate it all
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage2nix: disable failing builds to fix Nixpkgs evaluation errors »: https://git.io/JvhO3
<Guest1>
jeromelanteri: it will fetch the latest derivations from nixpkgs
vykook has quit [Ping timeout: 256 seconds]
<peelz>
clever: right. Google's toolchain is a tad complex lol
<jeromelanteri>
ok, thank you
<Guest1>
jeromelanteri: think of it like running apt-get update
<Guest1>
and nixos-rebuild switch like apt-get upgrade
spacefrogg has quit [Ping timeout: 246 seconds]
<nschoe>
Guest1, yeah, same.
<xfix>
nixos-rebuild switch --upgrade combines both
zeenk has joined #nixos
spacefrogg has joined #nixos
anderslu1dstedt has joined #nixos
jared-w has quit [Ping timeout: 246 seconds]
<nschoe>
Guest1, I´m trying st then... See how it goes.
<jeromelanteri>
Guest, i'm from archlinux, i don't know to much about apt-get package manager
<peelz>
clever: does the haskell code generate all of the nix code or just the hashes attrset? I also noticed that there's a missing `gn.nix`, which I've replaced with `pkgs.gn`
<xfix>
pacman -Sy vs pacman -Su then
<xfix>
combining both is pacman -Syu
<peelz>
clever: unless you forgot to check in that file?
<Guest1>
when i first tried out linux it was lubuntu, which uses apt
<jeromelanteri>
xfix, so kind of alias with a pipe of nixos-channel --update and --upgrade... cool.
anderslundstedt has quit [Ping timeout: 260 seconds]
vykook has joined #nixos
<xfix>
this table shows Ubuntu commands, but as far Arch Linux is concerned, for reading the Ubuntu table: install is -S, update is -Sy, and upgrade is -Su
<clever>
peelz: i cant find any example outputs though
<Guest1>
ive never actaully used pacman before
<peelz>
clever: I've never done any haskell so it's a bit hard to understand haha
<clever>
peelz: line 150 will turn topLevel into nix code, and print it
<clever>
peelz: line 149 says topLevel is a function, that takes a certain set of params, and returns a let block, so `{ stuff }: let stuff`
<jeromelanteri>
xfix, very good... and i can see package list on repo avaiable, but for exemple if i want to install xfce4-14, possible to just indicate xfce4-14 in package list inside my configuration.nix file, then nixos-rebuild switch to see all dependent apps of xfce4-14 to be install ?
<clever>
peelz: 148 says what the arguments to the function are, and 147 says its going to be `let sources = stuff; in stuff`
<Guest1>
so how exactly does nix configure granular things like shell aliases? for example when i set environment.shellAliases = {};, what does nix do behind the scenes?
<xfix>
if you want to install XFCE, chances are you want to use an option for that
<peelz>
clever: those haskell bindings seem really nice to work with
<clever>
peelz: and 146 says its `let sources = stuff; in runCommand "name" { preferLocalBuild = true; } stuff`
endformationage has joined #nixos
<clever>
peelz: thats all using the hnix project, which is also trying to re-produce the full nix-build in haskell
<jeromelanteri>
xfix, ok, but do i have to write all the apps xfce4-14 would have to install or only xfce4-14 suffisant ? (with some config then)
<evanjs>
Anybody have good suggestions for constant updates for a NixOS laptop? For context, I have all my desktop systems updating every 6h... but that doesn't work so well for my laptop, which may be closed during said times
<jeromelanteri>
xfix, ho... just see your link, thank you
<evanjs>
And if it happens to be updating when I do close it, I can get it into a weird state where I need to reboot (or clean up manually) before I can properly perform further updates, etc
<peelz>
clever: damn, that's pretty sweet. What's the motivation for hnix?
zupo has joined #nixos
<clever>
peelz: not sure, heh
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage2nix: disable failing builds to fix Nixpkgs evaluation errors »: https://git.io/JvhOM
<evanjs>
clever: aside from setting up hydra and only using channels from there :P
Guest1 has quit [Quit: Connection closed]
<evanjs>
e.g. for packages that will likely be built on my end, e.g. linuxPackages_latest, openrazer (kernel drivers), nvidia, etc
cosimone has joined #nixos
Guest1 has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvhOS
<peelz>
clever: are there any other languages with nix bindings?
cosimone_ has quit [Ping timeout: 260 seconds]
<evanjs>
rnix comes to mind but idk how mature it is
<clever>
peelz: cant think of any others
<peelz>
clever: I might have to learn some haskell then haha
<{^_^}>
[nixpkgs] @maxeaubrey opened pull request #84926 → dell-command-configure: init at 4.2.0 with module → https://git.io/JvhOH
<Guest1>
so whats the proper way of running windows in qemu without corrupting my linux partition again?
<evanjs>
jD91mZM2: how does rnix compare to hnix atm?
<{^_^}>
[nixpkgs] @bhipple opened pull request #84927 → ethminer: mark as broken → https://git.io/JvhOQ
<Guest1>
technically i could also run it in virtualbox
<xfix>
evanjs: system.autoUpgrade was fixed to work correctly when disconnected from internet in 20.03, it now properly waits for internet connection to become available
vykook has quit [Ping timeout: 256 seconds]
<evanjs>
xfix: Oh.
<evanjs>
So I guess I can re-enable that on my laptop, huh?
<xfix>
if you use 20.03, yes
<Guest1>
xfix: how often does system.autoUpgrade attempt an upgrade?
<{^_^}>
[nixpkgs] @jonringer opened pull request #84928 → fluidasserts: mark broken → https://git.io/JvhO7
<xfix>
in 19.09, rebuild got stuck when disconnected from internet, and I don't think that was ever fixed
<evanjs>
"Whether to periodically upgrade NixOS to the latest version. If enabled, a systemd timer will run nixos-rebuild switch --upgrade once a day."
<xfix>
Guest1: once a day, but you can change that
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.azure-mgmt-compute: 11.1.0 -> 12.0.0 »: https://git.io/JvhOp
zeenk has quit [Quit: Konversation terminated!]
<evanjs>
That, and I don't have to change my config when things like VirtualBox/NVIDIA/OpenRazer fail with linuxPackages_latest... which is not totally uncommon
<evanjs>
xfix: right right, I guess I'll try that then. Thanks!
<evanjs>
xfix++
<{^_^}>
xfix's karma got increased to 3
<xfix>
yeah, Hydra doesn't build NVIDIA because it's proprietary, so it may break every once a while
<Guest1>
is there is nix way of specifying virtualbox machines to exist? for example, suppose i wanted to run zoom in a VM with webcam passthrough. does nix have options to configure things that granular?
<{^_^}>
#73945 (by callahad, 19 weeks ago, open): Autoupgrade fails on laptops with wi-fi
<evanjs>
Hrmmm
<evanjs>
Open?
<qyliss>
Guest1: you might be able to do that through libvirtd, but probably not with VirtualBox.
vykook has joined #nixos
<xfix>
from my experience, the problem fixed itself with 20.03
<Guest1>
ok
<xfix>
your mileage may vary
<qyliss>
Guest1: you can generate VM images with NixOS, if that helps
<evanjs>
xfix: ah gotcha. I'll give it a shot, but thanks for further clarifying there hasn't been an explicit commit for it, yet, as I try to include such details with my config commits
<qyliss>
I'm not sure where the documentation for it would be
<Guest1>
qyliss: would i need nixops for that?
<qyliss>
no
<xfix>
the problem specifically is that retry was broken for nix channel updates, now it's properly retrying HTTP requests
<evanjs>
Ohhhh gotcha alright then
<evanjs>
So many layers, it's hard to keep track of what's what at times
<peelz>
clever: so say that I wanted to run gclient2nix.hs in a nix-shell? How would I do that? I've never used haskell
slack1256 has joined #nixos
<xfix>
programming is hard
<evanjs>
xfix: does my use case of setting up hydra for stuff that takes a while to build + might sometimes fail still make sense, though? Like can I have hydra build all that it can, and have my nix machines simply take all _last succesfull_ builds from said hydra instance?
<evanjs>
Blah, if that makes sense haha
<clever>
peelz: the project already has a default.nix, try `nix-build -A gclient2nix'`
<{^_^}>
[nixpkgs] @peti pushed 12 commits to haskell-updates: https://git.io/Jvh3U
<evanjs>
I just don't want to have to check if stuff is failing and have autoUpgrade work like 100% of the time without intervention, more or less
<clever>
peelz: that should build all of the haskell code, then you can just ./result/bin/something
<xfix>
evanjs: you probably could do that
<xfix>
it's not very easy to set up, but i think it could be done in some way
<evanjs>
xfix: okay, it was more of a "does this sound reasonable/feasible" question
<evanjs>
And by not very easy, do you mean hydra in general, or the whole scenario I described?
<{^_^}>
[nixpkgs] @peti pushed 7 commits to haskell-updates: https://git.io/Jvh3L
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.gmusicapi: 12.1.1 -> 13.0.0 »: https://git.io/Jvh3r
<evanjs>
Bumping 30+ packages, though... x_x
<clever>
peelz: you can also run `nix-shell` in that dir, to get a shell with the "right" nix-universal-prefetch
<jeromelanteri>
xfce4-14 inside environnment-systemPackages = with pkgs; [ ] does works... do i have to indicate xfce4-14.* instead or write all of them one by one ?
<jeromelanteri>
does NOT works, sorry
CptCaptain has quit [Ping timeout: 256 seconds]
<peelz>
clever: how is gclient2nix (in default.nix) finding nix-universal-prefetch?
<jeromelanteri>
i want to include all packages from nix-env -qaP | grep xfce4-14
<Guest1>
jeromelanteri: you need to set another option, services.xserver.desktopManager.xfce.enable
<peelz>
clever: or are you supposed to run the shell then run nix-build?
<jeromelanteri>
Guest1, ho, just this then... good, thank you
<Guest1>
most programs that interact with other programs are installed by setting options and not from systemPackages
<clever>
peelz: i dont think it is, it only works from within that nix-shell
<evanjs>
great... more deps after bumping it...
<jeromelanteri>
Guest1, ho ok... it is this way to thinking like Functional config code then ?
<Guest1>
jeromelanteri: what do you mean?
vykook has quit [Ping timeout: 265 seconds]
<jeromelanteri>
Guest1, i mean it is imperative command through this config file.
<evanjs>
if I am bumping the version of a package in a PR, but said bump needs another dependency added to nixpkgs, do I add the other dependency in a new PR and block on that?
<jeromelanteri>
like with a kind of Haskell code...
<Guest1>
jeromelanteri: no, configuration.nix is entirely declarative
<jeromelanteri>
yes, declarative, sorry.
<Guest1>
jeromelanteri: imperative would be whatever random state is in your home directory
<jeromelanteri>
ok, i think i get it now. Thank you guys.
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.azure-core: 1.3.0 -> 1.4.0 »: https://git.io/Jvhs8
<evanjs>
Just e.g. substituteInPlace setup.py --replace 'pyroma .' "${pyroma}/bin/pyroma ."?
NightTrain has joined #nixos
<peelz>
evanjs: patch + substitute AFAIK
mallox has quit [Ping timeout: 256 seconds]
ixxie has quit [Quit: Lost terminal]
<peelz>
evanjs: unless there's just that one occurrence of "pyroma", then no need for a patch
<evanjs>
yeah, I think it might just be in the setup file. We shall see
mallox has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « darcs: don't try to build the package with ghc-8.8.x »: https://git.io/JvhsE
ixxie has joined #nixos
<pinkieval>
this is not technically a nix question; but a software I maintain assumes /bin/ls in its test suite, so it fails when run in nix. Do you think I should change the source code?
<{^_^}>
[nixpkgs] @edolstra pushed 4 commits to release-20.03: https://git.io/Jvhsg
<pinkieval>
it also assumes /bin exists at all
<bhipple>
pinkieval: yes, just make it use ls from $PATH, would probably be much cleaner not just for Nix
<evanjs>
"pytest.importorskip() doesn't work when we don't use pytest to run tests" :D
<evanjs>
checkPhase = '' py.test ''; seems to run the tests fine
<evanjs>
okay, so, new dep in nixpkgs: do I need to make a new PR for adding this to nixpkgs? Or can it be included as a separate commit to my PR? (#77714)
<bhipple>
evanjs: either works, but it's often nice to get the dependency reviewed/merge/added first, as others might need it while you continue to work on your PR (and it's nice to avoid making the PR too huge)
<evanjs>
bhipple: yeah, I figured as much. I'll add a new PR and block on that, but run nix-review or etc with the change in the meantine
Darkmatter66 has quit [Read error: Connection reset by peer]
Darkmatter66 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
jbrock has quit [Quit: jbrock]
jbrock has joined #nixos
jbrock has quit [Client Quit]
jbrock has joined #nixos
<vika_nezrimaya>
/ as tmpfs with /nix and /var being on separate partitions, kinda like Android before Android P with system-as-root... This sounds like a great idea on paper
<Guest1>
its nice that we have 2**10+3 people here
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.pid: 3.0.0 -> 3.0.3 »: https://git.io/JvhGK
<clever>
vika_nezrimaya: `nixos-rebuild build-vm` and the ISO's basically boot just like that
bqv has quit [Ping timeout: 265 seconds]
<vika_nezrimaya>
Can I set / in fileSystems as tmpfs and make my laptop boot like that? (assuming /nix on separate partition)
<vika_nezrimaya>
or is it a bit more complex?
<evanjs>
gr... what's the typical fix for apps not having their icons in hicolor? (or whatever I'm trying to say lol). Adding hicolor-icons to buildInputs? I feel like it might just be a problem with how the expression is written
<clever>
vika_nezrimaya: yeah, that should boot just fine
<evanjs>
texstudio isn't appearing in hicolor icons in this case
<evanjs>
crashes taffybar
<clever>
vika_nezrimaya: technically, all nixos needs to boot is /nix, but you will need /boot mounted to update the config, and the rest is more what you want to have persist
<vika_nezrimaya>
basically /var and /home
<vika_nezrimaya>
even /home can be mounted from a networked storage - this means the laptop won't be able to work offline and it may create trouble with home-manager stuff
<vika_nezrimaya>
I'll probably need to make some clever links then
bqv has joined #nixos
<clever>
vika_nezrimaya: note that if you have any result symlinks in NFS, and you run a garbage collection when it isnt mounted, the things they point to will get deleted
<vika_nezrimaya>
and /var... is there a lot of data in /var that really needs to be persisted on a non-server machine?
<{^_^}>
[nixpkgs] @doronbehar opened pull request #84935 → python.pkgs.sane: init at 2.8.2 → https://git.io/JvhGS
<clever>
vika_nezrimaya: about the only thing of importance i can think of is the uid map (or define all uid's in configuration.nix) and the journals
<vika_nezrimaya>
clever: which is why home-manager always infects /nix/var/nix/profiles/per-user/$USER/ with itself
<vika_nezrimaya>
clever: networked journaling?
<clever>
vika_nezrimaya: that can work, as long as its not a network error causing the failure you want to debug
<vika_nezrimaya>
lol
<clever>
Apr 06 04:50:45 router kernel: e1000 0000:04:02.1 enp4s2f1: Detected Tx Unit Hang
<clever>
vika_nezrimaya: have fun with problems like this :P
<vika_nezrimaya>
in which case I'll probably be dropped to a recovery console in the tmpfs
ggpeti[m] is now known as ggpetiOld[m]
ggpeti[m] has joined #nixos
slack1256 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.jwcrypto: 0.6.0 -> 0.7 »: https://git.io/JvhZe
<vika_nezrimaya>
Guest1: home-manager is NixOS for your ~/.config
<vika_nezrimaya>
well kinda
cjpbirkbeck has joined #nixos
<Guest1>
ok
<clever>
i think the main value of home-manager is to update stuff in your user, seperately from nixos
<vika_nezrimaya>
It can install programs into your user profile using Nix, it can manage your config files and even configure your window manager for you
<{^_^}>
[nixpkgs] @rnhmjoj pushed commit from @JoshuaFern to release-20.03 « citra: 2019-10-05 -> 2020-03-21 »: https://git.io/JvhZJ
<vika_nezrimaya>
clever: lol my flake makes me update both in lockstep
<clever>
for example, you may find yourself unable to nixos-rebuild a simple 1 line config change, because virtualbox needs 2 hours to compile
<clever>
vika_nezrimaya: then why even do it? :P
<vika_nezrimaya>
~/.config management
<vika_nezrimaya>
also it downloads my wallpaper
<pie_[bnc]>
wish we had something to deal with this <clever> for example, you may find yourself unable to nixos-rebuild a simple 1 line config change, because virtualbox needs 2 hours to compile
jbrock has quit [Quit: jbrock]
<pie_[bnc]>
consider: have the nix config generate a wrapper that builds it the first time you call it
jbrock has joined #nixos
<pie_[bnc]>
otoh...that doesnt work does it because kernel modules
<vika_nezrimaya>
modprobe
<pie_[bnc]>
so it would have to be more complicated
<vika_nezrimaya>
this pins the derivation but doesn't build the package itself until runtime. Please note that the build result WILL BE garbage-collected.
<Guest1>
does anyone else here use waybar? i keep getting "missing require resource files" even though a config file is present in ~/.config/waybar/config
<Guest1>
required*
<vika_nezrimaya>
do you have css?
<vika_nezrimaya>
in the same folder
<Guest1>
no, just the config file
<cole-h>
You need a css lol
<Guest1>
there we go
<Guest1>
unicode characters aren't showing properly though
<pie_[bnc]>
vika_nezrimaya: that wont get you the kernel module set up automatically though ;p
<pie_[bnc]>
also why are you building the drvpath instead of just the package directly?
<vika_nezrimaya>
This is the magic trick
<vika_nezrimaya>
drvPath is the .drv file, it's easy to produce
<vika_nezrimaya>
and it can reconstruct the whole package
<pie_[bnc]>
I dont follow
<vika_nezrimaya>
I'm deferring the realization of the package
<glittershark>
I have this crazy idea I can't shake of making machine learning models nix derivations
* pie_[bnc]
hasnt touched flakes at all yet
<glittershark>
has anyone else looked into that at all?
<pie_[bnc]>
wow so many new usernames in here
<vika_nezrimaya>
this is a simple flake that takes nixpkgs as an input and produces an output called "test" that runs steam lazily
<ixxie>
glittershark: cool idea!
<pie_[bnc]>
or at least ones i havent seeen ye-WHAO WHEN DID WE TOP 1000 PEOPLE IN THE CHAN
<vika_nezrimaya>
nix build $FLAKE#test
<vika_nezrimaya>
then result/bin/steam
<vika_nezrimaya>
BOOM
<glittershark>
there are some obvious downsides with machine learning in nix
<ixxie>
glittershark: so you can version the model much the same way nixos generations are
<pie_[bnc]>
glittershark: what do you mean machine learning models as nix derivations
<vika_nezrimaya>
like no randomization?
<glittershark>
the big one is that datasets tend to be large enough that hashing them is probably impractical
<glittershark>
I mean like, the training of the model is the builder of a derivation
<glittershark>
and the output is the model weights
<ixxie>
training is effectively a build process
<glittershark>
exactly
<ixxie>
input = model + data
<ixxie>
model here meaning the code
<glittershark>
this idea has been stuck in my head for more than a year at this point
<ixxie>
model is an overloaded term in ML, it can mean both the code and the build output
<vika_nezrimaya>
output = an AI that finds cuties in chat
<glittershark>
I mean in the python world you generally ship models as pickle files
<glittershark>
<vika_nezrimaya>
already trained and ready to test
<glittershark>
which contain both the code and the weights
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<pie_[bnc]>
doesnt sound problematic if you can run all your cuda whatever in the build sandbox
<glittershark>
exactly
<glittershark>
<glittershark>
but like
aw has joined #nixos
<glittershark>
for example I have one model where the training dataset is 500TB
<glittershark>
lol
<pie_[bnc]>
i heard of someone else doing their pdf processing in the builder
<glittershark>
"dumping large path (more than 256MB), this may run out of memory"
<ixxie>
I think the difficulty here is more that typically Nix is designed to build code... and data is normally stored in different places
<vika_nezrimaya>
500TB in nix store? that's not a problem, that's a CHALLENGE >:3
<glittershark>
yeah like
<pie_[bnc]>
after that i ended up just using nix as a runner thingy
spacefrogg has joined #nixos
<glittershark>
honestly this isn't a technically insurmoutable problem
<pie_[bnc]>
that gave parallelism and sandboxing
<pie_[bnc]>
i kind of overcomplicated it but it was coolwhen it worked imo
<glittershark>
like... even remote builds in nix seem like a perfect use case for ML
<pie_[bnc]>
glittershark: looool
<pie_[bnc]>
@ 500TB
<vika_nezrimaya>
If you can split your dataset into separate chunks, it'll become a little bit easier
<pie_[bnc]>
wait
<glittershark>
where you want to have distributed execution of machine learning
<pie_[bnc]>
500TB? do you work for google or something
<ixxie>
glittershark: indeed... its just about figuring out the porcelain here...
<pie_[bnc]>
yeah nix isnt exactly IO optimized
<glittershark>
pie_[bnc]: no but 500TB isn't unheard of for large-scale image recognition
<pie_[bnc]>
aha
acarrico has joined #nixos
<ixxie>
ML models are data hogs
<glittershark>
yeah
<glittershark>
<glittershark>
like...
<glittershark>
I want to make nix work for ML
<vika_nezrimaya>
how about chunks around 256M each? can your dataset then guzzle up data from several chunks sequentially?
<glittershark>
but I think it'd require a significant reworking
<pie_[bnc]>
glittershark: might want to talk to tbenst[m] btw
<glittershark>
yeah I have the suspicion that this'd require recursive nix
<ixxie>
well the models are typically single binaries afaik
<glittershark>
where you have a nix builder to chunk up the data and shove it in the nix store
<glittershark>
yeah the problem isn't the model, the problem is the training set
<vika_nezrimaya>
then you just import the chunks into /nix/store, create a derivation that gathers paths for all the chunks and then trains the model sequentially on every chunk
<glittershark>
ooh I hadn't heard about that, thanks
<{^_^}>
[nixos-search] @garbas pushed 0 commits to netlify: https://git.io/JvhZh
<Keith[m]>
I'm trying to make a wrapper around stdenv.mkDerivation specifically for compiling forks of dolphin-emu. The wrapper has about 30 dependencies. Is there a good way to not have to add all those dependencies to every derivation that uses it without making the wrapper import nixpkgs?
<pie_[bnc]>
not sure if its anytihng fancy but i think you have similar interests so i thought id bring itup
acarrico1 has quit [Ping timeout: 265 seconds]
<glittershark>
yeah so I currently have a team of data scientists + ML engineers who use nix in their main workflow every day
<pie_[bnc]>
im not sure you *have* to put the 500TB in the store
<pie_[bnc]>
maybe you can do something where its just a pointer
<glittershark>
but that's just for managing dependencies of jupyter notebooks
<ixxie>
glittershark: neat! which company?
<pie_[bnc]>
it remains a question how to mount it in the builder
<vika_nezrimaya>
pie_[bnc]: Nope, not reproducible then
<pie_[bnc]>
vika_nezrimaya: just because its not in the store doesnt mean it cant be immutable
<glittershark>
I mean you could fake reproducibility by saying "here's the hash of this data, I promise it won't change"
<glittershark>
<pie_[bnc]>
then again
<vika_nezrimaya>
it has eventually to be in the store for it to be accessible to the builder
<glittershark>
not reproducible enough to hold up in a court but reproducible enough to get by probably
<pie_[bnc]>
i really dont see why this cant be in the store
<glittershark>
well you'd probably have to build without sandboxing
<pie_[bnc]>
its probably possible to avoid copying it
<pie_[bnc]>
i dont know enough internals
<glittershark>
I wonder if it'd be feasible to build something into nix to read something out of a remote store without directly substituting it
<pie_[bnc]>
youd need (?) the sqlite database to be synced up and you could maybe just mount the dataset in or something
<glittershark>
yeah like a fuse mount
<glittershark>
kinda thing
<pie_[bnc]>
glittershark: that sounds like something that might exist already
<pie_[bnc]>
also i think you can specify other store paths but i dont know if thats in any way actually usable for anything
<glittershark>
again, this feels like something that needs recursive nix
<glittershark>
wanna play around with that POC branch eelco has
<pie_[bnc]>
consider the possibility that it might not be needed
<psiperator[m]>
How do i get a NixOS system to detect/register .desktop files for packages in my user configuration (~/.config/nixpkgs/config.nix)?
lsix has quit [Quit: WeeChat 2.7.1]
<pie_[bnc]>
maybe it is but what if its not
<glittershark>
so like
<glittershark>
take for example
<glittershark>
a GIS dataset
<glittershark>
like a big old pile of geotiff rasters
<vika_nezrimaya>
psiperator[m]: home-manager does that with a bit of environment variables AFAIK
<glittershark>
if those are in the nix store *directly*, I don't know which file I'm looking for without being able to query the nix store directly, right
<glittershark>
like I feel like what I need is a GIN index *into* the nix store
<pie_[bnc]>
glittershark: dunno?
<glittershark>
like uh
<glittershark>
<pie_[bnc]>
normally you point at whatever and nix deduplicates into the same store object
<glittershark>
right
<glittershark>
<glittershark>
I mean like
<pie_[bnc]>
(not even sure how that works actually)
<glittershark>
without explicitly passing in a full map from lat/lon to raster file as the environment
<glittershark>
which would blow up the env var limits
<glittershark>
and potentially OOM
<psiperator[m]>
<vika_nezrimaya "psiperator: home-manager does th"> Thanks, ive put off using home manager so i guess this is an excuse to check it out. I assume theres no easier way where i just declare a pathsToLink or something?
LRB has joined #nixos
<pie_[bnc]>
well im pretty sure we've established we dont want to be copying anything around anywhere xD
<glittershark>
what I feel like I need is an index from lat/lon to raster file
<glittershark>
yeah also that :P
<vika_nezrimaya>
psiperator[m]: For me if it's in ~/.nix-profile/share/applications it somehow shows up
<glittershark>
where "raster file" is a nix store path
<pie_[bnc]>
vika_nezrimaya: psiperator[m]: idk but nixos does some stuff with the XDG variables, so something might be happening through that
<glittershark>
*shrug* anyway, if anyone has any thoughts about this get at me
<pie_[bnc]>
glittershark: well, you could build a database while importing stuff into the store i think?
LRB has quit [Client Quit]
<pie_[bnc]>
if nothing else you can run a script that imports everytihng into the store manually, adds (a?) GC roots, and creates some kind of database
<pie_[bnc]>
(well ideally the other stuff would be dependencies of the database instead of random gc roots i guess)
<pie_[bnc]>
then you import the database into whatever needs it
<pie_[bnc]>
im justcluelessly handwaving here
<zeta_0>
does anyone here know how to use the M-x nix-shell command in emacs, the prompt asks for a nix-attr, what does that mean, i'm not sure what to fill in?
<pie_[bnc]>
like, if the big data is immutable, its worst case one copy. i dont know about nix's performance characteristics over networked storage (i imagine you dont have 500TB on one machine)
<pie_[bnc]>
but once everything is built its just normal linux binaries with weird env vars and paths
<{^_^}>
[nixpkgs] @doronbehar opened pull request #84938 → gjo: init at 1.0.2 → https://git.io/JvhnZ
<ixxie>
I'm having trouble with minecraft... I run nixos-unstable and the build fails with a 404 on fetching version 2.1.5965 but this is weird because it seems 2.1.13509 the version on the nixos-unstable branch on nixpkgs
<pie_[bnc]>
zeta_0: looks for examples, check the source code, attr sounds like attribute so its probably just something like nixpkgs.hello or whatever
<pie_[bnc]>
zeta_0: also considering that its the nix-shell command, its probably an argument that nix shell takes. if you check the source you might see something like -A, which would make sense for consuming an attribute
oranginal has joined #nixos
<pie_[bnc]>
zeta_0: i have no idea, im just guessing here based off what i know
<pie_[bnc]>
ixxie: are you looking at the repository? im not sure if that matches up with whats actually on the channels
<pie_[bnc]>
ixxie: theres a link but idk off the top of my head, for checking how far channels have advanced
<energizer>
zeta_0: i just use lorri with emacs-direnv
<ixxie>
pie_[bnc]: yeah I am looking at the repo
<pie_[bnc]>
,help
<{^_^}>
Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<ixxie>
pie_[bnc]: but checking the branch corresponding to the channel I use (which I assumed would show the correct commit)
drakonis has quit [Read error: Connection reset by peer]
<ixxie>
anyway, I just need to override the version in the package... how do I do that?
<pie_[bnc]>
glittershark: you might also just run into someone who has a much better idea of things than i do and acutually get some answers :P
arjen-jonathan has quit [Ping timeout: 246 seconds]
drakonis has joined #nixos
<pie_[bnc]>
ixxie: global config or just one-off?
<{^_^}>
[nixpkgs] @doronbehar opened pull request #84939 → gnome3.ocrfeeder: init at 0.8.3 → https://git.io/Jvhnu
<ixxie>
pie_[bnc]: in the global config but for the one package
<pie_[bnc]>
ixxie: also i think nixpkgs-ustable is newer, but this is dangerous to use for system stuff because i think it doesnt go through CI or something
<pie_[bnc]>
or maybe just doesnt have bootability checks
<ixxie>
pie_[bnc]: yeah don't wanna do that
<pie_[bnc]>
i never really looked into it because i didnt need to
<pie_[bnc]>
but for minecraft it should be fine
<pie_[bnc]>
or you can just override the jar url or whataever it is that minecraft takes, sure
<pie_[bnc]>
.overrideAttrs is probably what you want in that case
ATuin has quit [Ping timeout: 256 seconds]
<ixxie>
pie_[bnc]: do you have an example of how to call that in a config?
<zeta_0>
pie_[bnc] energizer : thanks for the tips, i'll try that stuff out, the emacs pkgs for nix don't have documentation on using nix-shell in emacs, so i'm trying to understand the src code to figure it out
<energizer>
zeta_0: i'm saying i don't use nix-shell in emacs, i use lorri+direnv instead
<glittershark>
<glittershark>
lorri++
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<pie_[bnc]>
ixxie: how familiar are you with functional languages? https://en.wikipedia.org/wiki/Referential_transparency "In languages with no side-effects, like Haskell, we can substitute equals for equals: i.e. if x=y then f(x) = f(y)"
<pie_[bnc]>
ixxie: so if `minecraft` is a derivation, and `minecraft.overrideAttrs whatever` also returns a derivation, you can just substitute it
qrnteen has quit [Remote host closed the connection]
<pie_[bnc]>
basically just stick a derivation typed thing in the same place
<ixxie>
glittershark: so you manage all your data science environments in Nix without using anything like venvs?
<pie_[bnc]>
and then you need to pass the appropriate arguments in place of whatever
OrangeTetra has joined #nixos
<pie_[bnc]>
glittershark: do you guys use R?
<pie_[bnc]>
glittershark: do you use the R packages infrastructure?
<ixxie>
pie_[bnc]: not too familiar with them except Nix but I feel like it never quite completely clicked for me tbh
<pie_[bnc]>
ixxie: no big deal, if you spend time with it itll begin to make more sense
<Guest1>
well, thanks for the help everyone
Guest1 has quit [Quit: Connection closed]
<ixxie>
thanks pie_[bnc]++ :)
<{^_^}>
pie_[bnc]'s karma got increased to 2
<pie_[bnc]>
it took me a long time to get bootstrapped till i managed to start doing things by myself
<pie_[bnc]>
i still just hope people have the patience to deal with me ;p
<zeta_0>
energizer: will lorri+direnv use my user pkgs? i'm trying to figure out how to use nix-shell in emacs, because i need an isolated environment
oranginal has quit [Ping timeout: 265 seconds]
<pie_[bnc]>
but yeah in a pure language with referential transparency, equality really means equality, which means you can just substitute whichever side of the equals sign and get the same thing
<energizer>
zeta_0: lorri+direnv will use the packages defined in your project environment
knupfer has quit [Client Quit]
knupfer has joined #nixos
<pie_[bnc]>
(well equality in a certain sense, because different kinds of equality exist, but nevermind)
knupfer has quit [Client Quit]
knupfer has joined #nixos
glitters` has joined #nixos
<pie_[bnc]>
ixxie: so you can probably find some examples, but what youre interested in is going to be the src parameter, and you should probably look at how the minecraft package is defined
<pie_[bnc]>
ixxie: have you ever used overrideDerivation?
<{^_^}>
[nixpkgs] @symphorien opened pull request #84940 → roundcube: use pspell for spellchecking → https://git.io/Jvhny
knupfer has quit [Client Quit]
<pie_[bnc]>
it just takes the same arguments as mkderivation
knupfer has joined #nixos
glittershark has quit [Ping timeout: 260 seconds]
knupfer has quit [Client Quit]
<pie_[bnc]>
ixxie: its also probably worth prototyping your expression with nix-build before adding it to your system
<pie_[bnc]>
its a bit faster
knupfer has joined #nixos
<{^_^}>
[nixpkgs] @romildo opened pull request #84941 → qtemu: init at 2.1 → https://git.io/JvhnS
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
ambroisie has quit [Ping timeout: 265 seconds]
<zeta_0>
energizer: so will that setup use cabal2nix to translate the .cabal file to nix? i use developPackage(it uses callCabal2nix) in my default.nix file to automate that for me
jbrock has quit [Quit: jbrock]
morgrimm has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
srl295 has quit [Quit: Connection closed for inactivity]
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
<energizer>
zeta_0: write a shell.nix that imports your default.nix and does mkShell{buildInputs=[yourpackage];}, then lorri will behave like nix-shell
knupfer has joined #nixos
ggpeti1[m] has left #nixos ["User left"]
knupfer has quit [Client Quit]
<zeta_0>
energizer: thanks, i'll try that out
<zeta_0>
energizer++
<{^_^}>
energizer's karma got increased to 3
knupfer has joined #nixos
knupfer has quit [Client Quit]
<zeta_0>
also, is stack2nix broken in nixos 19.09 ? i need to use that tool
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
OrangeTetra has quit [Quit: Leaving]
knupfer has quit [Client Quit]
knupfer has joined #nixos
opticnerve has quit [Ping timeout: 260 seconds]
<zeta_0>
will stack2nix work on the new nixos stable 21.03 version ?
<zeta_0>
i tried to install the unstable version of stack2nix, but that's broken as well
esemds has quit [Quit: Connection closed for inactivity]
Naptra has quit [Remote host closed the connection]
<energizer>
it would be helpful to have a table or flowchart about when to use all the different overrideFoo functions, and all the different FooBuildInputs=
Baughn has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @woffs opened pull request #84944 → pingus: move cmake to nativeBuildInputs → https://git.io/Jvhca
drakonis has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #84268 → python3Packages.nose2: 0.9.1 -> 0.9.2 and fix build for ZHF → https://git.io/JvbQm
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvhcN
__monty__ has quit [Quit: leaving]
erasmas has quit [Quit: leaving]
dongcarl has quit [Ping timeout: 260 seconds]
dermetfan has joined #nixos
<zeta_0>
nevermind, there's another cachix link at towards the bottom of the repository, they need to fix those broken links
noudle has quit []
<thibm>
I assume there is no way to prioritize dependency evaluation order?
ambroisie has joined #nixos
jbrock has joined #nixos
<thibm>
A derivation depends on a list of derivations. I would like one of them to be built before the others
<energizer>
curious why do you want one of them built before the others?
<thibm>
Why? Because each of them takes hours to build, and I'll see tomorrow how far it went.
<ixxie>
would `sudo nix-collect-garbage --delete-older-than 14d` remove all generations of nixos older than two weeks?
jbrock has quit [Client Quit]
<simpson>
thibm: You can take the one that you want built, and directly build that one. It sounds like this is more about how to ask Nix to do that?
jbrock has joined #nixos
<simpson>
thibm: If you can get your attrset into nix-repl, for example, then `:b` can build just the given derivation, and not the entire attrset.
<thibm>
If it builds like 50% of the derivations, I change the "main" one to depend only on those 50%, so I get my result I want only of those 50%
<thibm>
simpson: yes I can just do it myself
<{^_^}>
[nixpkgs] @drewrisinger opened pull request #84945 → [WIP][HELP NEEDED PyPi Wheel or Rust in Python]: python3Packages.retworkx: init at 0.3.3 → https://git.io/JvhCT
<thibm>
I may be trying to put to much work on Nix's shoulders
<thibm>
(Just wanted to nix-build the damn thing before going to bed)
zeta_0 has quit [Quit: rebuilding]
<thibm>
I used to use parallel to build this kind of stuff, but nix `max-jobs' is good for that.
<simpson>
thibm: Well, like, suppose you have derivations X and Y, with Y depending on X. If you attempt to build X, and then attempt to build Y regardless of the first build's status, then you'll get the effect that you want.
<thibm>
Since here max-jobs=1 I'll just build them one after one
dermetfan has quit [Ping timeout: 260 seconds]
<thibm>
I have derivation Y that depends on [ X1 X2 X3 X4 ]
fendor has quit [Read error: Connection reset by peer]
<thibm>
I may be fine with only half of the dependencies, but I prefer to have X1 X2 over X3 X4.
<thibm>
I'll just build them sequentially in a shell script
<simpson>
Sure. I don't think that there's a good long-term solution, though, other than to just not have such a cold cache.
<energizer>
or just write a derivation that depends on the things you want
<thibm>
In fact, it seems (really, seems) that Nix build derivation in their name's lexicographic orders. It has to choose an order (even random). All my derivations have the same name except the last few characters
<thibm>
I added a "0" before those character for the derivation that I really want, and it does the trick
<energizer>
haha
<thibm>
It's probably not reliable, but it's a one-time thing
<infinisil>
thibm: If you see the logs "Building derivations bla bla bla", you can copy the .drv path you want and run `nix-store -r /nix/store/....drv` to build that one exclusively
<thibm>
(To give more context, each derivation try to do something at X frequency. The main derivation gathers result and extracts the best one. So it's fine to keep 50% of dependency)
alexherbo2 has quit [Ping timeout: 240 seconds]
drakonis has quit [Read error: Connection reset by peer]
<thibm>
infinisil: the thing is that I don't want to build only this one. I want it to do the maximum until tomorrow morning :>
<thibm>
But with priority on 1 or 2 of them
<simpson>
I don't know enough, but IMO I would consider choosing something like GNU Parallel for this, rather than Nix, if you have a really flat dependency graph and you want to have fine-grained control over a massively-parallel "build" not-really-a-build process.
drakonis_ has joined #nixos
<simpson>
(Again, in the long term.)
<thibm>
Yes I used to use GNU Parallel
drakonis2 has joined #nixos
<infinisil>
I think recursive Nix is a thing since recently
<infinisil>
So you could potentially use Nix within a derivation
<thibm>
But Nix is better :p. Normally, you really don't care about the build order. It's a corner case. I change Nix's max-jobs option according to how jobs will use the server's ressource, to not get them killed. And Nix build them in parallel
<infinisil>
To handle more complicated flows
<bqv>
oh yeah, i enabled that as an experimental feature but i've yet to have a play with it
<bqv>
is anyone using it anywhere?
gustavderdrache has quit [Quit: Leaving.]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<thibm>
What the recent news about recursive Nix?
<thibm>
(I missed a big parts of last month's Nix news)
<thibm>
I was really a guess like: launch the thing 3 times, kill it 3 times, noticing that it's starting with the lowest frequency (in the name) derivation
<thibm>
The "b$" trick
CptCaptain has quit [Ping timeout: 256 seconds]
<hoplaahei>
hi. How can I run a system-wide auto-start script using sddm? services.xserver.displayManager.sessionCommands doesn't seem to work.
drakonis has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Thra11 has quit [Quit: WeeChat 2.7.1]
drakonis2 has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
o1lo01ol1o has joined #nixos
<peelz>
is there a stable interface for `nix eval`?
thibm has quit [Quit: WeeChat 2.6]
zeta_0 has joined #nixos
<infinisil>
peelz: nix-instantiate --eval
<peelz>
infinisil++ thanks :P
<{^_^}>
infinisil's karma got increased to 253
drakonis has quit [Ping timeout: 256 seconds]
<infinisil>
:)
chloekek has joined #nixos
pbogdan has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
xO1 has quit [Ping timeout: 240 seconds]
<zeta_0>
i went into a nix-shell using the haskell.nix tool and it worked, it automatically translated stack into nix, nice
cosimone has quit [Quit: Quit.]
snicket has quit [Ping timeout: 240 seconds]
pbb has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
pbb has quit [Excess Flood]
pbb has joined #nixos
jbrock has quit [Quit: jbrock]
<{^_^}>
[nixpkgs] @bqv opened pull request #84946 → nixos/nftables: fix typo in ruleset example → https://git.io/JvhWr
jbrock has joined #nixos
mananamenos has joined #nixos
<bqv>
^ if anyone's bored, that doesn't involve any changes to any derivations or module code
eoli3n__ has quit [Ping timeout: 256 seconds]
jbrock has quit [Client Quit]
<mananamenos>
hi, this line `virtualisation.virtualbox.host.enable = true;` with nixos-unstable channel now. Can i wrap into some expression to install from stable channel? For systems packages i do `let stable = import <stable> { config.allowUnfree = true; }; in with pgks; [..., stable.git ]`.
jbrock has joined #nixos
drakonis has joined #nixos
<mananamenos>
for the packages that do not build with unstable channel.
<{^_^}>
[nixpkgs] @dasJ opened pull request #84951 → samba: Fix path to krb5kdc → https://git.io/Jvhl5
<{^_^}>
[nixpkgs] @danielfullmer opened pull request #84952 → zoneminder: fix evaluation with new php refactor → https://git.io/JvhlF
<bqv>
hey, question, if i start building a system, but it doesn't finish, and i take a break to sleep, and in between my auto gc runs, it's gonna purge all the progress on that system, isn't it
LysergicDreams has quit [Ping timeout: 240 seconds]
LysergicDreams has joined #nixos
ixxie has joined #nixos
<citrinitas>
Is this a good place to ask about nodePackages / node2nix ?
shibboleth has quit [Quit: shibboleth]
<zeta_0>
could someone paste a link that has the documentation for withHoogle? i can't seem to get it working in my default.nix(line: 27): https://dpaste.org/HUzx
justanotheruser has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
marsh has quit [Ping timeout: 256 seconds]
marsh has joined #nixos
cr4y1_ has quit [Ping timeout: 250 seconds]
<Orbstheorem>
`nix-shell '<nixpkgs>' -A pkgsCross.armv7l-hf-multiplatform.linux` is awesome :)
* Orbstheorem
remembers the pains of cross compiling years ago
* Orbstheorem
is happy
<infinisil>
I can't imagine how this kind of thing would be done without Nix