<yaymukund>
It looks like if I use neovim's opt = [ ... ] option, it does not detect the filetype. Is that expected behavior? Do I have to add `AutoCmd... set filetype=...` manually?
supersandro2000 has quit [Disconnected by services]
<simpson>
pie_: Redirect from #idris. So, is there a way to take an expression in `idrisPackages` and make it instead take a (hypothetical?) `idris2Packages`?
<samueldr>
pie_: for my initial use case, which I don't use anymore, it worked splendidly
<pie_>
I dont suppose you want to upstream a simple usbip.enable module :p
<pie_>
meanwhile i updated my unstable channel and i cant rebuild switch my system because some things fail to build >:I
* pie_
mumbles something about pinning
<supersandro2000>
pie_: which things exactly?
<pie_>
something about mumble failing to rebuild because QT
<pie_>
samueldr: Im openOCDing a device over a usb thingy, so im hoping to plug it into a more static machine somewhere and use it over the network, so that i dont have to deal with stuff dangling from my laptop
Qwerky has quit [Remote host closed the connection]
<Reventlov>
Hey there.
Qwerky has joined #nixos
<Reventlov>
I have a nix-shell that fails on a "proot" installation: https://0x0.st/-N-H.txt
<Reventlov>
any idea what could cause this ?
<aforemny>
In a build, `gcc -o foo *.o *.a -ltls` fails with `ld: cannot find -ltls`. I have libressl in `buildInputs` and see running `gcc -v` that is uses `-L${libressl}/lib` and that the file libtls.so is there. What could still cause that error?
<__monty__>
matthewcroughan_: I know joepie91 has talked about yarn before, not sure whether it necessarily involved nix but you could try reaching out if/when they join the channel.
<__monty__>
Or try sending a polite query : )
<__monty__>
Orbstheorem: Hmm, that shouldn't cause problems unless your ~ is on a partition that doesn't allow executing stuff?
<matthewcroughan_>
I'm interested in this function and how it's supposed to work.
joepie91 has joined #nixos
* joepie91
wanders in
<matthewcroughan_>
Since Element.io seems to be a nixpkg but it's incredibly complex, so surely this can't be all that's needed?
<matthewcroughan_>
joepie91: I didn't even say your name 3 times.
<joepie91>
:)
<matthewcroughan_>
Say the name just once, they will appear.
<Orbstheorem>
__monty__: The issue is that the binary is unpatched
<Orbstheorem>
So the interpreter is wrong.
werner291 has joined #nixos
<matthewcroughan_>
joepie91: What yarn package did you play around with? Is it in nixpkgs?
<joepie91>
matthewcroughan_: the nixpkgs expression you linked is just the package manager (Yarn) itself - for JS applications, I typically use Yarn to generate a lockfile, and then use yarn2nix for deployment
<joepie91>
one sec
<Orbstheorem>
`[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]`
<__monty__>
Orbstheorem: Ah, hmm, that does sound like it might be hard to fix. Not sure how to go about that. Maybe submit a feature request to make it possible to configure the interpreter path?
<matthewcroughan_>
Making it compile for Arm would be a plus joepie91:D
<matthewcroughan_>
They're having big troulbe compiling it for arm, probably due to cross compilers.
<matthewcroughan_>
pkgsCross could maybe make short work of it?
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
<Orbstheorem>
__monty__: I was looking at the flutter code to find why it's downloading stuff and whether we could add them to the nixpkgs drv, but I'm a bit lost x)
Qwerky has quit [Remote host closed the connection]
<joepie91>
matthewcroughan_: so it looks like it's a fairly standard Electron project - this means it will likely work with the nixpkgs-packaged Electron, and you could probably use yarn2nix to generate a Nix expression for the dependencies defined in package.json (and pinned in yarn.lock), but given the nature of the project you will likely run into issues with "native modules", ie. C++ modules used from JS
<joepie91>
I'm not sure how to deal with that last point
<joepie91>
(notably: Yarn is just an npm-compatible package manager, and like npm it's only involved at install time, it has no further relevance or role at runtime)
<matthewcroughan_>
How come there's so many nix files to express element?
<Rovanion>
In PR #115839 a variable is declared. How can I confirm that it holds a plausible value on my system? `nix eval "config.services.slurm.etcSlurm"` errors out saying that config does not exist.
<ixxie>
it seems my audio channels are locked in a way that left audio only works on headphones and not on speaker, while right audio only works on speaker and not headphones; is there any way this is a software issue?
<pinpox>
adisbladis: I'm trying to pull it in from 20.03, but get "attribute 'terraform_0_11' missing", Am I not doing this right? https://termbin.com/q8ts
<pinpox>
supersandro2000: good point, downloading the whole nixpkgs seems a bit overkill
Qwerky has joined #nixos
bennofs_ has quit [Ping timeout: 256 seconds]
n-osborne has quit [Remote host closed the connection]
madcat28651 has quit [Ping timeout: 260 seconds]
<pinpox>
supersandro2000: If i put the existing default.nix from 20.03 in a file, how do I import one of the packages it provides? I'm tring "let old-terraform = import ./terraform; in ..." but that doesn't seem to be right, also the default.nix provides multiple versions, how do I "select" the _0_11 ?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
codygman__ has quit [Remote host closed the connection]
BlessJah has quit [Ping timeout: 256 seconds]
berberman has joined #nixos
codygman__ has joined #nixos
<supersandro2000>
adisbladis: ofc. I am just giving options
<afics>
> error: A definition for option `system.activationScripts.update-lingering.text' is not of type `strings concatenated with "\n"'. Definition values: /etc/nixos/loginctl-linger.nix
<{^_^}>
error: syntax error, unexpected $undefined, expecting ')', at (string):489:32
<adisbladis>
pinpox: You forgot to import :)
<adisbladis>
(import pkgs-pinned {}).terraform_0_11 should work
<yaymukund>
also TIL you can write to a usb drive using `cp nixos.iso /dev/sdX`
<clever>
yaymukund: dd, cp, and `cat foo.iso > /dev/sdX` all basically do the same thing
<exarkun>
in my experience, then you usually want to sync, physically remove it, plug it back in, and then verify some checksum of it
<exarkun>
because if you don't then it's always slightly corrupt and you don't find out until you've on a computer that won't boot and w/o any other network access
<yaymukund>
hahaha
<yaymukund>
i won't ask you how you know
<clever>
dd will force a sync at the end
<clever>
so the speed will be blazing fast, until your write cache fills up, then the speed will entirely tank, because the sync hangs
<simpson>
In general, USB isn't very fast. So be suspicious of tools which return quickly. `pv` is another good example of a tool that is misleading when writing to block devices.
<exarkun>
I vaguely recall trying to chain two different dds, or maybe a cat and a dd, so that the total time spent is closer to max(time to read, time to write) rather than just (time to read + time to write)
<cepheus>
(Block devices I mean)
<exarkun>
can't remember if I ever had any meaningful success on that though
<{^_^}>
[nix] @edolstra merged pull request #4624 → Add a `nix realisation` command for working on realisations → https://github.com/NixOS/nix/pull/4624
n-osborne has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
evils has joined #nixos
<mkaito>
last I heard, flakes were pushed back to nix 3.5
<mkaito>
we're just using nix off master at work /shrug
pinage404[m]1 has quit [Quit: Idle for 30+ days]
ncm[m] has quit [Quit: Idle for 30+ days]
lycium[m] has quit [Quit: Idle for 30+ days]
thunderbottom[m] has quit [Quit: Idle for 30+ days]
MinceR has quit [Ping timeout: 264 seconds]
<georgyo>
That is unfortunate. I rather not introduce experimental features into production environments. But there are lot of awesome things gated by this release.
<mkaito>
flakes are mostly a client side feature, so what we're doing is run a stable nix-daemon on servers and introduce a pinned nixUnstable off master in nix-shell as necessary
<bigvalen>
Is there a 'builtins.fetchTarBall equivalent for .7z size ?
<bigvalen>
s/size/files/
<prusnak>
fetchurl
<georgyo>
I don't think I've seen wide support for either rar or 7z for automatic decompression in linux tools. IE. The tar command will not produce or decompress 7z or rar files. You would need to pass it though a different tool.
<georgyo>
Most likely because zip, rar, and 7z all contain file meta data, which is not useful when you just have a stream of bytes from tar to compress.
<supersandro2000>
georgyo: unrar and 7z or 7zz soon is probably needed
jayok has quit [Remote host closed the connection]
saschagrunert has quit [Remote host closed the connection]
<raboof>
nixos-generators has a 'sd-aarch64 format'. Do I understand correctly that that wouldn't work on a rpi 2 model b, as that has the older Cortex-A7 that has the older ARMv7-A architecture and aarch64 requires the newer ARMv8-A ?
<raboof>
I see some references to armv7l-linux in nixpkgs, would it be silly to try and build with that or should I dig for a newer pi?
<cepheus>
the 2837 is the aarch64 variant so yes
<cepheus>
i haven't tried getting it running on an ARMv7 so i can't really say much asides from the fact that binary caches are not offered for ARMv7 officially
<cepheus>
the wiki says there's community support for rpi2b at least
<georgyo>
Something to note that inside a '' '' block, ${foo} references a variable in nix, while $foo references an environment variable passed to the script.
jayok has joined #nixos
dbmikus has joined #nixos
graf_blutwurst has quit [Remote host closed the connection]
<avn>
bigvalen: you can try use p7zip for 7z substitution
ahmed_elgabri has joined #nixos
vidbina has quit [Ping timeout: 264 seconds]
cfricke has quit [Ping timeout: 258 seconds]
ardumont has quit [Ping timeout: 264 seconds]
jayok has quit [Ping timeout: 265 seconds]
<bigvalen>
Hah. I worked out " export PATH=${lib.makeBinPath [ pkgs.p7zip ]}:$PATH" but your fixes are way better. Though, oddly, when I added an 'echo Downloaded $driverPkg' before calling 7z, both seem to think $driverPkg are empty. Hmm..
ahmed_elgabri has quit [Ping timeout: 240 seconds]
teozkr_ has quit [Read error: Connection reset by peer]
alanz has quit [Read error: Connection reset by peer]
alanz has joined #nixos
jtle has quit [Remote host closed the connection]
ravecoin[m] has quit [Ping timeout: 265 seconds]
alanz has joined #nixos
alanz has quit [Changing host]
ma27[m] has quit [Ping timeout: 265 seconds]
rnhmjoj has quit [Ping timeout: 265 seconds]
ili has quit [Ping timeout: 265 seconds]
cepheus has quit [Ping timeout: 265 seconds]
spacefrogg has quit [Ping timeout: 265 seconds]
aw has quit [Ping timeout: 265 seconds]
Brian[m]5 has quit [Ping timeout: 265 seconds]
tad-lispy[m] has quit [Ping timeout: 265 seconds]
chpatrick has quit [Ping timeout: 265 seconds]
tristan[m] has quit [Ping timeout: 265 seconds]
Lorenzoas3ii[m] has quit [Ping timeout: 265 seconds]
chiefgoat has quit [Ping timeout: 265 seconds]
jmeredith has quit [Ping timeout: 265 seconds]
toasty_avocado[m has quit [Ping timeout: 265 seconds]
Keash[m] has quit [Ping timeout: 265 seconds]
b42 has quit [Ping timeout: 265 seconds]
jonreeve[m] has quit [Ping timeout: 265 seconds]
apscomp[m] has quit [Ping timeout: 265 seconds]
SplitFire[m] has quit [Ping timeout: 265 seconds]
RyuKurisu[m] has quit [Ping timeout: 265 seconds]
alienpirate5 has quit [Ping timeout: 265 seconds]
justanotheruser has quit [Ping timeout: 265 seconds]
alanz has quit [Max SendQ exceeded]
domenkozar[m] has quit [Ping timeout: 265 seconds]
atemu12[m] has quit [Ping timeout: 265 seconds]
stuebinm[m]1 has quit [Ping timeout: 265 seconds]
ppom[m] has quit [Ping timeout: 265 seconds]
reedrw[m] has quit [Ping timeout: 265 seconds]
slabity has quit [Ping timeout: 265 seconds]
watersucks[m] has quit [Ping timeout: 265 seconds]
idkrn[m] has quit [Ping timeout: 265 seconds]
enjoinedmot[m] has quit [Ping timeout: 265 seconds]
ejpcmac has quit [Ping timeout: 265 seconds]
fjfjfjfjfjfj[m] has quit [Ping timeout: 265 seconds]
immae has quit [Ping timeout: 265 seconds]
symphorien[m] has quit [Ping timeout: 265 seconds]
rednaZ[m] has quit [Ping timeout: 265 seconds]
alanz has joined #nixos
cizra has joined #nixos
gchristensen has quit [Ping timeout: 265 seconds]
cizra has quit [Ping timeout: 265 seconds]
Keash[m] has joined #nixos
jonreeve[m] has joined #nixos
jtle has joined #nixos
domenkozar[m] has joined #nixos
domenkozar[m] has joined #nixos
alanz has quit [Changing host]
domenkozar[m] has joined #nixos
domenkozar[m] has quit [Changing host]
alanz has joined #nixos
jonreeve[m] has joined #nixos
jonreeve[m] has quit [Changing host]
Keash[m] has joined #nixos
Keash[m] has quit [Changing host]
domenkozar[m] has joined #nixos
domenkozar[m] has quit [Changing host]
teozkr__ is now known as teozkr_
jess has quit [Quit: Reconnecting]
jmeredith_ is now known as jmeredith
jess has joined #nixos
grahamc is now known as gchristensen
rowanG077 has quit [Client Quit]
immae1 has joined #nixos
<cw[CURRENT_YEAR]>
I'm having a bear of a time getting my shell set up. I'd like to be running oh-my-zsh with powerlevel10k but I seemingly can't even get zsh to be the default.
<georgyo>
bigvalen: Yep, nix often makes '' blocks look like generic shell scripts, but they are just strings. And in the nix, strings can have variables inserted with ${}.
SomeoneSerge has joined #nixos
<fresheyeball>
I need to fill out a pdf based form
<fresheyeball>
what do you recommend from nixpkgs to do this?
v0|d has quit [Remote host closed the connection]
jtle has quit [Remote host closed the connection]
jtle has joined #nixos
madcat28651 has joined #nixos
<raboof>
can you run ARMv6 images on an ARMv7 CPU?
ahmed_elgabri has quit [Ping timeout: 264 seconds]
davidv7 has quit [Remote host closed the connection]
<fresheyeball>
infinisil: well I don't know what to tell you then
<fresheyeball>
I ran `nix-env -i xournal`
<fresheyeball>
and then ran xournal
<fresheyeball>
which greeted me with a blank sheet of lined notebook paper
<fresheyeball>
and no ability to open a pdf
<infinisil>
fresheyeball: xournal /path/to/pdf
<fresheyeball>
oh that worked
<fresheyeball>
how odd
<infinisil>
And it can open pdfs?
davidv7 has joined #nixos
madcat28651 has joined #nixos
<fresheyeball>
apparently it can if trigger from the cli
<fresheyeball>
but not from the gui
<infinisil>
Either with `File -> Annotate PDF` or `File -> Open (then select All files)`
<fresheyeball>
also this doesn't allow me to fill out the form here
<fresheyeball>
right I am not looking to annotate this
<fresheyeball>
it's a form with a dropdown and such in this pdf
<matthewcroughan_>
ryantm: Let's say I wanted to add documentation for a specific device to the official manuals, I know I've asked you this before, but have things changed? Where would I be best off doing it?
<infinisil>
That sounds like some adobe thing
<infinisil>
xournal is the best thing I could find and it's good enough for me
<ryantm>
matthewcroughan_: Nothing has changed since we last talked about.
<matthewcroughan_>
I want to add docs for the Orange Pi 3, Raspberry Pi 3/4, and more. I want to do it in Markdown, with a consistent template (that I'm hoping to instantiate).
<fresheyeball>
I tried adobe-reader
<fresheyeball>
but it wont launch
<matthewcroughan_>
Where exactly are the markdown docs happening right now? ryantm
<fresheyeball>
/nix/store/has87n9gf304wzsy1xarkyrqwx40bdzi-adobe-reader-9.5.5-1/libexec/adobe-reader/Reader/intellinux/bin/acroread: error while loading shared libraries: libgdk_pixbuf_xlib-2.0.so.0: cannot open shared object file: No such file or directory
<cepheus>
ubuntu stackexchange claims recent versions of evince should be able to fill out PDF forms, fresheyeball
<fresheyeball>
ok trying that
<ar>
okular can fill out pdf forms
<ryantm>
matthewcroughan_: You can't really do it. That should go in the NixOS manual, and the NixOS manual only supports DocBook right now. You could make a MD file that manually convert to DocBook with pandoc though.
<ar>
at least some of them. a few years ago it failed at cryptographically signed pdf forms
<fresheyeball>
nope on evince
<ar>
fresheyeball: try okular
<fresheyeball>
trying
rajivr has quit [Quit: Connection closed for inactivity]
<ar>
fresheyeball: you might need to go to "view" menu, and click the "show forms" checkbox
<numkem>
I'm trying to use the nice-dcv-client with awesome wm. It seays i don't have a GSettings schema installed. What option would I be missing to enable that?
justanotheruser has joined #nixos
makergrl has quit [Remote host closed the connection]
farn has joined #nixos
madcat28651 has joined #nixos
apscomp[m]2 has quit [Ping timeout: 240 seconds]
LuxExUmbra has quit [Ping timeout: 240 seconds]
stuebinm[m]1 has quit [Ping timeout: 246 seconds]
tad-lispy[m] has quit [Ping timeout: 240 seconds]
atemu12[m] has quit [Ping timeout: 244 seconds]
slabity has quit [Ping timeout: 244 seconds]
fjfjfjfjfjfj[m]1 has quit [Ping timeout: 240 seconds]
watersucks[m]1 has quit [Ping timeout: 244 seconds]
enjoinedmot[m]1 has quit [Ping timeout: 244 seconds]
mrketsuban[m] has quit [Ping timeout: 240 seconds]
hdjdjd[m] has quit [Ping timeout: 240 seconds]
scheibenkleister has quit [Ping timeout: 240 seconds]
bendlas has quit [Ping timeout: 240 seconds]
Antoine01[m] has quit [Ping timeout: 240 seconds]
Annika[m] has quit [Ping timeout: 244 seconds]
ydlr[m] has quit [Ping timeout: 244 seconds]
cidkid[m] has quit [Ping timeout: 244 seconds]
tomchab[m] has quit [Ping timeout: 240 seconds]
samir420[m] has quit [Ping timeout: 240 seconds]
M0x76[m] has quit [Ping timeout: 240 seconds]
jbal[m] has quit [Ping timeout: 240 seconds]
Kng[m] has quit [Ping timeout: 240 seconds]
nicolaiskye[m] has quit [Ping timeout: 240 seconds]
pheoxy has quit [Ping timeout: 240 seconds]
babbaj[m] has quit [Ping timeout: 240 seconds]
bloodyfish[m] has quit [Ping timeout: 240 seconds]
sshow[m] has quit [Ping timeout: 244 seconds]
spinus[m] has quit [Ping timeout: 244 seconds]
FranckRasolo[m] has quit [Ping timeout: 244 seconds]
DiegoVicente[m] has quit [Ping timeout: 244 seconds]
inferno_geek[m] has quit [Ping timeout: 244 seconds]
eliasp[m] has quit [Ping timeout: 244 seconds]
kgjfeduwieigt83e has quit [Ping timeout: 244 seconds]
bnjmnt4n[m] has quit [Ping timeout: 244 seconds]
dominikh[m] has quit [Ping timeout: 244 seconds]
jdnixx[m] has quit [Ping timeout: 240 seconds]
littlebenlittle[ has quit [Ping timeout: 240 seconds]
jasonfraiser[m] has quit [Ping timeout: 240 seconds]
stites[m] has quit [Ping timeout: 240 seconds]
rycee has quit [Ping timeout: 240 seconds]
Martin[m]2 has quit [Ping timeout: 240 seconds]
anton[m]1 has quit [Ping timeout: 240 seconds]
kevincox has quit [Ping timeout: 240 seconds]
alexfmpe has quit [Ping timeout: 240 seconds]
codebam has quit [Ping timeout: 240 seconds]
juansucks[m] has quit [Ping timeout: 240 seconds]
marijan[m] has quit [Ping timeout: 240 seconds]
ptotter[m] has quit [Ping timeout: 240 seconds]
ronny has quit [Ping timeout: 240 seconds]
kalbasit[m] has quit [Ping timeout: 240 seconds]
slby[m] has quit [Ping timeout: 240 seconds]
l-as has quit [Ping timeout: 240 seconds]
michaelpj has quit [Ping timeout: 240 seconds]
psibi[m] has quit [Ping timeout: 240 seconds]
axx has quit [Ping timeout: 240 seconds]
variable[m] has quit [Ping timeout: 240 seconds]
roberth has quit [Ping timeout: 240 seconds]
unclechu has quit [Ping timeout: 240 seconds]
jsilence[m] has quit [Ping timeout: 244 seconds]
tgys[m] has quit [Ping timeout: 244 seconds]
pisquo[m] has quit [Ping timeout: 244 seconds]
ollijh[m] has quit [Ping timeout: 244 seconds]
aaronjanse has quit [Ping timeout: 244 seconds]
leon[m]2 has quit [Ping timeout: 244 seconds]
edrex has quit [Ping timeout: 244 seconds]
M53K5HUN_8[m] has quit [Ping timeout: 244 seconds]
mhj[m] has quit [Ping timeout: 244 seconds]
questaetang[m] has quit [Ping timeout: 244 seconds]
BinkyTheClown has quit [Ping timeout: 244 seconds]
m1kr0[m] has quit [Ping timeout: 244 seconds]
installnixos[m] has quit [Ping timeout: 244 seconds]
JaakkoLuttinen[m has quit [Ping timeout: 244 seconds]
pager[m] has quit [Ping timeout: 244 seconds]
enick_4 has quit [Ping timeout: 244 seconds]
Curunr[m] has quit [Ping timeout: 244 seconds]
zuh0 has quit [Ping timeout: 244 seconds]
grin[m] has quit [Ping timeout: 244 seconds]
bachp has quit [Ping timeout: 244 seconds]
j0ni[m] has quit [Ping timeout: 244 seconds]
viq[m] has quit [Ping timeout: 244 seconds]
DamienCassou has quit [Ping timeout: 244 seconds]
fossdd[m] has quit [Ping timeout: 244 seconds]
Guest68587 has quit [Ping timeout: 244 seconds]
jtojnar has quit [Ping timeout: 244 seconds]
kraem[m] has quit [Ping timeout: 244 seconds]
vancoding[m] has quit [Ping timeout: 241 seconds]
Yakulu[m] has quit [Ping timeout: 244 seconds]
bourbon has quit [Ping timeout: 244 seconds]
bbigras has quit [Ping timeout: 244 seconds]
waxlamp[m] has quit [Ping timeout: 241 seconds]
wangoe[m] has quit [Ping timeout: 241 seconds]
AnAmigian[m] has quit [Ping timeout: 241 seconds]
tutitau[m] has quit [Ping timeout: 241 seconds]
SplitFire[m]1 has quit [Ping timeout: 241 seconds]
ejpcmac1 has quit [Ping timeout: 241 seconds]
Lorenzoas3ii[m]1 has quit [Ping timeout: 241 seconds]
chpatrick1 has quit [Ping timeout: 241 seconds]
jul1u5[m] has quit [Ping timeout: 241 seconds]
veehaitch[m] has quit [Ping timeout: 241 seconds]
ta[m] has quit [Ping timeout: 241 seconds]
spinlock[m] has quit [Ping timeout: 241 seconds]
rhrnrnrnr has quit [Ping timeout: 241 seconds]
notgne2[m] has quit [Ping timeout: 241 seconds]
Lurkki[m]1 has quit [Ping timeout: 241 seconds]
Satyasheel[m] has quit [Ping timeout: 241 seconds]
eternalgod[m] has quit [Ping timeout: 241 seconds]
Helithumper[m] has quit [Ping timeout: 241 seconds]
revity[m] has quit [Ping timeout: 241 seconds]
goibhniu has quit [Ping timeout: 241 seconds]
woobilicious[m] has quit [Ping timeout: 241 seconds]
aynish has quit [Ping timeout: 241 seconds]
AlesHuzik[m] has quit [Ping timeout: 241 seconds]
sj57721908611[m] has quit [Ping timeout: 241 seconds]
doronbehar has quit [Ping timeout: 241 seconds]
mjlbach has quit [Ping timeout: 241 seconds]
v0lde[m] has quit [Ping timeout: 241 seconds]
q3k[m] has quit [Ping timeout: 241 seconds]
diegov_ has quit [Ping timeout: 241 seconds]
beardhatcode has quit [Ping timeout: 241 seconds]
freeman42x[m] has quit [Ping timeout: 241 seconds]
tcakoi has quit [Ping timeout: 241 seconds]
chvp has quit [Ping timeout: 241 seconds]
zeroability[m] has quit [Ping timeout: 241 seconds]
leons has quit [Ping timeout: 241 seconds]
FreeVariable has quit [Ping timeout: 241 seconds]
Dandellion has quit [Ping timeout: 241 seconds]
reedrw[m] has quit [Ping timeout: 249 seconds]
dev-kcw[m] has quit [Ping timeout: 249 seconds]
ThomasGummerer[m has quit [Ping timeout: 249 seconds]
ero-sennin[m] has quit [Ping timeout: 249 seconds]
felschr[m] has quit [Ping timeout: 249 seconds]
qp[m] has quit [Ping timeout: 249 seconds]
dpl00a[m] has quit [Ping timeout: 249 seconds]
Yeet[m] has quit [Ping timeout: 249 seconds]
iulian[m] has quit [Ping timeout: 249 seconds]
olto[m] has quit [Ping timeout: 249 seconds]
_urd[m] has quit [Ping timeout: 249 seconds]
sbmassey[m] has quit [Ping timeout: 249 seconds]
winsome[m] has quit [Ping timeout: 249 seconds]
gtrunsec[m] has quit [Ping timeout: 249 seconds]
arstneiozxcd has quit [Ping timeout: 249 seconds]
atopuzov[m] has quit [Ping timeout: 249 seconds]
cogito271[m] has quit [Ping timeout: 249 seconds]
eddie_8989[m] has quit [Ping timeout: 249 seconds]
itacer[m] has quit [Ping timeout: 249 seconds]
OJ[m] has quit [Ping timeout: 249 seconds]
evhan[m] has quit [Ping timeout: 249 seconds]
mvnetbiz_ has quit [Ping timeout: 249 seconds]
crazazy[m] has quit [Ping timeout: 249 seconds]
regnat[m] has quit [Ping timeout: 249 seconds]
MrGoose[m] has quit [Ping timeout: 249 seconds]
Dante[m] has quit [Ping timeout: 249 seconds]
Rage-Gamer[m] has quit [Ping timeout: 249 seconds]
Ollie[m] has quit [Ping timeout: 249 seconds]
manveru[m] has quit [Ping timeout: 249 seconds]
M86ul[m] has quit [Ping timeout: 249 seconds]
eddyb has quit [Ping timeout: 249 seconds]
alexrelis[m] has quit [Ping timeout: 249 seconds]
lambdaclan has quit [Ping timeout: 249 seconds]
Ke has quit [Ping timeout: 249 seconds]
Ox4A6F has quit [Ping timeout: 249 seconds]
Ericson2314 has quit [Ping timeout: 249 seconds]
hpfr has quit [Ping timeout: 249 seconds]
jschievink has quit [Ping timeout: 249 seconds]
Brian[m]5 has quit [Ping timeout: 270 seconds]
ma27[m]1 has quit [Ping timeout: 247 seconds]
RyuKurisu[m]1 has quit [Ping timeout: 270 seconds]
tim92[m] has quit [Ping timeout: 247 seconds]
Robert[m] has quit [Ping timeout: 247 seconds]
RomanBall[m] has quit [Ping timeout: 247 seconds]
randalthorwot[m] has quit [Ping timeout: 247 seconds]
CRTified[m] has quit [Ping timeout: 247 seconds]
CatPony[m] has quit [Ping timeout: 247 seconds]
peterstorm[m] has quit [Ping timeout: 247 seconds]
thedodger[m] has quit [Ping timeout: 247 seconds]
vieveen[m] has quit [Ping timeout: 247 seconds]
la_mlatu[m] has quit [Ping timeout: 247 seconds]
jojosch[m] has quit [Ping timeout: 247 seconds]
BrightOne[m] has quit [Ping timeout: 247 seconds]
coniferous-cube4 has quit [Ping timeout: 247 seconds]
enblanco[m] has quit [Ping timeout: 247 seconds]
devnet[m] has quit [Ping timeout: 247 seconds]
nrdxp[m] has quit [Ping timeout: 247 seconds]
leonardp has quit [Ping timeout: 247 seconds]
SumnerEvans[m] has quit [Ping timeout: 247 seconds]
mica[m] has quit [Ping timeout: 247 seconds]
fiveseven[m] has quit [Ping timeout: 247 seconds]
ms[m] has quit [Ping timeout: 247 seconds]
hazel[m] has quit [Ping timeout: 247 seconds]
NickHu has quit [Ping timeout: 247 seconds]
Seylerius has quit [Ping timeout: 247 seconds]
srid has quit [Ping timeout: 247 seconds]
emily has quit [Ping timeout: 247 seconds]
hiroshi[m] has quit [Ping timeout: 247 seconds]
nh2[m] has quit [Ping timeout: 247 seconds]
colemickens has quit [Ping timeout: 247 seconds]
nasirhm has quit [Ping timeout: 247 seconds]
antholop[m] has quit [Ping timeout: 247 seconds]
maralorn has quit [Ping timeout: 247 seconds]
kunrooted[m] has quit [Ping timeout: 260 seconds]
guntherploetner[ has quit [Ping timeout: 260 seconds]
rnhmjoj1 has quit [Ping timeout: 272 seconds]
tristan[m] has quit [Ping timeout: 264 seconds]
jamesrains[m] has quit [Ping timeout: 264 seconds]
Paul[m]8 has quit [Ping timeout: 264 seconds]
ayyess[m] has quit [Ping timeout: 264 seconds]
syntaxtree[m] has quit [Ping timeout: 264 seconds]
tyrion-mx has quit [Ping timeout: 264 seconds]
ppom[m] has quit [Ping timeout: 265 seconds]
kevin[m]2 has quit [Ping timeout: 265 seconds]
wenngle[m] has quit [Ping timeout: 265 seconds]
jhgarner[m] has quit [Ping timeout: 265 seconds]
bitonic has quit [Ping timeout: 265 seconds]
jgart[m] has quit [Ping timeout: 265 seconds]
simara[m] has quit [Ping timeout: 265 seconds]
nilsirl[m] has quit [Ping timeout: 265 seconds]
garbas[m] has quit [Ping timeout: 265 seconds]
kloenk has quit [Ping timeout: 265 seconds]
linus0[m] has quit [Ping timeout: 265 seconds]
ili1 has quit [Ping timeout: 268 seconds]
suketu[m] has quit [Ping timeout: 268 seconds]
amistillgraciesv has quit [Ping timeout: 268 seconds]
puzzlewolf has quit [Ping timeout: 268 seconds]
tilt[m] has quit [Ping timeout: 268 seconds]
cirno[m] has quit [Ping timeout: 268 seconds]
livestradamus[m] has quit [Ping timeout: 268 seconds]
matrss[m] has quit [Ping timeout: 268 seconds]
Nezha[m] has quit [Ping timeout: 268 seconds]
ricklafleur[m] has quit [Ping timeout: 268 seconds]
gurkan[m] has quit [Ping timeout: 268 seconds]
Miguel[m] has quit [Ping timeout: 268 seconds]
aniketd[m] has quit [Ping timeout: 268 seconds]
a12l has quit [Ping timeout: 268 seconds]
DarkTrancer[m] has quit [Ping timeout: 268 seconds]
mojra[m] has quit [Ping timeout: 268 seconds]
dxb[m] has quit [Ping timeout: 268 seconds]
ibizaman[m] has quit [Ping timeout: 268 seconds]
zancas[m] has quit [Ping timeout: 268 seconds]
DevilFather[m] has quit [Ping timeout: 268 seconds]
jrhawley[m] has quit [Ping timeout: 268 seconds]
tim140123[m] has quit [Ping timeout: 268 seconds]
lostnet[m] has quit [Ping timeout: 268 seconds]
skinnedcat[m] has quit [Ping timeout: 268 seconds]
MaJoe[m] has quit [Ping timeout: 268 seconds]
FelipeBarros[m] has quit [Ping timeout: 268 seconds]
andi[m] has quit [Ping timeout: 268 seconds]
us3r[m] has quit [Ping timeout: 268 seconds]
dunc4n has quit [Ping timeout: 268 seconds]
tjammer[m] has quit [Ping timeout: 268 seconds]
humancalico[m] has quit [Ping timeout: 268 seconds]
noneucat has quit [Ping timeout: 268 seconds]
pdp8[m] has quit [Ping timeout: 268 seconds]
eadwu has quit [Ping timeout: 268 seconds]
Raphael[m] has quit [Ping timeout: 268 seconds]
petrichor has quit [Ping timeout: 268 seconds]
mt[m] has quit [Ping timeout: 268 seconds]
mindtree[m] has quit [Ping timeout: 268 seconds]
musicmatze has quit [Ping timeout: 268 seconds]
hsiktas[m] has quit [Ping timeout: 268 seconds]
dmytrokurch[m] has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @svanderburg opened pull request #116455 → systemd: allow custom unit folders to be configured with SYSTEMD_UNIT… → https://github.com/NixOS/nixpkgs/pull/116455
jayok has quit [Ping timeout: 246 seconds]
bb_ has joined #nixos
<bb_>
Hi, so I am little confused
<bb_>
I have ruby_2_5 and I need a specific version of bundler
<bb_>
so I did a gem install bundler --version 1.17.3
<bb_>
but it appears the gems are not in path?
<bb_>
am I obligated to install bundler through the nix package manager?
<matthewcroughan_>
I saw you just got a PR in on deploy-rs and since serokell isn't here I'd like to asks something. Is it possible in deploy-rs to activate a configuration temporarily?
<matthewcroughan_>
i.e 30 seconds, then rollback to the previous configuration.
<matthewcroughan_>
Actually, I forgot serokell was a company, I swear I've seen that as a username here before though.
amerigo has joined #nixos
davidv7 has quit [Remote host closed the connection]
lopsided98 has joined #nixos
<mkaito>
technically, serokell is always here :P
bb_ has quit [Ping timeout: 264 seconds]
<mkaito>
you could abuse the magic rollback mechanism to cause a rollback
davidv7 has joined #nixos
justan0theruser has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
<mkaito>
kinda curious why you'd want that though
styledash7 has joined #nixos
werner292 has joined #nixos
jsoo has quit [Ping timeout: 264 seconds]
aforemny_ has quit [Ping timeout: 264 seconds]
werner291 has quit [Ping timeout: 264 seconds]
palo has quit [Ping timeout: 264 seconds]
werner292 is now known as werner291
jluttine_ has quit [Ping timeout: 264 seconds]
oleks has quit [Ping timeout: 264 seconds]
styledash has quit [Ping timeout: 264 seconds]
styledash7 is now known as styledash
aforemny has joined #nixos
ent has quit [Ping timeout: 264 seconds]
jsoo has joined #nixos
palo has joined #nixos
<notgne2>
matthewcroughan_: I don't think there's a simple way of doing that, though you can do a hack like mkaito said
oleks has joined #nixos
<gchristensen>
,locate libudev.h
ent has joined #nixos
<{^_^}>
Found in packages: eudev, libudev.dev
<notgne2>
in most deployments, your goal is to make sure that switching to a version and back won't do anything at all unless absolutely necessary, and generally the thing it will do is upgrading some stateful data, most likely rendering it unusable when you switch back
<yaymukun1>
and nixos-unstable, and every combination, but none of them seem to work
<clever>
yaymukun1: its a module so you have to add <nixpkgs-unstable/nixos/modules/programs/neovim.nix> to the imports section in your configuration.nix
<matthewcroughan_>
notgne2: mkaito. Think about it. WIth deploy-rs you cannot make networking changes confidently. Have you ever used OpenWRT's LUCI and-or their UCI cli? With OpenWRT, you uci add and uci commit. If you do not uci commit your changes will be lost on reboot, which is sensible. Their LUCI Web UI applies changes, then reverts them if the change caused network outage.
<matthewcroughan_>
There's no way to "safely" make the changes like you can with OpenWRT. Deploy-rs seems to just blacklikst network changes until you disable magicRollback, which is a cheat.
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<matthewcroughan_>
If I run that shell from your latest post, I end up getting a /etc/profile: line 30: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
<matthewcroughan_>
perhaps the issue is occurring much sooner than when we compile Yocto.
<matthewcroughan_>
'profile =' is essentially moot, right?
rodarmor has joined #nixos
dbmikus has quit [Ping timeout: 246 seconds]
davidv7 has quit [Remote host closed the connection]
<notgne2[m]>
matthewcroughan_: it sounds like what we attempt with deploy-rs is somewhat similar, there's no blacklisting of network changes at all, it just verifies you can still connect to the server after they have been made
<matthewcroughan_>
notgne2: Oh? The Readme.md says "If you do not disable magicRollback in your configuration (see later sections) or with the CLI flag, you will be unable to make changes to the system which will affect you connecting to it (changing SSH port, changing your IP, etc). "
<mkaito>
nixos itself has a few rules regarding things that shouldn't be restarted at runtime, and I think that includes a few network things
<matthewcroughan_>
The way this reads makes me believe it won't allow me to make any networking changes. Not "if they fail to apply".
<mkaito>
and no, deploy-rs has nothing in it that would blacklist or avoid anything at all
akaWolf1 has quit [Ping timeout: 256 seconds]
<matthewcroughan_>
Fantastic, so is it true that it will try to apply the changes and roll them back if networking is lost?
<notgne2[m]>
matthewcroughan_: that's still true but only due to side effects, for instance, if your ssh port is 22 and you change it to 23, it will make the changes on port 22, then attempt to verify them on port 23 and thus fail, causing a rollback
werner292 has joined #nixos
<matthewcroughan_>
notgne2: this is actually avoidable because of websockets with OpenWRT
akaWolf has joined #nixos
<matthewcroughan_>
The way it handles it is that it stores some state in browser cache, then you have 30 seconds to navigate to the new IP and the websocket will still be "open"ish.
<matthewcroughan_>
I'm not quite sure exactly how it's implemented, but it's quite cool.
<notgne2[m]>
deploy-rs doesn't check external networking, it only checks that the deployer can still connect to the deployee, and it uses the same hostname and port for both verifying and deploying
<matthewcroughan_>
you can't do this with any CLI obviously. But it works really nicely in the web browser
<notgne2[m]>
the verification is also in a separate SSH session, so if the first one dies, that's completely ok
<notgne2[m]>
as long as the verification session can connect
<matthewcroughan_>
notgne2: that is the same with openwrt then. All it does is open a channel via websockets via the web browser (the configurator)
dev_mohe has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<matthewcroughan_>
It's interesting to consider that there is no CLI solution here, whereas there is a great webui solution, weird huh?
<matthewcroughan_>
How using the webbrowser has offered a solution in javascript that's kind of unmatched.
davidv7 has joined #nixos
erasmas has quit [Quit: leaving]
zceejkr has quit [Ping timeout: 256 seconds]
njd has quit [Ping timeout: 256 seconds]
<matthewcroughan_>
I guess you could change the deploy-rs client to allow a window of time in which you can manually connect to the new host (if changing IP or ports).
zceejkr has joined #nixos
<notgne2[m]>
you actually can do that, though there's no a nice interface for it
<matthewcroughan_>
notgne2: I'm gonna shut up and use it then :D
<notgne2[m]>
you currently have 240 seconds to SSH into the new host, and delete the confirmation canary file, it will be something like `/tmp/deploy-rs-canary-y8x8zf511cd9x1kask5ds2bs744w883s`
<matthewcroughan_>
notgne2: Was considering writing my own since I thought magicRollback worked differently. I was going to try it either way, but you guys are so accessible for questions <3
marusich has joined #nixos
<matthewcroughan_>
notgne2: so if you delete the confirmation file, the changes will apply?
njd has joined #nixos
<notgne2[m]>
it works pretty simply, basically the script on the remote host that runs the activation, will wait for that file to be deleted after activation, and if it doesn't get deleted it rolls back the deployment, and the `deploy` tool that you run will automatically try to SSH in and delete that file, making the process seamless whenever you are not changing any IPs or ports
<notgne2[m]>
so yes deleting that file will confirm the changes and prevent a rollback, that's exactly what normally happens internally, but can't if the IP has changed
ericnoan has quit [Ping timeout: 256 seconds]
ericnoan has joined #nixos
<matthewcroughan_>
notgne2: I've been thinking about some ideas for tracking cluster metadata, what do you think of this?
<matthewcroughan_>
imagine checking in `hwinfo`'s output every time you make a deployment?
<matthewcroughan_>
you could bisect the hardware.. kinda. I guess it doesn't make that much sense, because hardware is not related to software deployment.
<matthewcroughan_>
Annoyingly hwinfo also has some volatile values like cpu frequency which shouldn't really be in the diff. Do you have any idea of a program that would do this without the volatile values? :D
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<yaymukun1>
is there a way to change your default channel, so you don't have to import from <nixpkgs-unstable>?
<gchristensen>
use nix-channel, delete the nixpkgs channel, add a new nixpkgs channel
zupo has joined #nixos
niksnut has quit [Ping timeout: 256 seconds]
dev_mohe has quit [Quit: dev_mohe]
niksnut has joined #nixos
davidv7 has quit [Remote host closed the connection]
<yaymukun1>
huh, interesting. this exact configuration.nix was working in my vm but now i'm having trouble running programs.neovim (which is only defined in unstable, i believe)
<matthewcroughan_>
notgne2: do you guys have any examples of deploying systems with github/gitlab actions/runners?
davidv7 has joined #nixos
<yaymukun1>
I get "file nixpkgs-unstable/nixos/modules/programs/neovim.nix was not found in the nix search path" after adding <nixpkgs-unstable/nixos/modules/programs/neovim.nix> to my imports.
Lord_of_Life has quit [Ping timeout: 260 seconds]
<gchristensen>
have you run nix-channel --update?
<yaymukun1>
yes, it says 2 symlinks created
<yaymukun1>
ok well it works if i remove my neovim configuration, at least.
<cwprobablydead[m>
How would I rebuild without an internet connection?
<cwprobablydead[m>
Specifically, I have a wireguard VPN set up and when that server is down I can't even rebuild to kill the VPN as it needs to download the binaries.
<cwprobablydead[m>
I have made a profile with no VPN that I can switch to now, but that doesn't really solve the 'rebuild without a connection' issue.
<cwprobablydead[m>
This machine is fast enough that I can compile things if need be.
<supersandro2000>
you can stop the wireguard service, right?
<supersandro2000>
also you probably can't because you need new sources most likely
<cwprobablydead[m>
I had this issue recently when just changing an option for a service that I was already running. That shouldn't need new sources?