codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
diegosaa has joined #nixos
<gchristensen>
,botsnack
<{^_^}>
Oh thanks, have a cookie yourself
<diegosaa>
Hello, I just created a nixos node, but while I can ssh into it, there seems to be issues with the networking. Anyone cares to help me troubleshoot?
<clever>
diegosaa: can you ping google.com?
<diegosaa>
Nope. It says Name or service not known
<clever>
diegosaa: can you ping 8.8.8.8?
<diegosaa>
ping: connect: Network is unreachable
<clever>
sounds like the gateway and dns are both down
<clever>
what does `ip route` report?
<diegosaa>
nothing, just empty line
<clever>
did you ssh with v4 or v6?
<diegosaa>
when I do ifconfig, I only see the lo interface
sigmundv_ has quit [Read error: Connection reset by peer]
johnny101 has joined #nixos
h0m1 has quit [Ping timeout: 246 seconds]
justanotheruser has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos
knerten2 has joined #nixos
knerten1 has quit [Ping timeout: 246 seconds]
<lovesegfault>
if I do myPkgs = import nixpkgs { overlays = [myOverlay] } and then I myNewPkgs = import myPkgs.path {}, will myNewPkgs have the overlays?
<clever>
lovesegfault: nope, but you can use myPkgs.extend second_overlay
<lovesegfault>
clever: I have a thing that takes a path which it imports as nixpkgs and I wanted to give it an overlayed nixpkgs
<noneucat>
anyone have an idea why a module i specified in boot.initrd.kernelModules is not getting included in the modules closure? :p
<noneucat>
i see it as a root module during the build but it's missing in the closure right after
Rurd2di has joined #nixos
nixbitcoin_ has quit [Remote host closed the connection]
Rurd2di_ has quit [Ping timeout: 240 seconds]
gv has quit [Remote host closed the connection]
dermetfan has joined #nixos
gv has joined #nixos
<kloenk>
noneucat: is it maybe copied into the cpio, and so net refered anymore?
<noneucat>
what's a cpio?
gv has quit [Remote host closed the connection]
gv has joined #nixos
<pjt_014>
noneucat: old-ass archive format that's still used for some reason
<pjt_014>
it pops up here and there
nixbitcoin has joined #nixos
<{^_^}>
[nixpkgs] @vcunat pushed 203 commits to staging-next: https://git.io/JJWHp
mallox has joined #nixos
<noneucat>
i'm fairly certain it's not cpio-related
<noneucat>
all of the logic happens in modules-closure.sh and it looks fairly self-contained
<{^_^}>
[nixpkgs] @vcunat pushed 270 commits to staging-20.03: https://git.io/JJWQc
<{^_^}>
[nixpkgs] @peterhoeg pushed to f/qemu « qemu: drop invalid and redundant qemu.desktop »: https://git.io/JJWQ4
<{^_^}>
[nixpkgs] @peterhoeg opened pull request #93625 → qemu: drop invalid and redundant qemu.desktop → https://git.io/JJWQB
nixbitcoin_ has joined #nixos
nixbitcoin has quit [Ping timeout: 240 seconds]
dermetfan has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @peterhoeg closed pull request #89891 → sloccount: fix locale warnings when running with non-default locale → https://git.io/Jfysv
<{^_^}>
[nixpkgs] @peterhoeg pushed 0 commits to f/sloccount: https://git.io/JJWQr
dermetfan has joined #nixos
<simonpe^^>
I'm using dockerTools to build an arm container to run on an embedded system. The base image with only the app is around 15MB but adding gdbserver makes the image 1.2GB due to tons of dependencies. What would be a good strategy to approach this problem?
<simonpe^^>
I'm thinking maybe building my own gdbserver but that seems way too ambitious and also not very maintainable
<simonpe^^>
Second approach is to not use a layered image and somehow modify it after its already built
<simonpe^^>
Third is to use a layered image and then somehow remove intermediate layers that I don't need
asheshambasta has joined #nixos
<simonpe^^>
If I look at the dependencies of the x86 gdbserver on my machine its basically only libc and libstdc++ plus the usual stuff
<simonpe^^>
whereas gdb has tons of dependenices, these are the dependencies added to the image that I don't need
smatting has joined #nixos
user_0x58 has quit [Ping timeout: 260 seconds]
<simonpe^^>
Could I somehow write a derivation that copies out the good stuff from gdb and repackages it without adding gdb as a runtime dependency?
noudle has joined #nixos
lambda-11235 has quit [Read error: Connection reset by peer]
magnetophon has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
dingenskirchen has quit [Quit: dingenskirchen]
magnetophon has joined #nixos
lsix has joined #nixos
dingenskirchen has joined #nixos
<simonpe^^>
Ok I somehow answered my own question: I added a mkDerivation with `src = gdb;` and copied out the gdbserver binary :D
<simonpe^^>
two days spent and then solving it just because I wrote down my thoughts into an IRC question
<stoile>
sreybastien[m]: You can probably unpack your inird and check if a key exists in one of the paths. And since the key is part of your initrd anyway, it feels strange to have it in /boot. Do you have a running system (just without the dropbear-initrd stuff)?
<sreybastien[m]>
@stoile yes, system booting normally without dropbear initrd
<sreybastien[m]>
* @stoile yes, system booting normally with or without dropbear initrd
<sreybastien[m]>
* @stoile yes, system booting normally with or without dropbear initrd. Passphrase is asked.
<stoile>
sreybastien[m]: So you can enter the passphrase, boot the system, adjust the config, do nixos-rebuild and retry? Do you have /mnt/boot on your system? My guess is that this path exists only during install. Can you move the key somewhere else (/root or /var/lib/keys or something like that), use that path in your config, nixos-rebuild and reboot?
<sreybastien[m]>
yes, i can try that @stoi
<sreybastien[m]>
* yes, i can try that stoile
orivej has quit [Quit: No Ping reply in 180 seconds.]
asheshambasta has quit [Ping timeout: 272 seconds]
<nakkle>
Hi! I'm trying to automatically discover packages in a directory, so with readDir I filtered for directories containing a default.nix, and then I wanted to `pkgs.callPackage "./${dir}" {}`, but I encountered an error: "string './directory' doesn't represent an absolute path". I can't find a way to convert "./${dir}" into an absolute path. Can anyone help me with that?
<eyJhb>
raboof: I think you can draw a graph
<eyJhb>
But I am no nix ninja
globin has quit [Ping timeout: 260 seconds]
<eyJhb>
(neither command line nor Nix)
codezero3 has joined #nixos
codezero has quit [Read error: Connection reset by peer]
codezero3 is now known as codezero
smatting has quit [Ping timeout: 240 seconds]
smatting has joined #nixos
globin has joined #nixos
malik has joined #nixos
thc202 has joined #nixos
noudle has quit []
<{^_^}>
[nixpkgs] @FRidh merged pull request #93475 → blas: do not report an empty line for every checked symbol → https://git.io/JJcIE
<{^_^}>
[nixpkgs] @FRidh pushed commit from @danieldk to staging « blas: do not report an empty line for every checked symbol »: https://git.io/JJWbY
tarruda has joined #nixos
xd1le has quit [Read error: Connection reset by peer]
xd1le has joined #nixos
abathur has joined #nixos
<nakkle>
okay, apparently you have to format it like this: `./. + "/${dir}"`
ohhaimark[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
<pjt_014>
,locate ag
<{^_^}>
Found in packages: ag, libsForQt5.kdelibs4support
<gordon1>
hi
<gordon1>
i’m struggling with my neovim config, set with home-manager (which relies on the neovim options system-wide): i have installed the defx plugin, but in my `extraConfig`, when i call functions like defx#custom#option, neovim tells me that the function doesn’t exist (but when it starts anyway, i can call this option)
<gordon1>
this probably means that the code in `extraConfig` is run before defx initiatization
abathur has quit [Ping timeout: 264 seconds]
<gordon1>
how can i set config after the plugin init?
whald has quit [Remote host closed the connection]
<sreybastien[m]>
but after reboot, /root doesn't contain the file
<multun>
it's in memory
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<multun>
the live CD doesn't have anywhere safe to store your files, so it doesn't!
<sreybastien[m]>
so how could i copy a file for the future boot during/after install multun
<multun>
well you probably formatted your disk and mounted it somewhere
justanotheruser has quit [Ping timeout: 260 seconds]
<multun>
like /mnt
<multun>
so anything you put in /mnt/... will be saved
<multun>
(after you ran mount YOURDISK /mnt
<sreybastien[m]>
strange i first do that with /mnt/boot, i retry
<davidtwco>
I updated my pinned nixpkgs yesterday, updating Nix and now whenever I run any nix-build (e.g. nix-build <nixpkgs> -A patchelf) then it fails with "Nix daemon out of memory" (nix (Nix) 2.4pre20200719_a79b6dd) - known bug or something I can fix?
<{^_^}>
[nixpkgs] @danielstaleiny opened pull request #93632 → Bump version of postgrest to 7.0.1 → https://git.io/JJWAM
mallox has quit [Quit: WeeChat 2.8]
<fendor>
I think I messed up my lorri installation, I have to invoke lorri shell manually for the shell to become active, and it seems like changes are not picked up
<regnat>
davidtwco: In case you didn't already, maybe restarting your daemon to ensure it's the same version as the client will help
<davidtwco>
regnat: I just did that to no success, system just booted a moment ago.
<davidtwco>
Went back to an older generation because it makes the system fairly unusable.
smatting_ has joined #nixos
smatting has quit [Ping timeout: 256 seconds]
<sreybastien[m]>
ok so stoile
<sreybastien[m]>
* ok so stoile i try with host key into /root but that change nothing
<{^_^}>
[nixpkgs] @domenkozar pushed to haskell-updates « ghc 8.8.4, 8.10.1: disable profiled builds on aarch64 to avoid 2GB output limit »: https://git.io/JJWxQ
<chiiba>
Can I set a port range in `networking.firewall.allowedTCPPorts`?
<dutchie>
you can in `networking.firewall.allowedTCPPortRanges`
evils has quit [Ping timeout: 256 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
evils has joined #nixos
freezeboy has quit [Ping timeout: 245 seconds]
orivej has joined #nixos
<chiiba>
dutchie: Thanks :)
<sreybastien[m]>
one noob question, when you write a path into configuration.nix which lead to a file, this path need to exist before and/or after you regenerate your config ?
<sreybastien[m]>
for example
h0m1 has quit [Quit: WeeChat 2.9]
<sreybastien[m]>
into boot.initrd, the hostECDSAKey = /root/host_ecdsa_key; need to exist before and after generation of system ?
mounty has quit [Ping timeout: 265 seconds]
<sreybastien[m]>
or both ?
h0m1 has joined #nixos
<sreybastien[m]>
is it a link to a host_ecdsa_key or is it encapsulated during generation ?
cfricke has quit [Quit: WeeChat 2.8]
<{^_^}>
[nixpkgs] @sikmir opened pull request #93634 → hyx: enable on darwin → https://git.io/JJWpR
evils has quit [Ping timeout: 240 seconds]
h0m1 has quit [Quit: WeeChat 2.9]
evils has joined #nixos
h0m1 has joined #nixos
globin_ has joined #nixos
Guest64629 has quit [Quit: WeeChat 2.7.1]
<asymmetric>
if anyone was interested: the broken drag-n-drop i was experiencing was due to a faulty libinput.scrollButton config - it was set to the left mouse button
<asymmetric>
so it couldn't drag anymore cause it was used for scrolling
globin has quit [Ping timeout: 256 seconds]
waleee-cl has joined #nixos
asymptotically has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
<immae>
Hello there, I’m a bit surprised about the difference of treatment for these two commands: `nix-env -i -E "{ pkgs ? import <nixpkgs> {}, ... }: { s = assert false; pkgs.hello; }"` and `nix-build -E "{ pkgs ? import <nixpkgs> {} }: { s = assert false; pkgs.hello; }"`. The nix-build one fails (as expected) but the nix-env one just makes a noop. Should I report it somewhere?
<{^_^}>
[nixpkgs] @duairc opened pull request #93635 → nixos/networkd: Add routes from interfaces to [Route] section of .network file → https://git.io/JJWjK
bqv has quit [Ping timeout: 260 seconds]
bkv is now known as bqv
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
<af1cs>
any subsurface users here please highlight me. the settings dialog seem's weirdly reduced and I'm stuck trying to figure out what is wrong with the build
tarzeau has left #nixos [#nixos]
<adisbladis>
af1cs: Could you explain in a bit more detail?
<betaboon_>
adisbladis: damn. i was hoping XD maybe i can write some script that does this for all the installed packages `nix eval '(import <nixpkgs>{}).docker.meta.license'`
betaboon_ is now known as betaboon
<adisbladis>
af1cs: I have a partial fix coming up
elibrokeit has quit [Quit: No Ping reply in 180 seconds.]
LunarLambda has joined #nixos
elibrokeit has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
bahamas has joined #nixos
random has quit [Ping timeout: 240 seconds]
<bahamas>
I tried to create a Docker image out of a mkShell derivation and got: This derivation is not meant to be built. does that mean you're not supposed to build mkShell derivations?
<bahamas>
if yes, how would I create a Docker image out of an environment with multiple tools installed?
<lewo>
bahamas: you just need to add these tools in the contents attribute of buildImage
codygman has quit [Read error: Connection reset by peer]
<bahamas>
lewo: I see. do you know why you can't build a mkShell derivation. I thought it would be neat conceptually to be able to share with someone your shell.nix file or make a Docker image out of it, if they don't want to install Nix
<dminuoso>
Here's a riddle. less has stopped being able to display colors (noticed this from `git diff`). Here's what I have confirmed: This applies to both zsh and bash. Starting the shell with an empty zshrc/bashrc does not fix it, the problem is also unrelated to the terminal emulator. Furthermore, if I switch to root with `su` first, then `git diff` displays colors.
<dminuoso>
I've run `strace -f git diff`, but the only dotfiles consulted are git dotfiles, and all of them are proper.
<dminuoso>
I've went through environment variables left and right.
<dminuoso>
What could possibly cause `less` to not display colors for one user, but display them for another?
<dminuoso>
(This is a sudden regression, I did not run any nixos-rebuild in between)
<af1cs>
I am trying to use kdeconnect; shouldn't kdeconnectd be under /run/current-system/sw? and kdeconnect-app seems to be missing. Am I doing something wrong?
random has joined #nixos
<bahamas>
dminuoso: do you know what option toggles color display? that's where I would look
ottidmes has joined #nixos
<dminuoso>
bahamas: Well, that's the thing. I can replicate it all with just `less -R ./foo`
<dminuoso>
Furtermore
<dminuoso>
`which less` resolves to `/run/current-system/sw/bin/less`
<dminuoso>
So I dont have user specific `less` binaries going on. Both users use the same binary.
cfricke has quit [Quit: WeeChat 2.8]
maier has quit [Ping timeout: 256 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<lewo>
bahamas: no i don't know exactly why you can't build a mkShell. You could however define a variable containing your package set, then use this variable in your mkShell and to build a docker image.
<bahamas>
lewo: yeah, I guess that's the only way
orivej has joined #nixos
<bahamas>
dminuoso: so I think you toggle colors with a switch or with environment variables. but you said that you looked through environment variables. does that mean that you can't toggle colors with environment variables or that the specific env var wasn't set?
<dminuoso>
Oh hah. Wow. I hate myself.
<dminuoso>
I deservet his.
<dminuoso>
nix-env failed me *once again*
<bahamas>
what did it do?
<dminuoso>
I somewhen installed busybox for some reason.
<dminuoso>
and I didnt realize
<dminuoso>
that my assumption about `which less` was false, I didnt check it as my actual user
<dminuoso>
So.. `nix-env --uninstall busybox` does not get rid of `less` from my profile. Am I missing something?
random has quit [Ping timeout: 240 seconds]
gthm has joined #nixos
<reactormonk>
Is there a way to walk the dependencies of a derivation on the repl?
<reactormonk>
I want to enableDebugging for some of them.
smatting_ has quit [Ping timeout: 240 seconds]
e has quit [Ping timeout: 606 seconds]
civodul has quit [*.net *.split]
keving[m] has quit [*.net *.split]
j0hax[m] has quit [*.net *.split]
padok[m] has quit [*.net *.split]
felixfoertsch has quit [*.net *.split]
ggpeti[m] has quit [*.net *.split]
j4ng5y[m] has quit [*.net *.split]
yusdacra[m]1 has quit [*.net *.split]
Yakulu[m] has quit [*.net *.split]
vtest[m] has quit [*.net *.split]
lalala56756[m] has quit [*.net *.split]
nilsirl[m] has quit [*.net *.split]
eddyb[legacy] has quit [*.net *.split]
tnks has quit [*.net *.split]
kitemikaze_ has quit [*.net *.split]
Ericson2314 has quit [*.net *.split]
lvrp16 has quit [*.net *.split]
shu9[m] has quit [*.net *.split]
onny[m] has quit [*.net *.split]
tristan[m] has quit [*.net *.split]
un-cons-cionable has quit [*.net *.split]
chris[m]6 has quit [*.net *.split]
AberDerBart[m] has quit [*.net *.split]
tyrion-mx has quit [*.net *.split]
kueckieben[m] has quit [*.net *.split]
rk04[m] has quit [*.net *.split]
rawas[m] has quit [*.net *.split]
logan12358[m] has quit [*.net *.split]
kraem[m] has quit [*.net *.split]
user51[m] has quit [*.net *.split]
pauricthelodger[ has quit [*.net *.split]
sty86[m] has quit [*.net *.split]
billsun has quit [*.net *.split]
sayanarijit[m] has quit [*.net *.split]
Jake[m] has quit [*.net *.split]
jonreeve[m] has quit [*.net *.split]
init_6 has quit [*.net *.split]
etrigan63[m] has quit [*.net *.split]
gildedlink[m] has quit [*.net *.split]
chrismatheson has quit [*.net *.split]
jojosch[m] has quit [*.net *.split]
chmod222[m] has quit [*.net *.split]
Houtworm[m] has quit [*.net *.split]
marius851000[m] has quit [*.net *.split]
wedens[m] has quit [*.net *.split]
alexherbo2[m] has quit [*.net *.split]
lihram has quit [*.net *.split]
cmcaine[m] has quit [*.net *.split]
zannzen[m] has quit [*.net *.split]
TheSirC[m] has quit [*.net *.split]
ZerataX has quit [*.net *.split]
hazel[m] has quit [*.net *.split]
contrun has quit [*.net *.split]
jschievink has quit [*.net *.split]
xavierm02 has quit [*.net *.split]
M0-[m] has quit [*.net *.split]
grin[m] has quit [*.net *.split]
eddyb has quit [*.net *.split]
vaibhavsagar has quit [*.net *.split]
Ke has quit [*.net *.split]
leons has quit [*.net *.split]
jluttine[m] has quit [*.net *.split]
hiroshi[m] has quit [*.net *.split]
qbit[m] has quit [*.net *.split]
timclassic has quit [*.net *.split]
colemickens has quit [*.net *.split]
digitalgrease has quit [*.net *.split]
SOO7 has quit [*.net *.split]
johanot has quit [*.net *.split]
Cadey has quit [*.net *.split]
kitemikaze__ is now known as kitemikaze_
ldlework has quit [*.net *.split]
rummik has quit [*.net *.split]
heijligen has quit [*.net *.split]
tnks_ is now known as tnks
noneucat has quit [Remote host closed the connection]
sauyon[m] has quit [Remote host closed the connection]
scatteredray[m] has quit [Remote host closed the connection]
nrdxp[m] has quit [Remote host closed the connection]
blahaj[m] has quit [Remote host closed the connection]
michael[m]4 has quit [Read error: Connection reset by peer]
bendlas has quit [Remote host closed the connection]
movsxd[m]1 has quit [Remote host closed the connection]
mathyouguy has quit [Read error: Connection reset by peer]
themihas[m] has quit [Remote host closed the connection]
basilbunting[m] has quit [Read error: Connection reset by peer]
Irenes[m] has quit [Read error: Connection reset by peer]
Jan-HenrikBruhn[ has quit [Read error: Connection reset by peer]
philipp[m] has quit [Read error: Connection reset by peer]
theduke has quit [Read error: Connection reset by peer]
yutyo[m] has quit [Read error: Connection reset by peer]
balsoft has quit [Read error: Connection reset by peer]
nicolas[m]1 has quit [Read error: Connection reset by peer]
redcedar[m] has quit [Read error: Connection reset by peer]
jneplokh has quit [Read error: Connection reset by peer]
jaewest304[m] has quit [Write error: Connection reset by peer]
infinisil-m has quit [Read error: Connection reset by peer]
efra[m] has quit [Read error: Connection reset by peer]
Hayden[m] has quit [Write error: Connection reset by peer]
rellen[m] has quit [Read error: Connection reset by peer]
guiber[m] has quit [Read error: Connection reset by peer]
aloiscochard[m] has quit [Write error: Connection reset by peer]
iwvt[m] has quit [Remote host closed the connection]
cjbassi[m]1 has quit [Read error: Connection reset by peer]
gnxlxnxx[m] has quit [Read error: Connection reset by peer]
icetan has quit [Read error: Connection reset by peer]
regivanx[m] has quit [Read error: Connection reset by peer]
freeman42x[m] has quit [Read error: Connection reset by peer]
sputny[m] has quit [Read error: Connection reset by peer]
AmitLevy[m] has quit [Read error: Connection reset by peer]
bachp has quit [Read error: Connection reset by peer]
worldofpeace has quit [Read error: Connection reset by peer]
davidak[m] has quit [Read error: Connection reset by peer]
acys[m] has quit [Read error: Connection reset by peer]
hienergy[m] has quit [Read error: Connection reset by peer]
HackerFoo[m] has quit [Read error: Connection reset by peer]
musicmatze[m] has quit [Read error: Connection reset by peer]
p_m[m] has quit [Read error: Connection reset by peer]
spazzpp2[m] has quit [Read error: Connection reset by peer]
puzzlewolf has quit [Read error: Connection reset by peer]
yurb has quit [Read error: Connection reset by peer]
alexarice[m] has quit [Read error: Connection reset by peer]
alexfmpe has quit [Write error: Connection reset by peer]
thefloweringash has quit [Read error: Connection reset by peer]
antpic01[m] has quit [Read error: Connection reset by peer]
Caleb[m]1 has quit [Read error: Connection reset by peer]
hleb[m] has quit [Read error: Connection reset by peer]
rschulman has quit [Read error: Connection reset by peer]
GerdFlaig[m] has quit [Read error: Connection reset by peer]
sghir_med[m] has quit [Read error: Connection reset by peer]
emily has quit [Remote host closed the connection]
kuramashinobi13[ has quit [Write error: Connection reset by peer]
d3c[m] has quit [Remote host closed the connection]
pitch has quit [Read error: Connection reset by peer]
siraben has quit [Read error: Connection reset by peer]
toraritte has quit [Read error: Connection reset by peer]
haaksmash[m] has quit [Read error: Connection reset by peer]
dammndot[m] has quit [Read error: Connection reset by peer]
Rian[m] has quit [Read error: Connection reset by peer]
sab7iryudpgf6[m] has quit [Read error: Connection reset by peer]
jameshjacksonjr4 has quit [Read error: Connection reset by peer]
Fuzen has quit [Read error: Connection reset by peer]
nh2[m] has quit [Read error: Connection reset by peer]
l33[m] has quit [Read error: Connection reset by peer]
jgart[m] has quit [Read error: Connection reset by peer]
chreekat[m] has quit [Remote host closed the connection]
srid has quit [Read error: Connection reset by peer]
rnhmjoj has quit [Read error: Connection reset by peer]
comrandroxaos[m] has quit [Read error: Connection reset by peer]
dbirks[m] has quit [Read error: Connection reset by peer]
bennofs[m] has quit [Read error: Connection reset by peer]
printfn[m] has quit [Read error: Connection reset by peer]
dngray has quit [Read error: Connection reset by peer]
neonfuz2 has quit [Read error: Connection reset by peer]
mattock[m] has quit [Read error: Connection reset by peer]
mdlayher1 has quit [Read error: Connection reset by peer]
codyopel has quit [Remote host closed the connection]
hmpffff[m] has quit [Remote host closed the connection]
jangsentry10032[ has quit [Remote host closed the connection]
vojta001[m] has quit [Remote host closed the connection]
koschitzky[m] has quit [Write error: Connection reset by peer]
Vykook[m] has quit [Remote host closed the connection]
flip[m] has quit [Remote host closed the connection]
faya01[m] has quit [Remote host closed the connection]
nikola[m] has quit [Remote host closed the connection]
Xamino[m]1 has quit [Read error: Connection reset by peer]
grahamc[m] has quit [Read error: Connection reset by peer]
leonardp has quit [Read error: Connection reset by peer]
danielrf[m] has quit [Read error: Connection reset by peer]
vpfeiffer[m] has quit [Read error: Connection reset by peer]
maralorn has quit [Read error: Connection reset by peer]
kriteus[m] has quit [Read error: Connection reset by peer]
lpetoroot[m] has quit [Read error: Connection reset by peer]
l-as has quit [Read error: Connection reset by peer]
michaelpj has quit [Read error: Connection reset by peer]
das-g[m] has quit [Read error: Connection reset by peer]
mkfart[m] has quit [Read error: Connection reset by peer]
felschr[m] has quit [Read error: Connection reset by peer]
MawKKe[m] has quit [Read error: Connection reset by peer]
quiet_laika[m] has quit [Read error: Connection reset by peer]
ongy[m] has quit [Read error: Connection reset by peer]
notmatthew[m] has quit [Read error: Connection reset by peer]
NobbZ[m] has quit [Read error: Connection reset by peer]
koozz[m] has quit [Read error: Connection reset by peer]
petersjt014[m] has quit [Read error: Connection reset by peer]
atemu12[m] has quit [Read error: Connection reset by peer]
rednaZ[m] has quit [Read error: Connection reset by peer]
l_inus[m] has quit [Read error: Connection reset by peer]
ilya-fedin has quit [Read error: Connection reset by peer]
yangm has quit [Read error: Connection reset by peer]
Nacho[m]1 has quit [Read error: Connection reset by peer]
inquisitiv3 has quit [Remote host closed the connection]
Criena[m] has quit [Remote host closed the connection]
truh[m] has quit [Remote host closed the connection]
easamuilov[m] has quit [Remote host closed the connection]
Strubbl[m] has quit [Read error: Connection reset by peer]
joschi has quit [Read error: Connection reset by peer]
tinamus[m] has quit [Read error: Connection reset by peer]
likivik[m] has quit [Read error: Connection reset by peer]
d4rkshad0w has quit [Write error: Connection reset by peer]
bohan[m] has quit [Read error: Connection reset by peer]
Smith[m]1 has quit [Write error: Connection reset by peer]
Addison[m] has quit [Write error: Connection reset by peer]
shider[m] has quit [Write error: Connection reset by peer]
adit[m] has quit [Write error: Connection reset by peer]
MilkManzJourDadd has quit [Read error: Connection reset by peer]
sonerhalis[m] has quit [Remote host closed the connection]
ryantm has quit [Read error: Connection reset by peer]
cryptix has quit [Read error: Connection reset by peer]
Soarin[m] has quit [Read error: Connection reset by peer]
Valodim[m] has quit [Read error: Connection reset by peer]
slabity has quit [Remote host closed the connection]
frobenius[m] has quit [Remote host closed the connection]
bqy has quit [Write error: Connection reset by peer]
JameySharp[m] has quit [Write error: Connection reset by peer]
wangoe[m] has quit [Write error: Connection reset by peer]
Aljosha[m] has quit [Write error: Connection reset by peer]
gs93 has quit [Read error: Connection reset by peer]
hsngrmpf[m] has quit [Write error: Connection reset by peer]
Stphan[m] has quit [Write error: Connection reset by peer]
Philipp[m]5 has quit [Write error: Connection reset by peer]
chvp has quit [Write error: Connection reset by peer]
mullein[m] has quit [Write error: Connection reset by peer]
eadwu[m] has quit [Remote host closed the connection]
aterius has quit [Read error: Connection reset by peer]
kaychaks_riot1 has quit [Read error: Connection reset by peer]
piotrszegda[m] has quit [Remote host closed the connection]
haslersn has quit [Write error: Connection reset by peer]
regnat has quit [Read error: Connection reset by peer]
trewqasad1[m] has quit [Remote host closed the connection]
TimePath has quit [Remote host closed the connection]
sreybastien[m] has quit [Remote host closed the connection]
faewenys[m] has quit [Remote host closed the connection]
therivercass[m] has quit [Remote host closed the connection]
catharsis_[m] has quit [Write error: Connection reset by peer]
sparogy has quit [Write error: Connection reset by peer]
hsiktas[m] has quit [Write error: Connection reset by peer]
aanderse has quit [Remote host closed the connection]
tlater[m] has quit [Remote host closed the connection]
mica[m] has quit [Remote host closed the connection]
edrex has quit [Remote host closed the connection]
pucilpet[m] has quit [Write error: Connection reset by peer]
nlgila[m] has quit [Write error: Broken pipe]
Dandellion has quit [Write error: Connection reset by peer]
vegai1 has quit [Remote host closed the connection]
wak-work has quit [Write error: Connection reset by peer]
nanashi0x74[m] has quit [Remote host closed the connection]
fgaz has quit [Write error: Connection reset by peer]
aquarial has quit [Write error: Broken pipe]
hpfr[m] has quit [Write error: Connection reset by peer]
drozdziak1 has quit [Write error: Connection reset by peer]
dxu[m] has quit [Write error: Connection reset by peer]
tokudan[m] has quit [Write error: Connection reset by peer]
alj[m] has quit [Write error: Connection reset by peer]
epitron[m] has quit [Write error: Connection reset by peer]
aleph9[m] has quit [Remote host closed the connection]
pablo1107[m] has quit [Remote host closed the connection]
sebass[m] has quit [Write error: Broken pipe]
ibinzari[m] has quit [Write error: Connection reset by peer]
bbigras has quit [Write error: Connection reset by peer]
Superleaf1995 has quit [Write error: Connection reset by peer]
sabry97[m] has quit [Write error: Connection reset by peer]
terrymunro[m] has quit [Write error: Broken pipe]
pinion[m] has quit [Write error: Connection reset by peer]
Wouter[m]1 has quit [Write error: Connection reset by peer]
Luigi[m] has quit [Write error: Connection reset by peer]
qryptic[m] has quit [Write error: Connection reset by peer]
gsals[m] has quit [Write error: Connection reset by peer]
gcoakes[m] has quit [Write error: Connection reset by peer]
jlv has quit [Write error: Connection reset by peer]
theotherjimmy[m] has quit [Remote host closed the connection]
unclechu has quit [Write error: Connection reset by peer]
bricewge has quit [Write error: Connection reset by peer]
zrsk[m] has quit [Write error: Connection reset by peer]
mcds[m] has quit [Write error: Connection reset by peer]
dxb[m] has quit [Write error: Connection reset by peer]
Lars[m]4 has quit [Remote host closed the connection]
pjhenning[m] has quit [Remote host closed the connection]
ChrisOboe[m] has quit [Remote host closed the connection]
gh0st[m] has quit [Remote host closed the connection]
ndarilek has quit [Remote host closed the connection]
srxl has quit [Remote host closed the connection]
delroth[m] has quit [Remote host closed the connection]
AlesHuzik[m]1 has quit [Remote host closed the connection]
joghuru[m] has quit [Remote host closed the connection]
evanjs[m] has quit [Write error: Connection reset by peer]
rascencio[m] has quit [Write error: Connection reset by peer]
ptotter[m] has quit [Write error: Connection reset by peer]
mbick[m] has quit [Write error: Broken pipe]
syds[m] has quit [Write error: Connection reset by peer]
mt[m] has quit [Write error: Connection reset by peer]
rgamma[m] has quit [Write error: Connection reset by peer]
azazel has quit [Write error: Connection reset by peer]
yochai[m] has quit [Remote host closed the connection]
Poscat[m] has quit [Remote host closed the connection]
mindtree[m] has quit [Write error: Connection reset by peer]
axx has quit [Write error: Connection reset by peer]
utdemir[m] has quit [Write error: Connection reset by peer]
apple_at_cha[m] has quit [Write error: Connection reset by peer]
JJJollyjim has quit [Write error: Connection reset by peer]
solomon[m] has quit [Write error: Connection reset by peer]
domenkozar[m] has quit [Remote host closed the connection]
DamienCassou has quit [Write error: Connection reset by peer]
alienpirate5 has quit [Write error: Connection reset by peer]
jtojnar has quit [Write error: Connection reset by peer]
watzon has quit [Write error: Connection reset by peer]
matthewbauer has quit [Remote host closed the connection]
denbrahe[m] has quit [Write error: Connection reset by peer]
kai_w has quit [Write error: Connection reset by peer]
tskc[m]1 has quit [Write error: Connection reset by peer]
Notkea[m] has quit [Read error: Connection reset by peer]
atgo[m] has quit [Write error: Connection reset by peer]
daraul[m] has quit [Write error: Connection reset by peer]
joey_tribbiianii has quit [Write error: Connection reset by peer]
mlatus[m] has quit [Write error: Connection reset by peer]
emmanuelrosa[m] has quit [Read error: Connection reset by peer]
porphyrogenetos has quit [Read error: Connection reset by peer]
idontgetoutmuch[ has quit [Read error: Connection reset by peer]
Markus[m]2 has quit [Read error: Connection reset by peer]
rycee has quit [Read error: Connection reset by peer]
phirsch has quit [Read error: Connection reset by peer]
ma27[m] has quit [Read error: Connection reset by peer]
ice7[m] has quit [Read error: Connection reset by peer]
blindidiotgod has quit [Read error: Connection reset by peer]
lwbcdt[m] has quit [Read error: Connection reset by peer]
arcnmx has quit [Read error: Connection reset by peer]
exel[m]1 has quit [Remote host closed the connection]
Minijackson[m] has quit [Write error: Connection reset by peer]
scratch171[m] has quit [Write error: Connection reset by peer]
cyberwolf[m] has quit [Remote host closed the connection]
observer_alpha[m has quit [Write error: Connection reset by peer]
boogiewoogie[m] has quit [Remote host closed the connection]
sshow[m] has quit [Write error: Connection reset by peer]
CRTified[m] has quit [Write error: Connection reset by peer]
guelosk[m] has quit [Read error: Connection reset by peer]
tsrt^ has quit [Max SendQ exceeded]
stites[m] has quit [Write error: Connection reset by peer]
mlvzk[m] has quit [Remote host closed the connection]
jlv[m] has quit [Write error: Connection reset by peer]
davegallant[m] has quit [Write error: Connection reset by peer]
hydridity[m] has quit [Write error: Connection reset by peer]
sneknek[m] has quit [Write error: Connection reset by peer]
j0hax[m]1 has quit [Write error: Connection reset by peer]
Ox4A6F1 has quit [Write error: Connection reset by peer]
deraffe[m] has quit [Write error: Connection reset by peer]
jjwatt[m] has quit [Write error: Connection reset by peer]
frim[m] has quit [Write error: Connection reset by peer]
khassanov[m] has quit [Write error: Connection reset by peer]
timokau[m] has quit [Write error: Connection reset by peer]
sasyctu[m] has quit [Write error: Connection reset by peer]
kuznero[m] has quit [Write error: Connection reset by peer]
roberth has quit [Write error: Connection reset by peer]
quidome[m] has quit [Write error: Connection reset by peer]
fresheyeball[m] has quit [Write error: Connection reset by peer]
cab404[m] has quit [Write error: Connection reset by peer]
ptol3my[m] has quit [Write error: Connection reset by peer]
yoctocell[m] has quit [Write error: Connection reset by peer]
M|[m]1 has quit [Write error: Connection reset by peer]
tbenst[m] has quit [Write error: Connection reset by peer]
demize has quit [Ping timeout: 260 seconds]
atopuzov[m] has quit [Write error: Connection reset by peer]
nanashi0x74Old[m has quit [Write error: Connection reset by peer]
tsrt^ has joined #nixos
johanot has joined #nixos
digitalgrease has joined #nixos
lvrp16 has joined #nixos
eddyb[legacy] has joined #nixos
civodul has joined #nixos
rummik has joined #nixos
ldlework has joined #nixos
heijligen has joined #nixos
Cadey has joined #nixos
SOO7 has joined #nixos
demize has joined #nixos
nonickname has quit [Ping timeout: 258 seconds]
maier has joined #nixos
<bahamas>
dminuoso: did you get any output from that command? I ask because at some point, it didn't for me. I ran it the next day and that time it worked
nonickname has joined #nixos
<dminuoso>
bahamas: Super strange. I reran it after a reboot, and now its gone..
<dminuoso>
bahamas: Dunno, it was before a reobot.
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<bahamas>
reactormonk: I would look at how nix-copy-closure does it
ckauhaus has joined #nixos
<{^_^}>
[nixpkgs] @SCOTT-HAMILTON opened pull request #93645 → lxsession: init at 0.5.5 → https://git.io/JJlkg
<reactormonk>
bahamas, that looks like c++ land, not sure I can invoke that from the repl
<Reventlov>
Hi. I'm trying to use systemd-boot (without grub) on a virtual machine image for Nixos, but I'm not sure of the steps. Would you have any hint?
e has joined #nixos
<Reventlov>
I tried systemd-boot.enable, with efi.canTouchEfiVariables, as well as a /boot/efi fat32 filesystem, but I'm getting "Failed to open file system "/dev/block/254:1": No such file or directory" in stage 2.
xd1le has quit [Remote host closed the connection]
<bahamas>
reactormonk: the only other solution that comes to mind would be to start from the buildInputs and nativeBuildInputs attributes of your derivation
<bahamas>
and recursively go through each item in those lists
<numkem>
Reventlov: I'm fairly sure you need to enable EFI boot in the VM's configuration
<Reventlov>
numkem: yeah, but this is the stage 2 that's failing ("inside" the scripts from nix)
<reactormonk>
I'm trying to use `enableDebugging` on a derivation I found down the tree... now I get an error that `override` isn't defined on that derivation. Can confirm. Any way to get debugging symbols for that lib otherwise? Preferably without rebuilding the whole tree.
<numkem>
Reventlov: I've only started a few days ago to look into the VM building part so I'm really not an expert but have you tried to build your config through `nixos-rebuild build-vm`?
<Reventlov>
i'm not using nixos
<Reventlov>
only nix
<numkem>
Reventlov: oh, in that case I don't think I can help, sorry
<numkem>
Reventlov: but I'm currious, if it fails in Stage 2 it means it actually did boot
<Reventlov>
yeah, let me get you the log
<immae>
There are two "boots", a VM is spawned (this one works) that will make the install on a mounted virtual drive (this one fails due to systemd-boot)
<numkem>
Reventlov: I'd say it would be in the nix-store, if you remove the "--no-out-link" it would probably give you where it is. But since it failed it's possible it doesn't do that
ManiacOfMadness has quit [Ping timeout: 272 seconds]
fendor_ has quit [Remote host closed the connection]
<reactormonk>
How can I replace a derivation somewhere 3 levels deep of buildInputs?
ManiacOfMadness has joined #nixos
<infinisil>
reactormonk: overlays can be used for that
h0m1 has quit [Quit: WeeChat 2.9]
<reactormonk>
infinisil, looks useful, thanks!
<infinisil>
Like, write an overlay to change X how you want it. Anything that depends on X will then use the changed version instead, for the whole nixpkgs set
pamplemousse has joined #nixos
h0m1 has joined #nixos
<{^_^}>
[nixpkgs] @sikmir opened pull request #93649 → glogg: enable on darwin → https://git.io/JJlqY
meh` has quit [Ping timeout: 246 seconds]
gustavderdrache has joined #nixos
<garbas>
sphalerite: sorry it took me some days to reply. would you have time tomorrow evening?
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
<reactormonk>
infinisil, yup, now to wait for the rebuild ^^
smatting_ has joined #nixos
abathur has joined #nixos
ardumont has quit [Ping timeout: 256 seconds]
domogled has quit [Quit: domogled]
ddellacosta has joined #nixos
Maxdamantus has quit [Ping timeout: 240 seconds]
musicmatze[m] is now known as musicmatze
Maxdamantus has joined #nixos
abathur has quit [Ping timeout: 240 seconds]
smatting_ has quit [Ping timeout: 240 seconds]
abathur has joined #nixos
ardumont has joined #nixos
noudle has joined #nixos
my_socks_have_ho has joined #nixos
my_socks_have_ho has quit [Remote host closed the connection]
ManiacOfMadness has quit [Ping timeout: 272 seconds]
indiana_jones has joined #nixos
drakonis has quit [Quit: WeeChat 2.8]
ManiacOfMadness has joined #nixos
cybrian has joined #nixos
nixuser_ has quit [Read error: Connection reset by peer]
<raboof>
the nixpkgs manual (https://nixos.org/nixpkgs/manual/) has a 2-level ToC. Was it always like this? I wonder if it'd be nicer to have a 3-level ToC.
andi- has quit [Ping timeout: 260 seconds]
<raboof>
I found myself looking for the 'Languages and Frameworks' section, opening the nixpkgs manual, not recognizing it and checking the nixos and nix manuals as well :D
__monty__ has joined #nixos
<duairc>
Is there a way of making a type (in the NixOS module system sense of the word "type") so that values assigned to an option of that type get "normalized" automatically?
<zanc>
srhb: `man nix-build | col -b | grep check` gave me nothing
user_0x58 has joined #nixos
andi- has joined #nixos
<simpson>
zanc: Oh, sure, it's a secret flag from the secret menu. Sorry, I mean, what happened with your original derivation that is requiring you to force a rebuild? Maybe your situation can be improved.
<adisbladis>
zanc: It's implicitly included: "All options not listed here are passed to nix-store --realise"
<adisbladis>
Which _does_ have `--check` documented
jflanglois has quit [Remote host closed the connection]
<zanc>
simpson: nothing, just curious :^)
noudle has quit []
nijzat is now known as tazjin
<{^_^}>
[nixpkgs] @LouisDK1 opened pull request #93651 → hunspell-dicts: add support for Danish dictionary → https://git.io/JJlGc
<{^_^}>
[nixpkgs] @xfix opened pull request #93656 → rustc: use LLVM 10 → https://git.io/JJlcC
pamplemousse has joined #nixos
<Reventlov>
colemickens: oh no
<Reventlov>
let me find this
<aleph->
Hmm and teleport changed stuff in their build proc it seems. Bother.
mwelt has joined #nixos
<Reventlov>
colemickens: do you have the issue id?
zupo has joined #nixos
<Reventlov>
(nevermind found it)
<mwelt>
Hi @all. Short question. After following the guide on nvidia cards in laptops with additional on-chip gfx (intel), and using the `sync mode` for 20.03 description, I have no glx extension in X. X switches to nvidia hardware correctly, but seems to not load any 3D extension.
<Reventlov>
colemickens: thanks :p
Soo_Slow has quit [Quit: Soo_Slow]
<aleph->
Hmm is there a function to rewrite paths and the like in a makefile?
<reactormonk>
can I ask the nix-daemon what it's currently building?
simba2 has quit [Ping timeout: 244 seconds]
<infinisil>
reactormonk: Not really, but you can use e.g. nix-top to have a process listing of nix builds
<{^_^}>
[nixpkgs] @vbgl pushed to master « ocamlPackages.tsort: init at 2.0.0 »: https://git.io/JJlBe
magnetophon has quit [Remote host closed the connection]
fendor_ has joined #nixos
reanimus has joined #nixos
<grfn>
bj:e
random has joined #nixos
wnklmnn has quit [Read error: Connection reset by peer]
wnklmnn has joined #nixos
drakonis has joined #nixos
domogled has joined #nixos
orivej_ has joined #nixos
domogled1 has joined #nixos
domogled has quit [Ping timeout: 240 seconds]
domogled1 is now known as domogled
orivej has quit [Ping timeout: 260 seconds]
fendor_ has quit [Ping timeout: 264 seconds]
<nilsirl[m]>
Is there a way to change the configuration.nix location (like on guix)?
<c00w>
betawaffle: thanks :)
capt_zap has quit [Read error: Connection reset by peer]
<qyliss>
nilsirl[m]: it's looked up as nixos-config in your NIX_SPATH
<qyliss>
*NIX_PATH
<qyliss>
You can set nix.nixPath in your configuration to make future rebuilds look elsewhere by default
<qyliss>
e.g. nix.nixPath = [ "nixos-config=/path/to/configuration.nix" ];
mallox has joined #nixos
<nilsirl[m]>
qyliss: Thank you very much
capt_zap has joined #nixos
<Church->
Nice to know
secretspecter has quit [Ping timeout: 244 seconds]
ardumont_ has joined #nixos
ardumont has quit [Ping timeout: 244 seconds]
orivej_ has quit [Ping timeout: 260 seconds]
fendor_ has joined #nixos
orivej has joined #nixos
katrin has quit [Quit: mewp]
secretspecter has joined #nixos
katrin has joined #nixos
xelxebar has quit [Ping timeout: 240 seconds]
xelxebar has joined #nixos
random has quit [Ping timeout: 256 seconds]
<nilsirl[m]>
🤦♂️I just `rm /etc/nixos/configuration.nix`. What can I do? I managed to recover some stuff from vim swap files and have undo files. But apart from that. Is there anything that I can do?
<secretspecter>
how can I use a modified ~/nixpkgs in my /etc/nixos/configuration.nix? or should I not even
<secretspecter>
@nilsir[m] can you recover from a previous generation at boot?
<nilsirl[m]>
secretspecter: NIX_PATH and nix.nixPath is what you need to change the nixpkgs location
<nilsirl[m]>
<secretspecter "@nilsir[m] can you recover from "> How?
<kuramashinobi13[>
what do i have to do if qt5 doesnt save its settings
<kuramashinobi13[>
qt5ct seems to apply them but only once
<kuramashinobi13[>
when i close it and open again theyre gone
<{^_^}>
[nixpkgs] @chkno opened pull request #93665 → checkbashisms: Remove. Available in debian-devscripts → https://git.io/JJl0p
fendor_ has quit [Ping timeout: 265 seconds]
user_0x58 has quit [Remote host closed the connection]
<secretspecter>
nilsirl[m]: when I boot it gives me the chance to select a previous generation in the grub(?) menu. Doing nothing boots the latest. I don't know how this effects your configuration file though
<virus_dave>
Which package contains `strings` binary ?
user_0x58 has joined #nixos
<etu>
virus_dave: binutils
<etu>
,locate bin strings
<{^_^}>
Found in packages: toybox, busybox, binutils-unwrapped, llvmPackages.bintools
laurynas has joined #nixos
<{^_^}>
[nixops] @grahamc opened pull request #1388 → ResourceState.definition_type: introduce for run-time accessible definition type validation → https://git.io/JJlEI
laurynas is now known as sirwal
wnklmnn has quit [Ping timeout: 264 seconds]
<nilsirl[m]>
<secretspecter "nilsirl: when I boot it gives me"> yeah, but I don't think I can recover configuration.nix from this
<kuramashinobi13[>
guys PWEASE
<kuramashinobi13[>
what to do with qt5
malik has joined #nixos
<kuramashinobi13[>
if it doesnt apply settings permanently
codygman has quit [Ping timeout: 240 seconds]
codygman has joined #nixos
malik has quit [Client Quit]
gthm has quit [Ping timeout: 260 seconds]
domogled has quit [Ping timeout: 240 seconds]
malik has joined #nixos
domogled has joined #nixos
cantstanya has quit [Ping timeout: 240 seconds]
abathur has joined #nixos
proofofkeags has quit [Remote host closed the connection]
xelxebar has quit [Remote host closed the connection]
<srhb>
nilsirl[m]: There's no default-activated backup mechanism for it, no.
xelxebar has joined #nixos
<srhb>
nilsirl[m]: Most people tend to use a git repo or something for it, and push it off elsewhere.
<srhb>
nilsirl[m]: But after the fact, that's not very helpful.
maier has joined #nixos
<srhb>
(There is an option to copy it on activation, but that's really only that file, not any imported expressions, so git repo + backup really is better)
ichronic has joined #nixos
Thra11 has joined #nixos
<ichronic>
Having a strange issue with my display-manager through configuration.nix.
<ichronic>
I'm wanting to do `services.xserver.displayManager.lightdm.background = background.png;`. When I run nixos-rebuild switch and restart the display manager, it shows the new background, but switches to the default within a few seconds.
nonickname has quit [Ping timeout: 260 seconds]
proofofkeags has joined #nixos
maier has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 240 seconds]
<nilsirl[m]>
<srhb "(There is an option to copy it o"> I deleted it trying to move it to a git repository 🤦♂️
<jco>
More specifically, how to access the location of the reason-language-server executable?
<buffet>
hey, when i package something and use niv to manage the source, are there any best pracices on what to do with the version field? (or is it optional maybe even?)
<manveru>
does anyone know a good way to capture the pids of processes that initiate connections via loopback (and disconnect immediately)?
rustybolt has joined #nixos
<manveru>
atm i have `lsof -r 1 -nPi :8200`, but a resolution of 1 second is too low :|
joem86 has joined #nixos
<clever>
manveru: tcpdump -i lo
<manveru>
does tcpdump capture pids?
<clever>
ah, yeah, for that you would want iptables
* clever
looks
<manveru>
i have tons of logs like `http: TLS handshake error from 10.0.0.10:54122: write tcp4 10.0.0.10:8200->10.0.0.10:54122: write: connection reset by peer`, but no clue what's at :54122 :P
domogled has quit [Remote host closed the connection]
duckfullstop has quit [Quit: Why do you need...?]
duckfullstop has joined #nixos
<eyJhb>
I need some Nix foo. If I have a attrSet { somesetting = false; }, and I want to merge with { bookmarks = false; } if cfg.bookmarks != null, how should I go about that?
<eyJhb>
I am in doubt of how the if statement should look
<eyJhb>
Should it be { something = false; } // { if (cfg.bookmarks != null) then bookmarks = false; else } , or how should I go about it?
<theotherjimmy[m]>
optionalAttrs is probably the lib function you're looking for eyjhb
<sreybastien[m]>
Hi, perhaps someone specialized on crypto / Luks could help me to understand something, i finally find the way to configure correctly LVM + LUKS. I'm not sure my config is ok because the passphrase is only asked one time at stage 1, and not two time like many doc says. Anyone as similar config ?
<sreybastien[m]>
so /nixos is mounted into /mnt, and /dev/sda2 is mount into /mnt, so normaly /boot is also encrypted, no ?
<nilsirl[m]>
Hi, I don't understand how to customize the kernel as shown here: https://nixos.org/nixos/manual/index.html#sec-linux-config-customizing. Where exactly am I supposed to place the snippet? In a `nixpkgs.config.packageOverrides`? what is `custom-kernel` supposed to be set to?
maier has joined #nixos
capt_zap_ has joined #nixos
zupo has quit [Ping timeout: 258 seconds]
<clever>
nilsirl[m]: the first codeblock there is showing you exactly what to set it to
alexherbo2 has joined #nixos
<{^_^}>
[nixpkgs] @jtojnar opened pull request #93674 → python.pkgs.fontforge: disable with Python 2 → https://git.io/JJlVT
capt_zap has quit [Ping timeout: 240 seconds]
capt_zap_ has quit [Read error: Connection reset by peer]
capt_zap_ has joined #nixos
orivej_ has joined #nixos
maier has quit [Ping timeout: 240 seconds]
fresheyeball has joined #nixos
orivej has quit [Read error: Connection reset by peer]
fresheyeball has quit [Ping timeout: 258 seconds]
fresheyeball has joined #nixos
nullxero has joined #nixos
<matthiaskrgr>
how can I find if the system my program runs on is nixos?
<matthiaskrgr>
is there an env-var I can read for example?
<nilsirl[m]>
clever: but where do I put that? I tried putting it in `nixpkgs.config.packageOverrides` but I got the error "error: undefined variable 'super'"
<infinisil>
mathyouguy: /etc/os-release contains info on that
<clever>
now its closer to the number given by `nix path-info -Ss`
capt_zap_ has quit [Ping timeout: 258 seconds]
smatting_ has joined #nixos
<{^_^}>
[nixpkgs] @blaggacao opened pull request #93680 → Da kube3d update → https://git.io/JJlrP
<fresheyeball>
clever++
<{^_^}>
clever's karma got increased to 485
<fresheyeball>
thanks this gives me something to work with
<colemickens>
Is it just me? "OSError: [Errno 8] Exec format error: '/nix/store/0yjyqy39s4jflyiww0xcfqbp81x6h9lz-append-initrd-secrets/bin/append-initrd-secrets'". I am on unstable-small, but there's no open issues and I've been changing a lot of things locally. :s
<clever>
colemickens: what are the contents of that file?
<colemickens>
clever: a relatively normalish looking bash script?
capt_zap has joined #nixos
<clever>
colemickens: and the #! is pointing to a normal bash?
<fresheyeball>
clever: so I learned something interesting
<fresheyeball>
I depend on nodejs, as a runtime dep
<fresheyeball>
because executing the unit tests uses it
<colemickens>
Hm. I have likely cross wired something from working on my pi config and infected my desktop config.
<clever>
fresheyeball: see also, nix why-depends
simba2 has quit [Ping timeout: 272 seconds]
<fresheyeball>
clever: that's how I learned it!
<colemickens>
I do get the exec error frm the bash in that script
<clever>
colemickens: run file on that bash, what does it say?
erasmas has quit [Quit: leaving]
<fresheyeball>
anyway though, this is a prod build for docker. We are not going to run the unit tests with nodejs at runtime.
<colemickens>
clever: it's just revealing more shame /nix/store/4la2w29x16vnm4fwcz7qfs0m45dgb8hl-bash-4.4-p23/bin/bash: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /nix/store/m8bf13rs66kp41nplyjwdalci8kxac3m-glibc-2.31/lib/ld-linux-aarch64.so.1, for GNU/Linux 2.6.32, not stripped
<fresheyeball>
clever: how can I break this linkage?
<clever>
fresheyeball: dont include the path to nodejs in your $out
<fresheyeball>
if I make a new drv that symlinks in the subset of deps, it still depends on nodejs at runtime, even though the tests are not even available
<clever>
fresheyeball: either use sed to modify it, or delete that file in postInstall
<clever>
colemickens: and are you on an aarch64 machine?
<fresheyeball>
clever: I am not including it in $out
<clever>
fresheyeball: what did why-depends say?
<fresheyeball>
it said node was referenced in the shebang of a script
<clever>
fresheyeball: then its in the $out, as the #! of a script
<fresheyeball>
oic
<clever>
fresheyeball: you probably want to delete that script
<colemickens>
so presumably if I were causing this script to be generated with aarch64, then the string "aarch64" would likely occur somewhere in my config, yeah?
<clever>
colemickens: if you dont force the cpu type, it defaults to whatever cpu the nix-build binary was built for
<clever>
fresheyeball: now we have an error, but its not obvious what it means
<duairc>
exarkun: It's not exactly what you're asking for, but there is preScript
<colemickens>
clever: in this case the build is entirely driven and executing on "x86_64-linux" (and the build machine is the target machine)
<clever>
colemickens: then having aarch64 binaries is weird, what command did you run?
<duairc>
I'm writing a NixOS module that references values from the config it's given and I'm having to go pretty far out of my way to avoid running into infinite recursion. I'm wondering if there's an easier way
<clever>
duairc: can you pastebin the module?
<duairc>
clever: It's massive, but I'll try to make a minimal version
cosimone_ has joined #nixos
cosimone has quit [Ping timeout: 260 seconds]
<exarkun>
duairc: thanks... looks like it requires a new nixpkgs than I have atm :/ will put it on my list of reasons to upgrade
<exarkun>
related... do systemd sys-devices-virtual-net-....device units work inside nixos containers?
<exarkun>
(they don't seem to)
<exarkun>
(otoh who can tell with systemd)
cole-h has quit [Quit: Goodbye]
<duairc>
clever: But the short story is: I want to be able to say `config = mkMerge [ { a = ...; b = ...; } {a = ...; b = ...; } ];`, but instead I have to say `config = { a = mkMerge [..., ...]; b = mkMerge [..., ...] };` to avoid infinite recursion
<clever>
duairc: why do you even need the mkMerge? why not just put everything as simply config = { a = {}; b = {}; }; ?
<duairc>
clever: The subexpressions are much more complicated than that and are derived programmatically from the options
mbrgm_ has joined #nixos
<clever>
duairc: and that is possibly your problem
<clever>
duairc: nix needs to know which side returns .a and which returns .b, to be able to avoid infinite recursion
<clever>
and if your expr is written the wrong way, it has to eval it fully to find the answer
tdeo has quit [Quit: Quit]
philr_ has joined #nixos
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
tilcreator has joined #nixos
sigmundv_ has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<{^_^}>
[nixops-aws] @grahamc pushed 6 commits to defntype: https://git.io/JJliU
<clever>
duairc: to figure out what attributes `doFoo` and `doBar` return, it must first know what config.foos and config.bars are
<clever>
duairc: and it cant know what config.foos is, until it knows that doFoo cant return { foos = ...; }
<clever>
duairc: that is where your recursion comes from
<duairc>
clever: Yeah, that much makes sense.
<clever>
you must clearly return something that doesnt contain .foo or .bar
<duairc>
So in my real code, both doFoo and doBar will set options in boot, networking, services, etc. To work around this I've basically split that up into doFooBoot, doFooNetworking, doBarBoot, doBarNetworking etc.
<clever>
duairc: why is it having to set options in so many places for each thing in the list?
<colemickens>
clever: check my comment reply though, if I manually check append-initrd-secrets it looks good?
<fresheyeball>
clever: how do I apply overlays in an all Musl world?
<duairc>
clever: My options are basically defining networks of virtual machines, so, at a minimum, for each network it will create a bridge interface and some taps, and some systemd services to run qemu