orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
dingenskirchen1 has joined #nixos
dingenskirchen has quit [Ping timeout: 252 seconds]
dingenskirchen1 is now known as dingenskirchen
dansho has joined #nixos
<jgerhardt>
I'm having a bit of a dependency issue and was wondering if anyone had advice on how best to solve it. To get bluetooth working with wireshark libpcap must be compiled with bluez headers. However, this introduces a dependency cycle. The main bluez package depends on dbus, dbus on systemd, systemd on iptables and iptables on libpcap. As far as I can
<jgerhardt>
tell I only need the headers and bluez puts them in a seperate output. I can't imagine the headers themselves depend on dbus but inputs are undifferentiated.
<infinisil>
jgerhardt: You could define a separate attribute for the libpcap with the bluez headers
<infinisil>
libcpac_bluez or so
h0m1 has quit [Ping timeout: 246 seconds]
<jgerhardt>
I see, I though that it was importing bluez that triggered the cycle, it seems it can be imported just not used a buildInput. Would it best to create a new package for libpcap_bluez or just a attribute?
<clever>
jgerhardt: id do it as an attribute, libpcap_bluez = libpcap.override { withBluez = true; };
fragamus_ has quit [Quit: Connection closed]
h0m1 has joined #nixos
<jgerhardt>
I'll try that, Thanks infinisil and clever
<dkjii>
let's say you have a libc update, will nix rebuild the packages that link against it?
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
ddellacosta has quit [Ping timeout: 256 seconds]
<luna>
Just out of my own curiousity: Libreoffice had to be compiled the last time I updated (this morning). Has it always been this way?
<jasom>
dkjii: that depends; if the packages were linked against a specific version, then they won't be rebuilt. If they were just linked against 'nixpkgs.glibc' (probably not the real name, but you get the idea) then they will be rebuilt.
<dkjii>
jasom: makes sense, thx, so will doing nix-env -u firefox update both glibc and rebuild firefox if a new glibc version is out?
felixfoertsch23 has joined #nixos
<jasom>
dkjii: roughly yes. Usually nothing builds since there is a binary cache
<jasom>
dkjii: when you realize a derivation, it will rebuild IFF any inputs are different
<clever>
dkjii: but only firefox will use the new glibc
<clever>
dkjii: anything you dont update, keeps using the old glibc, that it was last built against
felixfoertsch has quit [Ping timeout: 252 seconds]
felixfoertsch23 is now known as felixfoertsch
<dkjii>
aight, I'm starting to get it thanks guys
magnetophon has quit [Ping timeout: 258 seconds]
proofofkeags has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @c00w opened pull request #89453 → Vend → https://git.io/JfXtz
orivej_ has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
inkbottle has quit [Quit: Konversation terminated!]
inkbottle has joined #nixos
<Ashy>
has anyone here attempted to get the python module pyvista working on nixos?
<jgerhardt>
When adding an attribute to a package which in it's default setting has no effect is there anyway to avoid a mass rebuild of everything using it?
drakonis has quit [Quit: WeeChat 2.8]
<qyliss>
jgerhardt: attr = if condition then value else null; ?
<qyliss>
Setting an attribute to null doesn't cause a rebuild
<jgerhardt>
I just noticed I made an unrelated changed that would force a rebuild
<quinn>
hyper_ch: that's my mapping (different prefix)
<hyper_ch>
quinn: just trying to find out if (k) has a different function
<hyper_ch>
because for & I need to press shift-6
<quinn>
i think i unmap all at the beginning of my rc so i can't help ya
<hyper_ch>
hehehehe
bdju has quit [Read error: Connection reset by peer]
bdju has joined #nixos
<energizer>
i'm trying to nixos-install my current system onto another disk, while my system is running. is there any reason i shouldn't be able to do that?
<energizer>
nixos-install says - error: while setting up the build environment: unable to bind mount '/mnt/dev/fsroot/nix/store/gispa2laayl2bh2v5dsk3pmcsp943mgc-NetworkManager.conf.drv.chroot': Permission denied
orivej has quit [Read error: Connection reset by peer]
<quinn>
energizer: you want NIXOS_LUSTRATE in the manual if you haven't checked manual yet
orivej has joined #nixos
<energizer>
that says "Install NixOS on the same partition (in place!), from your existing non-NixOS Linux distribution using NIXOS_LUSTRATE."
<energizer>
but my distribution is already nixos
<energizer>
i just want to move it onto another disk
<quinn>
oh and it's a different install, i don't know then. IMO just follow the procedures for a fresh install and then copy configuration.nix over, i don't see why networkmanager.drv is complaining
<clever>
energizer: was nixos-install ran as root?
<energizer>
yes
<clever>
energizer: can you pastebin the entire output, including the cmd you ran?
<clever>
energizer: to work around it, first try doing `nix build -f '<nixpkgs/nixos>' system --arg configuration /mnt/dev/fsroot/etc/nixos/configuration.nix`
<clever>
energizer: that should build the target, in the host /nix/store
<clever>
energizer: then when its done, `nix copy --to local?root=/mnt/dev/fsroot/ /nix/store/product` to copy it to the new hdd
<clever>
and once thats done, try the nixos-install again
<clever>
it shouldnt have to build anything, and complete much more quickly
<energizer>
before proceeding i have a question
<{^_^}>
[nixpkgs] @bhipple merged pull request #89451 → owslib: add pyyaml as a runtime dep → https://git.io/JfXTb
<energizer>
i have a btrfs device that's got /nix /home /persist /boot /fsroot subvolumes. can i keep the /fsroot adjacent like that, and just `mv fsroot/boot boot && mv fsroot/nix nix` after installing?
<clever>
energizer: maybe, it also depends on if the values for things like fileSystems."/".device are going to still be correct after you do that
<clever>
the initrd may have trouble finding things
<clever>
you would have to build with the new names it will have, when you plan for it to boot
<energizer>
i have set fileSystems."/" to point to the fsroot subvolume, and /boot to boot etc
<energizer>
i mean the local?root but i found it in the --help
<energizer>
meant*
<clever>
ah
<clever>
local?root= basically makes nix chroot
<energizer>
what's nix/store/product?
<clever>
energizer: the product that `nix build` created
<energizer>
is that a special notation? i dont see anything called product
<clever>
its just the output path from building the derivation
<energizer>
but inside a chroot, not in my actual store
<clever>
the `nix build` builds it on the host store
<clever>
and `nix copy` will copy from host to chroot
<energizer>
error: while setting up the build environment: unable to bind mount '/mnt/dev/fsroot/nix/store/gispa2laayl2bh2v5dsk3pmcsp943mgc-NetworkManager.conf.drv.chroot': Permission denied
<energizer>
clever: reformatted, same thing happened
<energizer>
error: while setting up the build environment: unable to bind mount '/mnt/dev/fsroot/nix/store/gispa2laayl2bh2v5dsk3pmcsp943mgc-NetworkManager.conf.drv.chroot': Permission denied
<clever>
i wouldnt expect formatting to fix it
<energizer>
ok what do i do now?
<clever>
wait for somebody else to know more
<clever>
or try the install ISO, or kexec
<{^_^}>
[nixpkgs] @peti pushed 396 commits to haskell-updates: https://git.io/JfXYy
<clever>
energizer: i think its filesystem related, not physical
<clever>
energizer: try ext4?
<energizer>
clever: i have btrfs on luks on another computer. my goal is to apply that here too
<{^_^}>
[nixpkgs] @peterhoeg opened pull request #89457 → nixos/pam: mount encrypted home earlier → https://git.io/JfXYb
<{^_^}>
[nixpkgs] @peterhoeg pushed to f/pam_ordering « nixos/pam: mount encrypted home earlier »: https://git.io/JfXYN
<clever>
energizer: try ext4 just to see if it behaves any different
qyliss has quit [Quit: bye]
alp has joined #nixos
qyliss has joined #nixos
<energizer>
clever: ext4 over luks
<energizer>
error: while setting up the build environment: unable to bind mount '/mnt/dev/nix/store/gispa2laayl2bh2v5dsk3pmcsp943mgc-NetworkManager.conf.drv.chroot': Permission denied
<clever>
energizer: i'm out of ideas then
<energizer>
clever: thanks anyway
Ralith_ has joined #nixos
endformationage has quit [Ping timeout: 256 seconds]
<hsngrmpf[m]>
I'm trying to get cuda running inside a docker container. Problem: `cudaGetDeviceCount()` returns 0 despite nvidia-smi listing my device. An ideas?
<hsngrmpf[m]>
* I'm trying to get cuda running inside a docker container. Problem: `cudaGetDeviceCount()` returns 0 despite nvidia-smi listing my device. Any ideas?
<lovesegfault>
did you enable `virtualisation.docker.enableNvidia`?
<lovesegfault>
(meant to pinkieval hsngrmpf[m] )
<lovesegfault>
*ping
alp has quit [Ping timeout: 272 seconds]
<hsngrmpf[m]>
Yes, i did. nvidia-smi inside the container shows my device
<davidtwco>
hey - experimenting with using flakes in my system configuration based on some examples I found online, getting `The option `nixpkgs.AAAAAASomeThingsFailToEvaluate' defined in `<unknown-file>' does not exist.` - any idea why that might happen?
NekomimiScience has quit [Ping timeout: 265 seconds]
niso has quit [Ping timeout: 265 seconds]
duck_ has joined #nixos
litschi has quit [Ping timeout: 265 seconds]
Acou_Bass has quit [Ping timeout: 265 seconds]
akaWolf has quit [Ping timeout: 265 seconds]
zimbatm has quit [Ping timeout: 265 seconds]
garbas has quit [Ping timeout: 265 seconds]
<__monty__>
Is there a way to view the cabal file produced with `haskell.lib.doJailbreak`? I searched the store but either it's not reified or the name's mangled.
Ralith_ has quit [Ping timeout: 265 seconds]
never_released has quit [Ping timeout: 265 seconds]
quinn has quit [Ping timeout: 265 seconds]
Avaq_ has quit [Ping timeout: 265 seconds]
webstrand has quit [Ping timeout: 265 seconds]
DerGuteMoritz has quit [Ping timeout: 265 seconds]
<MarcWeber>
How to transate that hash in build log into what to paste into source file ?
<__monty__>
You can paste that exact string.
<__monty__>
Nix is switching to SRI hashes.
lzmartinico has quit [Ping timeout: 272 seconds]
lzmartinico has joined #nixos
<ma27[m]>
__monty__: that's wrong if the hash should land somehow in nixpkgs since we still have Nix 2.0 as minimum version which doesn't support SRI. See also https://github.com/NixOS/nixpkgs/issues/89275
<{^_^}>
#89275 (by abathur, 3 days ago, open): nixpkgs has (SRI?) hashes that the Nix version in use on travis-ci (2.0.4) can't handle
<ma27[m]>
MarcWeber: `nix to-base32` should do the job
<thongpv87>
I have problem with nix docker container. It seem like I can not set system timezone by `setenv` and `tzset` in the docker container created by nix, but it work normally in ubuntu. Here is example: https://github.com/thongpv87/nix-test
omneh has joined #nixos
omneh has joined #nixos
omneh has quit [Changing host]
armin_ has joined #nixos
travelion787 has joined #nixos
Diogo7 has joined #nixos
Bunogi0 has joined #nixos
bkv has quit [Quit: WeeChat 2.8]
Czen1 has joined #nixos
mmlb2 has joined #nixos
fuzen3 has joined #nixos
wavirc22 has joined #nixos
uwap has joined #nixos
alexbakker_ has joined #nixos
at_mart_ has joined #nixos
hke_ has joined #nixos
ggp0647` has joined #nixos
Supersonic112 has joined #nixos
c4rc4s_ has joined #nixos
Supersonic has quit [Disconnected by services]
DerHorst_ has joined #nixos
silver_hook_ has joined #nixos
Supersonic112 is now known as Supersonic
georges_ has joined #nixos
eyenx- has joined #nixos
<LnL>
builds can't read system stuff like that
eyJhbV2 has joined #nixos
rprosper- has joined #nixos
ok2`- has joined #nixos
Athas has quit [Disconnected by services]
rail_ has joined #nixos
Athas_ has joined #nixos
lc has joined #nixos
ambroiseur has joined #nixos
slikts has joined #nixos
slikts has joined #nixos
bqv has joined #nixos
<thongpv87>
The result is when running outside and inside docker container is look like this: https://imgur.com/a/1JzZAM0
eyJhb has quit [Disconnected by services]
pareidolia_ has joined #nixos
ottidmes_ has joined #nixos
benedikt93_ has joined #nixos
ben_ has joined #nixos
jordansinn_ has joined #nixos
SOO7- has joined #nixos
mjrosenb_ has joined #nixos
agsdheid1 has joined #nixos
eyJhbV2 is now known as eyJhb
eyJhb has joined #nixos
eyJhb has quit [Changing host]
inkOne_ has joined #nixos
cybertron1 has joined #nixos
rsa_ has joined #nixos
barrucad1 has joined #nixos
barrucad1 has joined #nixos
barrucad1 has quit [Changing host]
philr_ has joined #nixos
Thra11_ has joined #nixos
jeschli1 has joined #nixos
ben_ is now known as Guest87294
mightybyte has joined #nixos
xO1_ has joined #nixos
steell_ has joined #nixos
andromed1-galaxy has joined #nixos
emilazy_ has joined #nixos
zemm_ has joined #nixos
Guest33784 has quit [Ping timeout: 246 seconds]
mmlb has quit [Ping timeout: 246 seconds]
agsdheidjd has quit [Ping timeout: 246 seconds]
xO1 has quit [Ping timeout: 246 seconds]
rsa has quit [Ping timeout: 246 seconds]
jeschli has quit [Ping timeout: 246 seconds]
rixed has quit [Ping timeout: 246 seconds]
DerHorst has quit [Ping timeout: 246 seconds]
craftyguy has quit [Ping timeout: 246 seconds]
zemm has quit [Ping timeout: 246 seconds]
wavirc22_ has quit [Ping timeout: 246 seconds]
hplar has quit [Ping timeout: 246 seconds]
Thra11 has quit [Ping timeout: 246 seconds]
travelion78 has quit [Ping timeout: 246 seconds]
lvmond_ has quit [Ping timeout: 246 seconds]
emilazy has quit [Ping timeout: 246 seconds]
armin has quit [Ping timeout: 246 seconds]
jtcs has quit [Ping timeout: 246 seconds]
pareidolia has quit [Ping timeout: 246 seconds]
gordon has quit [Ping timeout: 246 seconds]
ggp0647 has quit [Ping timeout: 246 seconds]
andromeda-galaxy has quit [Ping timeout: 246 seconds]
ambroisie has quit [Ping timeout: 246 seconds]
at_mart has quit [Ping timeout: 246 seconds]
lukash_ has quit [Ping timeout: 246 seconds]
dbe has quit [Ping timeout: 246 seconds]
mla has quit [Ping timeout: 246 seconds]
ajs124 has quit [Ping timeout: 246 seconds]
benedikt93 has quit [Ping timeout: 246 seconds]
Jackneill has quit [Ping timeout: 246 seconds]
Diogo has quit [Ping timeout: 246 seconds]
OmnipotentEntity has quit [Ping timeout: 246 seconds]
edef has quit [Ping timeout: 246 seconds]
grw1 has quit [Ping timeout: 246 seconds]
c4rc4s has quit [Ping timeout: 246 seconds]
alexbakker has quit [Ping timeout: 246 seconds]
cruxeternus has quit [Ping timeout: 246 seconds]
cross has quit [Ping timeout: 246 seconds]
dkibi has quit [Ping timeout: 246 seconds]
silver_hook has quit [Ping timeout: 246 seconds]
lukash__ has joined #nixos
travelion787 is now known as travelion78
alexbakker_ is now known as alexbakker
lvmond__ has joined #nixos
emilazy_ is now known as emilazy
mutantmell has joined #nixos
joehh1_ has joined #nixos
barrucadu has quit [Disconnected by services]
georges has quit [Ping timeout: 264 seconds]
leah2 has quit [Ping timeout: 264 seconds]
inkOne__ has quit [Ping timeout: 264 seconds]
cybertron has quit [Ping timeout: 264 seconds]
ryantm has quit [Ping timeout: 264 seconds]
aij has quit [Ping timeout: 264 seconds]
mjrosenb has quit [Ping timeout: 264 seconds]
cransom has quit [Ping timeout: 264 seconds]
mtjmullen has quit [Ping timeout: 264 seconds]
ben has quit [Ping timeout: 264 seconds]
lzmartinico has quit [Ping timeout: 264 seconds]
rail has quit [Ping timeout: 264 seconds]
philr has quit [Ping timeout: 264 seconds]
Czen has quit [Ping timeout: 264 seconds]
ok2` has quit [Ping timeout: 264 seconds]
hke has quit [Ping timeout: 264 seconds]
fuzen has quit [Ping timeout: 264 seconds]
mkaito_ has quit [Ping timeout: 264 seconds]
Bunogi has quit [Ping timeout: 264 seconds]
rprospero has quit [Ping timeout: 264 seconds]
lohfu has quit [Ping timeout: 264 seconds]
uwap_ has quit [Ping timeout: 264 seconds]
itorres has quit [Ping timeout: 264 seconds]
joehh1 has quit [Ping timeout: 264 seconds]
signaryk has quit [Ping timeout: 264 seconds]
SOO7 has quit [Ping timeout: 264 seconds]
ottidmes has quit [Ping timeout: 264 seconds]
naominitel has quit [Ping timeout: 264 seconds]
mightyby1e has quit [Ping timeout: 264 seconds]
jordansinn has quit [Ping timeout: 264 seconds]
kumikumi has quit [Ping timeout: 264 seconds]
tghume has quit [Ping timeout: 264 seconds]
laerling has quit [Ping timeout: 264 seconds]
Uma has quit [Ping timeout: 264 seconds]
steell has quit [Ping timeout: 264 seconds]
raoul has quit [Ping timeout: 264 seconds]
locallycompact has quit [Ping timeout: 264 seconds]
<Guest84>
Reposting from discord- anybody knows how can I speak to peterhoeg from github? I'd like to quickly discuss a few things synchronously rather than going back and forth on github.
<o1lo01ol1o>
I've got a binary that seems to choke on symlinks, what's the best way to build a derivation from another that contains only concrete files and directories (and preserves the naming conventions of the original derivation)?
LevelChart8 has joined #nixos
ckauhaus has quit [Quit: WeeChat 2.7.1]
acarrico has quit [Ping timeout: 258 seconds]
__monty__ has quit [Quit: leaving]
<{^_^}>
[nixos-homepage] @davidak pushed to davidak-patch-1 « Create redirect for /nix »: https://git.io/JfX2k
<{^_^}>
[nixos-homepage] @davidak opened pull request #440 → Create redirect for /nix → https://git.io/JfX2t
shyim has quit [Quit: shyim]
<manveru>
hm, for some reason pcmanfm doesn't have an Applications list anymore... are there any other apps that can list how the stuff in /share/applications will look like?
<{^_^}>
[nixos-homepage] @garbas pushed to fix/index-horizontal-scroll « add margin between video and description when displayed side by side »: https://git.io/JfXal
<{^_^}>
[nixos-homepage] @garbas pushed 6 commits to fix/index-horizontal-scroll: https://git.io/JfXa4
<{^_^}>
[nixpkgs] @FRidh pushed commit from @Luflosi to master « python39: fix build on macOS »: https://git.io/JfXw5
<kenran>
Can I write higher-order functions with the nix language?
kenji has quit [Ping timeout: 265 seconds]
avaq__ is now known as avaq
<kenran>
That is, I'm trying to have something like this: let mkMyShell = f: pkgs: doSomething pkgs (f pkgs); here, doSomething is a function that takes two arguments (the packages and another set), but I get "attempt to call something which is not a function but a set" at (f pkgs)
avaq has joined #nixos
avaq has quit [Changing host]
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
TZander has joined #nixos
magnetophon has joined #nixos
<alexarice[m]>
kenran: That should be possible, the error suggests you have passed in a set for argument `f`
<kenran>
alexarice[m]: omg, you're right, I just messed up the order of arguments I pass to it -_- thanks for the quick help!
<emilsp>
hrm, it seems like root can't create new cgroups and add new PIDs to said groups, what am I doing wrong? I'm getting a permission's error when attempting to do so.
<tudorr>
hello everyone, where can i see the list of basic packages that every nixos system has?
proofofkeags has quit [Ping timeout: 258 seconds]
lunik13 has joined #nixos
<simpson>
tudorr: /usr/bin/env and /bin/sh along with the Nix utilities.
fendor has joined #nixos
<tudorr>
what about programs like which, awk, file and others?
<tudorr>
that any shell environment expects
lunik1 has quit [Ping timeout: 256 seconds]
lunik13 is now known as lunik1
<tudorr>
i only use nix in my user profile using home-manager and i need a list of such utilities because i want to erase /usr/bin from my path
<tudorr>
so have everything self-contained
fendor_ has quit [Ping timeout: 272 seconds]
erasmas has joined #nixos
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos
<OmnipotentEntity>
Quick dumb question, what's the equivalent to the deb package python-dev in nixos?
magnetophon has quit [Read error: Connection reset by peer]
fendor_ has quit [Remote host closed the connection]
fendor_ has joined #nixos
magnetophon has joined #nixos
Guest64755 has quit [Quit: WeeChat 2.8]
linarcx has joined #nixos
craftyguy has joined #nixos
<LnL>
just python
lunik1 has quit [Ping timeout: 265 seconds]
lunik1 has joined #nixos
<LnL>
in some cases there's a separate dev output but nix expressions will pull in the correct thing automatically
<dredozubov>
are there any documentation regarding having a personal/corporate nix cache? I'm getting too many "hash mismatch importing path" errors and some missing things, suspect GC is configured in a totally unreliable way. Are there any best practices?
<OmnipotentEntity>
In this case, I need to link against python after the fact from a cargo build, and I'm getting an undefined reference error to what seems to be python function names its expecting to be in the environment, if python is the package I need for this, is there anyway to tell cargo where to look?
ohhaimark[m] has joined #nixos
Henson has joined #nixos
cosimone has quit [Quit: Quit.]
<LnL>
are you using nix-shell?
gxt has quit [Remote host closed the connection]
<LnL>
"installing" things with nix intentionally doesn't affect builds
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<LnL>
ah I see, thin you'll need to include python3 separately
<LnL>
the withPackages wrapper is just the binary
<sherubthakur>
Hello there folks, I just recently came across nix and wanted to try it out. I am on a mac. Is this the right channel to for any queries that I might have regarding nix ecosystem or is this restricted to only nixOS?
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<LnL>
nix in general, feel free to ask here
<OmnipotentEntity>
I've added that to nativeBuildInputs, but the build still fails.
<OmnipotentEntity>
sherubthakur, welcome!
<Henson>
I've got fingerprint auth enabled in NixOS. When I do so, it causes all PAM modules to add fingerprint authentication. But I want to allow it only for certain PAM modules. Is there a way in the NixOS configuration that I can iterate over all of the attributes in the security.pam.services set without having to specify them individually to turn fingerprint auth off?
<LnL>
buildInputs would be the correct place if you want it as a lib, but don't think that matters yet
<sherubthakur>
LnL that is great to hear.
<sherubthakur>
hello OmnipotentEntity
<OmnipotentEntity>
Alright, I gave it a go in buildInputs as well, to no change in behavior
<simpson>
tudorr: If you haven't found it yet, the awk you want is probably `gawk`, GNU awk. (`mawk` also available if that's your preference.)
justanotheruser has quit [Ping timeout: 246 seconds]
<tudorr>
well i found it but it's a bit counter-intuitive to try and look for all the basic unix utilities
proofofkeags has joined #nixos
<tudorr>
sourcing stdenv's setup file in bash fails
<{^_^}>
[nixpkgs] @Ma27 opened pull request #89486 → nixos/dovecot2: turn `mailboxes`-option into an attr-set → https://git.io/JfXoX
<LnL>
OmnipotentEntity: nix-shell -p python3 --run 'echo $NIX_CFLAGS_COMPILE' includes python3/include
<OmnipotentEntity>
would you like that from within my current direnv environment or a clean one?
agsdheid1 has joined #nixos
<LnL>
just the direnv since that includes the shell environment already
orivej has quit [Quit: No Ping reply in 180 seconds.]
buckley310 has joined #nixos
<Henson>
I tried doing "security.pam.services = pkgs.lib.mapAttrs (name: value: value.override { fprintAuth = false; }) config.security.pam.services;" but end up with an infinite recursion error, which I kind of expected.
<OmnipotentEntity>
That gives a bash error saying that includes is an undefined variable, if I adjust it to where the quoted string is the entire thing it returns -isystem /nix/store/foo-python3-3.7.6./include isystem /nix/store/foo-python-3.7.6/include includes python3/include
<OmnipotentEntity>
that's in a clean environment
orivej has joined #nixos
<{^_^}>
[nixpkgs] @FRidh pushed to staging-next « meson: fix hash after incorrect merge »: https://git.io/JfXod
<OmnipotentEntity>
According to the website it supports 3.5 and up
<LnL>
yeah, that would do it
<LnL>
oh and up
justanotheruser has joined #nixos
sherubthakur has quit [Remote host closed the connection]
<jwaksbaum[m]>
I'm having an issue with systemd timers, but I'm not sure if it's a sytemd issue or a NixOS issue. I would like to have a command run every day at 6:00 in New York local time. I used the startAt option in the Nix configuration for the service: startAt = "6:00 America/New_York";. Using sytemctl cat, I can see that that's getting to the time file: OnCalendar=6:00 America/New_York. However, when I run systemctl list-timers,
<jwaksbaum[m]>
it shows 02:00:00 EDT, ie. 6:00 UTC. If I change 6:00 America/New_York to 6:00 EDT, it works, but I would like it to follow local New York time across daylight savings time.
gxt has quit [Remote host closed the connection]
<OmnipotentEntity>
Just in case you want to reproduce the issue on your end LnL, my rust source is literally just the example source from the PyO3 README under the section "Using Python from Rust"
gxt has joined #nixos
<OmnipotentEntity>
oh, well then, now it works.
nixbitcoin has quit [Quit: nixbitcoin out]
<LnL>
heh, maybe direnv didn't reload?
<OmnipotentEntity>
I removed: features = ["extension-module"] from the pyo3 dependencies, (when I was testing with having it as a library instead.)
nixbitcoin has joined #nixos
<OmnipotentEntity>
which honestly, should have been obvious, but it's been several hours since I added it and I had forgotten :X
<OmnipotentEntity>
Thanks for your help, glad it was just something really stupid.
<OmnipotentEntity>
fresheyeball, sorry for sucking the oxygen from your problem. I have some experience with hacking on Haskell, can you give some detail? Are you using a nix-shell environment?
mniip has quit [Remote host closed the connection]
<fresheyeball>
OmnipotentEntity: yes, this is me trying to use ghcid inside a nix-shell
<OmnipotentEntity>
My machine is purpose built for churning very fast through compiles. I'm surprised it took this long. I can compile all of tensorflow in less than an hour.
<fresheyeball>
OmnipotentEntity: what are your specs?
<OmnipotentEntity>
ghci works btw
<OmnipotentEntity>
2x 20 core Xeon
marsh has joined #nixos
<fresheyeball>
great
<fresheyeball>
that is what I expected
<OmnipotentEntity>
alright, so how should I attempt to reproduce your issue?
<fresheyeball>
no idea
<fresheyeball>
just started happening
<OmnipotentEntity>
cabal build?
eoli3n_ has quit [Ping timeout: 256 seconds]
<fresheyeball>
I expect that will work too
<fresheyeball>
but sure
jb55 has quit [Remote host closed the connection]
<OmnipotentEntity>
package directory "all of them" does not contain any .cabal file.
<fresheyeball>
OmnipotentEntity: run ./hpackall.sh
jb55 has joined #nixos
<OmnipotentEntity>
backends/static is the only error left after the sh
<OmnipotentEntity>
same error though
<fresheyeball>
what is the error?
<{^_^}>
[nixpkgs] @FRidh pushed 2 commits to release-20.03: https://git.io/JfXio
<OmnipotentEntity>
The package directory 'backends/static' does not contain any .cabal file.
<fresheyeball>
just cd there and run hpack
<fresheyeball>
I usually build one package at a time
cr4y1 has quit [Ping timeout: 260 seconds]
magnetophon has quit [Read error: Connection reset by peer]
abbe_ has quit [Quit: “Everytime that we are together, it's always estatically palpitating!”]
<fresheyeball>
OmnipotentEntity: this is beyond me
<OmnipotentEntity>
essentially, the symbol that the linker is looking for and not finding in the .so file exists in the .so file.
waleee-cl has quit [Quit: Connection closed for inactivity]
<OmnipotentEntity>
Which is baffling.
<delroth>
I have an ssh in an initrd on a machine, what's the easiest way to use that to install nixos on that machine? don't really have any good alternate way
<delroth>
I was planning to build nix statically and try to use that to basically redo manually whatever nixos-install does
<delroth>
(I already have a built system in the /nix/store of one of my other machines, I just lack a good way to transfer it and get the root fs in the right shape)
<OmnipotentEntity>
well @fresheyeball I'm out of ideas personally, but there might be someone a little wiser here later. Thank you for introducing me to Shpadoinkle Day
<OmnipotentEntity>
sorry I couldn't be of much help
<OmnipotentEntity>
oh duh duh duh
<OmnipotentEntity>
@fresheyeball, the symbol is "U" it's undefined, it's been stripped out probably
<fresheyeball>
hu
gxt has quit [Ping timeout: 240 seconds]
<judson>
I've got an application that expects to be able to call a script at an absolute path, so linking into the /nix store from that path is kind of unavoidable
<evanjs>
lassulus: so I guess ESXi needs some weird stuff to get workable OVA appliances... I've seen roughly the same procedure in a few places http://www.baconapplications.com/export-a-virtualbox-machine-to-vmware/ - my comment yesterday can be boiled down to -- we really should have more options for OVA images, but I guess that might be better suited to nixpkgs?
<evanjs>
rather than stuffing it into nixos-generators, which is basically wrappers
cr4y1 has quit [Ping timeout: 260 seconds]
<lassulus>
having stuff upstream would be better for other users also, so yes
cr4y1 has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
<evanjs>
Outside of our immediate need to generate ESXi-friendly images -- VMWare VMDKs aren't exactly a 1:1, either :/
o1lo01ol1o has quit [Remote host closed the connection]
orivej has joined #nixos
o1lo01ol1o has joined #nixos
gxt has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
Thra11_ has joined #nixos
cr4y1 has quit [Ping timeout: 240 seconds]
<evanjs>
that, and the fact that we can't specify which ovf version to use, the default is 1.0, and 2.0 is an option :D
chloekek has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
ericsagnes has joined #nixos
alp has quit [Ping timeout: 240 seconds]
Henson has quit [Ping timeout: 258 seconds]
meh` has joined #nixos
cr4y1 has joined #nixos
<evanjs>
lassulus: the one more pressing thing I encountered was needing to pass arguments to virtualbox-image, but I'm not sure what the roadmap for passing arguments/parameters through nixos-generators looks like right now
<evanjs>
in this case, virtualbox.params
<evanjs>
using this in the vbox format expression seemed to work -- `imports = [ "${toString modulesPath}/virtualisation/virtualbox-image.nix" { virtualbox.params = { audio = "none"; }; } ];`
orivej has quit [Quit: No Ping reply in 180 seconds.]
<lassulus>
uhm, would be passing --argstr to the underlying nix-build enough?
orivej has joined #nixos
KeiraT has quit [Ping timeout: 240 seconds]
<clever>
evanjs: and thats the same as just `imports = [ path ]; virtualbox.params = value; }`
<ohhaimark[m]>
Can any one tell me why my nixos-rebuild isn't allowing unfree despite me setting it in configuration.nix:
<clever>
ohhaimark[m]: which package is causing the error?
<fresheyeball>
OmnipotentEntity: can you post a rollup of what you did?
<ohhaimark[m]>
dropbox
<ohhaimark[m]>
How I do that?
<OmnipotentEntity>
I haven't figured it out yet, it's just not mysterious to me why it's not working
<OmnipotentEntity>
I'm investigating what is removing that symbol currently
<clever>
ohhaimark[m]: and in which file did you install dropbox?
<fresheyeball>
oh awesome
<OmnipotentEntity>
Because there's a lot of stuff about intentionally NOT stripping in the GHC .nix files.
<ohhaimark[m]>
clever: In home-manager using the nixos module.
<clever>
ohhaimark[m]: i believe home-manager's pkgs tree is isolated, and respects the nixpkgs.config.allowUnfree in the home-manager modules
<ohhaimark[m]>
Ah. Thanks
<OmnipotentEntity>
But that's the current ones, and you're pinned to a sha, unfortunately, I cannot find that sha in the nixpkgs repository, which probably means that I don't fully understand what the sha represents, and I'm looking into that right now.
<ohhaimark[m]>
* clever: Ah. Thanks
<clever>
ohhaimark[m]: and you already have one commented out on 75
endformationage has joined #nixos
<OmnipotentEntity>
oh, it's just the sha of the commit, and I can't find the commit. boo.
<fresheyeball>
OmnipotentEntity: that is the git hash of nixpkgs I am currently using
<OmnipotentEntity>
the commit e1843646b04fb564abf6330a9432a76df3269d2f does not seem to exist in my local copy of the nixpkgs repo. But I worked around it by just downloading the tarball.
<OmnipotentEntity>
always something.
<fresheyeball>
OmnipotentEntity: your moniker may be justified after all
<OmnipotentEntity>
doubtful lol
<evanjs>
lassulus: clever: hrm well I'm going to assume I'm passing things in wrongly, but e.g. `--argstr virtualbox.params.audio "none"` doesn't seem to work
<jluttine[m]>
Anyone using weechat with weechat-matrix python script? I'm just getting `python: script "matrix.py" not found`. I've followed these instructions: https://nixos.org/nixpkgs/manual/#sec-weechat
<{^_^}>
[flake-registry] @edolstra pushed 2 commits to master: https://git.io/JfXXp
<clever>
evanjs: and how are you building it?
agsdheid1 has quit [Ping timeout: 240 seconds]
gxt has joined #nixos
thc202 has quit [Ping timeout: 256 seconds]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
<clever>
almost anywhere you can put a module, you can have either a naked module (function or set), or a path to a file containing the same
<clever>
imports is just a list of those
<evanjs>
well that's where I'm confused. I think nixos-generators does an eval-configuration, and I tried to put it into the configuration.nix before, that didn't work. lemme try that way
<{^_^}>
[nixpkgs] @matthewbauer pushed to tensorflow-gast-0.2.2 « pythonPackages.gast_0_2_2: init for tensorflow »: https://git.io/JfX1r
<{^_^}>
[nixpkgs] @matthewbauer pushed 0 commits to tensorflow-gast-0.2.2: https://git.io/JfX1i
D_ has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @matthewbauer opened pull request #89496 → pythonPackages.gast_0_2_2: init for tensorflow → https://git.io/JfX1X
<evanjs>
lassulus: alright, so clever's advice seemed to work fine. Not sure if that's something most will know how to do or if an example would work in the README
<OmnipotentEntity>
@fresheyeball, I have to go AFK unfortunately, here's where I'm leaving off, just so if you want to pick it up you know what I'm looking into. I suspect due to the fact that the nix store path is the aeson store path, (despite not even mentioning aeson in any of the .nix files in your repo?) that there is an issue with priority somehow.
<evanjs>
e.g. specifying options for the evaluation of the VM or etc, vs the configuration for the resulting image
<evanjs>
Unless I'm reading it wrong and those are all part of configuration.nix, so to speak
<OmnipotentEntity>
And the ghc so in the aeson package is being stripped while in the normal compiler it might not be.
D_ has joined #nixos
agsdheid1 has joined #nixos
cole-h has joined #nixos
LevelChart8 has joined #nixos
<{^_^}>
[nixpkgs] @jonringer opened pull request #89497 → python3Packages.shellingham: use pyproject format → https://git.io/JfX1A
orivej has quit [Quit: No Ping reply in 180 seconds.]
<evils>
jasom: there's probably an explicit command, so here's the wrong answer: `nix-env -i ./result`
alp has quit [Ping timeout: 272 seconds]
<jasom>
evils: yeah, I don't want it in my environment...
<energizer>
jasom: doesn't that happen by default?
<jasom>
energizer: if so, great!
<evils>
though i think that results link existing adds it to /nix/var/nix/gcroots/auto
orivej has joined #nixos
<jasom>
energizer: oh The result of the build is automatically registered as a root of the Nix garbage collector. This root disappears automatically when the result symlink is deleted or renamed. So don’t rename the symlink.
<balsoft>
jasom: it's added by default AFAIK
<evanjs>
what's the easiest way to get the e.g. `nixos-20.09pre-git-x86_64-linux` out of a VM output? I've seen eg revisionWithDefault but that's not what I'm looking for
<balsoft>
jasom: If you want to add an arbitrary GC root, you can do so with nix-store --add-root
<evanjs>
All I can find is 20.09pre226148.0f5ce2fac0c and I'm not sure how the other is constructed
<jasom>
energizer: son't know how I missed that. I was renaming the result which is why it disappeared
artemist has quit [Remote host closed the connection]
cosimone has joined #nixos
pamplemousse has joined #nixos
deech has joined #nixos
<deech>
I have installed NixOS on my Dell Precision M6700 and having issues getting wifi to work. I get a message saying that my wlan interface can't be brought up because "Operation not possible due to RF-kill". I see a number of articles about unblocking with 'rfkill' but am I doing something wrong in my configuration.nix?
<turlando>
deech rfkill list looks fine?
<deech>
`phy0: Wireless LAN ... Hard blocked: yes` so it is blocked.
alp has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixos-homepage] @garbas pushed to more-redirects « redirect /nixos and /nixpkgs to / »: https://git.io/JfXS1
<{^_^}>
[nixos-homepage] @garbas opened pull request #442 → redirect /nixos and /nixpkgs to / → https://git.io/JfXSD
artemist has joined #nixos
<turlando>
deech that suggests that an hardware switch for wireless connectivity is in the off position. is that the case?
<fragamus_>
error: attribute 'stack-0' in selection path 'stack-0.1.10.1' not found
<{^_^}>
[nixos-homepage] @garbas merged pull request #442 → redirect /nixos and /nixpkgs to / → https://git.io/JfXSD
<{^_^}>
[nixos-homepage] @garbas pushed 2 commits to master: https://git.io/JfX9x
<{^_^}>
[nixos-homepage] @garbas pushed 0 commits to more-redirects: https://git.io/JfX9p
<fragamus_>
it is saying that 'stack-0' not found WTF
<fragamus_>
that's what it has been saying all along
<clever>
fragamus_: -iA stack
ritchan has joined #nixos
<fragamus_>
if I do that it grabs a different version
<ritchan>
Hi folks, I installed nix-env -iA nixos.zfs and even specified it in my environment.systemPackages as 'zfs', but I never seem to have the actual zfs kernel modules? (running 5.4.42)
<clever>
fragamus_: `nix repl '<emu>'` and use tab completion to figure out the attr name
<clever>
ritchan: you only get kernel modules if you set boot.supportedFilesystems = [ "zfs" ];
fendor_ has quit [Remote host closed the connection]
<ritchan>
@clever thanks. why do I need to set networking.hostId though? I've never had to set that on a Linux system before
<clever>
ritchan: zfs uses hostId to figure out if a pool is being imported on 2 machines at once (via network blocks), vs improper reboot (same hostid)
<keithy[m]>
I just spent all day recreating a redhat server again and again in vagrant to get it right... this would have been easy in nixos
artemist has joined #nixos
<energizer>
keithy[m]: because you would've already spent weeks getting it right the first time
<simpson>
keithy[m]: Although, merely by *existing*, Nix demonstrates how to obsolete the older schools of package management, in favor of isolation and the attendant benefits.
<azazel>
keithy: cool! do more of that
fragamus_ has joined #nixos
kenji has joined #nixos
<fragamus_>
clever: i got into the nix-repl <emu> but I am not sure what to do now that I am in that
<fragamus_>
clever: I typed :a stack but tab completion does not reveal any versions
<{^_^}>
[nixpkgs] @matthewbauer opened pull request #89505 → release-lib.nix: remove innacurate platform groups → https://git.io/JfXQe
<{^_^}>
[nix] @Ericson2314 opened pull request #3664 → Add `src/libutil/tests/libutil-tests` to `.gitignore` → https://git.io/JfXQv
<{^_^}>
[nixpkgs] @symphorien opened pull request #89506 → epkowa: fix parsing of interpreters (#82909) → https://git.io/JfXQJ
gustavderdrache has quit [Quit: Leaving.]
bqv has quit [Ping timeout: 256 seconds]
bqv has joined #nixos
EatThem has joined #nixos
<EatThem>
hey :) is it possible to import *.nix files in configuration.nix based on uname? so like if i'm on my laptop import this, on server import this etc.
<infinisil>
EatThem: I guess you're using git to have a single repo for all machines?
agsdheid1 has quit [Ping timeout: 272 seconds]
<simpson>
Sure. Something like `let name = ...; in { networking.hostName = name; imports = if (name == "foo") ...; }`
agsdheid1 has joined #nixos
gxt has quit [Ping timeout: 240 seconds]
<EatThem>
so its imports = if (name == "foo") nixfile.nix; ?
<simpson>
I dunno, I don't personally do this. But something like that.
<EatThem>
alright will google :)
gxt has joined #nixos
TZander has quit [Quit: Konversation terminated!]
alp has quit [Remote host closed the connection]
<gchristensen>
btw everyone thanks for avoiding the "of course nixos is cool" option in that discussion
lukash__ is now known as lukash__|away
<EatThem>
infinisil: yep i try to ^^
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
alp has joined #nixos
<simpson>
No worries. I have no idea how to measure "cool". ncakerlist, my point was that in NixOS, reproducibility is the default rather than something special that has to be sought out. We *do* still have a r13y project like Arch's, but we enjoy day-to-day purity without much effort.
<ncakerlist>
simpson: what reproducibility why it's important
<energizer>
trying to get sshfs to mount with systemd.mounts is not working, in every possible manifestation
<simpson>
ncakerlist: There's a bunch of approaches, but the one I usually take is that I am not the same person that I was in the past. Specifically, I am not the person who scrawled into configuration.nix late at night several months ago. So, it's nice when build tools support doing *exactly* the same thing.
<energizer>
does anybody have an sshfs mount in their config?
<EatThem>
is it possible to change the architecture with a runtime rebuild? like from aarch64 to armv7
gxt has quit [Ping timeout: 240 seconds]
ncakerlist has quit [Read error: Connection reset by peer]
<simpson>
No, one would need a reboot, or at least kexec, right?
ncakerlist has joined #nixos
cosimone has quit [Quit: Quit.]
<{^_^}>
[nixpkgs] @herrwiese closed pull request #89390 → sogo: Add support for SMTP-STARTTLS/SMTP-SSL → https://git.io/JfPRo
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<ar>
I'm trying to build my own custom rpi4 sd image, based on the nixpkgs/nixos/modules/installer/cd-dvd/sd-image-raspberrypi4.nix, and i'm building it with "nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage --argstr system aarch64-linux -I nixos-config=nixos-rpi4-ssh-and-iptables.nix", but it looks like the sd image gets reused between runs despite making changes to the file
gxt has joined #nixos
<ar>
any ideas?
<EatThem>
but possible with a reboot @simpson?
<simpson>
EatThem: Maybe? It should be just like any other dual-booting multiarch scenario, but such scenarios aren't common and I can't remember the last time I fiddled with one.
<{^_^}>
[nixpkgs] @jonringer pushed commit from @bhipple to master « pythonPackages.wtforms: 2.1 -> 2.3.1 »: https://git.io/JfX76
<fps>
ar: you mean you get the exact same output oath for your result/ symlink?
<fps>
s/oath/hash/
<ar>
hmm
<ar>
sorry, that was probably a pebkac
<ar>
as in, the change i was making, was probably a noop
<fps>
but also enlighten me! you use -I nixos-config=...
<fps>
looking at the man page of nix-build i don't see -I taking name/value pairs
agsdheid1 has joined #nixos
<clever>
fps: -I takes the same thing that goes into $NIX_PATH
<fps>
oh ok, it's setting a prefix, so <nixos-config> resolves to his specified path?
<clever>
yeah
<fps>
ok, got it
ritchan has joined #nixos
<lovesegfault>
if I have { ... }@args: how can I override one of the attrs in args?
<ritchan>
I just screwed up my zfs import upon boot command, so I had to boot using "Generation 7" instead of "Generation 8". Howevere, when I run `nix-env --list-generations`, it shows me that only generation 5 is available (I ran garbage collect earlier so 1-4 is gone). What's going on?
<lovesegfault>
basically if the attr exists override it, if it doesn't insert
<ritchan>
I just screwed up my zfs import upon boot command, so I had to boot using "Generation 7" instead of "Generation 8". However, when I run `nix-env --list-generations`, it shows me that only generation 5 is available (I ran garbage collect earlier so 1-4 is gone). What's going on?
<cole-h>
lovesegfault: Maye something like `// { maybe = args.maybe or "something"; }`?
<{^_^}>
[nixpkgs] @tuedel opened pull request #89509 → nodePackages: Add rollup and regenerate set → https://git.io/JfX5P
<lovesegfault>
cole-h: yep, ended up with that
<cole-h>
:P
<ritchan>
@clever thanks
lsix has quit [Quit: WeeChat 2.8]
<energizer>
quinn_: i couldn't get that to work either. fileSystems.foo = {device="${pkgs.sshfs}/bin/sshfs#remote:/path"; mountPoint = "/mnt/point"; fsType="fuse";} `mount: timed out Killed by signal 15.`
ncakerlist has quit [Ping timeout: 272 seconds]
magnetophon has quit [Read error: Connection reset by peer]
<energizer>
journalctl shows it successfully authenticated
EatThem has quit [Quit: Leaving]
<energizer>
but something goes wrong after that
magnetophon has joined #nixos
orivej_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
bqv has quit [Ping timeout: 256 seconds]
proofofkeags has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
bqv has joined #nixos
Henson has quit [Ping timeout: 258 seconds]
proofofkeags has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @jonringer pushed commit from @SFrijters to master « openttd: 1.10.1 -> 1.10.2 »: https://git.io/JfXdl
lstanley has joined #nixos
Tritlo has joined #nixos
omnigoat has joined #nixos
scoates has quit [Ping timeout: 272 seconds]
kitemikaze has joined #nixos
coot has joined #nixos
<quinn_>
energizer: oh it might not be waiting to mount until the network target is up
chessai has joined #nixos
bitonic has joined #nixos
adamse has joined #nixos
chriscoffee has joined #nixos
c00w has joined #nixos
sethetter has joined #nixos
heatm1s3r has joined #nixos
justache has joined #nixos
alunduil has joined #nixos
ynotperez has joined #nixos
ocharles has joined #nixos
fnords has joined #nixos
lightandlight has joined #nixos
ctp has joined #nixos
valwal_ has joined #nixos
quinn_ is now known as quinn
sgraf has joined #nixos
<energizer>
quinn_: isn't the network already up, i'm using it afterall
davidtwco has joined #nixos
d10n-work has joined #nixos
midchildan has joined #nixos
raboof has joined #nixos
ProofTechnique has joined #nixos
jlpeters has joined #nixos
hamishmack has joined #nixos
nick_h has joined #nixos
<dkjii>
how do you go about cleaning the nix store? can i just rm -rf /nix/store/* ?
techtangents has joined #nixos
<energizer>
dkjii: no
<energizer>
nix-collect-garbage
<energizer>
david-sawatzke[m: i think poetry2nix will work it automatically
<dkjii>
nix-collect-garbage didnt empty out the downloaded nixpkgs and delete user environments
dgpratt has joined #nixos
diamondman has joined #nixos
ryjm has joined #nixos
dani- has joined #nixos
etrepum has joined #nixos
parseval has joined #nixos
gleber has joined #nixos
<energizer>
there's a -d flag for more deleting, but be careful, if you delete too much you can't roll back
<quinn>
energizer: oh i meant during boot. fstab might be applied before network target. idk why that would be happening on a nixos-rebuild switch
sam_w has joined #nixos
teozkr_ has joined #nixos
teej has joined #nixos
dukedave has joined #nixos
johanot has joined #nixos
lally has joined #nixos
d1rewolf has joined #nixos
asymptotically has quit [Quit: Leaving]
steveeJ has joined #nixos
rodarmor has joined #nixos
eacameron has joined #nixos
thoughtpolice has joined #nixos
victorbjelkholm_ has joined #nixos
r0bby has joined #nixos
mitchellh has joined #nixos
kalbasit has joined #nixos
feepo has joined #nixos
cvlad- has joined #nixos
wildsebastian has joined #nixos
teehemkay has joined #nixos
sdier has joined #nixos
elvishjerricco has joined #nixos
terrorjack has joined #nixos
vdemeester has joined #nixos
lukego has joined #nixos
srhb has joined #nixos
<quinn>
energizer: if you're getting that error while the network target is up, i would check journalctl -xe, that sounds like a weird network error
NekomimiScience has joined #nixos
s1341 has joined #nixos
dvim has joined #nixos
sneakweb has joined #nixos
<quinn>
you should be able to use journalctl -xe with systemd.mounts too though
bgupta has joined #nixos
mankyKitty has joined #nixos
nikita` has joined #nixos
rajivr has joined #nixos
noonien has joined #nixos
rizary has joined #nixos
erasmas has quit [Quit: leaving]
dmj` has joined #nixos
cbarrett has joined #nixos
<david-sawatzke[m>
energizer: I don't think they use poetry
manveru has joined #nixos
zenxhd has joined #nixos
tazjin has joined #nixos
tazjin has quit [Client Quit]
<{^_^}>
[nixpkgs] @yusdacra opened pull request #89511 → godot-server, godot-headless: init at 3.2.1 → https://git.io/JfXdr
Guest87294 is now known as ben
tazjin has joined #nixos
sigmundv_ has joined #nixos
<energizer>
david-sawatzke[m: that's not a problem
davidv7 has quit [Ping timeout: 256 seconds]
<energizer>
quinn: i dont see anything, just mount: Mounting timed out. Terminating.
agsdheid1 has quit [Ping timeout: 265 seconds]
scoates has joined #nixos
<{^_^}>
[nixpkgs] @Anton-Latukha opened pull request #89513 → Clean-up for some packages in `haskell-modules/configuration-common.nix`. → https://git.io/JfXdD
<{^_^}>
[nixos-search] @garbas pushed to footer « adding a footer and a thank you to bonsai »: https://git.io/JfXdy
yrashk has joined #nixos
gausby has joined #nixos
<{^_^}>
[nixos-search] @garbas opened pull request #57 → adding a footer and a thank you to bonsai → https://git.io/JfXdS
ajmcmiddlin has joined #nixos
zertox has joined #nixos
nh2 has joined #nixos
joshmeredith has joined #nixos
AmandaC has joined #nixos
sorear has joined #nixos
kozowu has joined #nixos
taktoa[c] has joined #nixos
jmeredith has joined #nixos
ritchan has quit [Remote host closed the connection]
<clever>
dkjii: nix cant use distcc, but has its own remote builder logic
<dkjii>
it also helps debug repos in my experience
<clever>
dkjii: if any inputs to a build change, it will be rebuilt, no need to force a rebuild from source
<dkjii>
yes but it'll try to get it from the binary cache if it can
<dkjii>
wondering if that cna be turned off
<clever>
dkjii: why?
<clever>
if everything is working properly, your just wasting cpu time to produce the identical result
justanotheruser has quit [Ping timeout: 265 seconds]
<dkjii>
don't trust binary cache much and I enjoy debugging compile errors and reporting upstream
<dkjii>
if everyone relies on a binary cache you get packages which have shitty build systems
<clever>
dkjii: any compile errors that would occur would have happened on the cache as well, but you can build with `--option substituters ""` to ignore the cache anyways
<clever>
dkjii: the nix sandbox heavily enforces what a package can see while building, to ensure it builds the same way on any machine
<dkjii>
that's fair since it's functional w/r to the build environment
<dkjii>
had my share of issues with gentoo build system
alp has quit [Remote host closed the connection]
<energizer>
david-sawatzke[m: i just tried it with poetry2nix, i think i hit a bug in poetry2nix
alp has joined #nixos
<sshow>
can I run arbitrary docker images inside nixos?
<{^_^}>
[nixos-search] @garbas merged pull request #57 → adding a footer and a thank you to bonsai → https://git.io/JfXdS
<{^_^}>
[nixos-search] @garbas pushed to master « adding a footer and a thank you to bonsai (#57) »: https://git.io/JfXFX
<dkjii>
clever: i added the overlay from that reddit thread in the configuration={} like so https://bpa.st/O3NA and nix-env -iE is just returning with no output, any idea why?
<{^_^}>
[nixos-homepage] @garbas pushed to remove-not-used-files « remove not used files »: https://git.io/JfXbY
<{^_^}>
[nixos-homepage] @garbas opened pull request #453 → remove not used files → https://git.io/JfXbO
<Henson>
Hi everyone, I've got fingerprint auth enabled in NixOS. When I do so, it causes all PAM modules to add fingerprint authentication. But I want to allow it only for certain PAM modules. Is there a way in the NixOS configuration that I can iterate over all of the attributes in the security.pam.services set without having to specify them individually to turn fingerprint auth off?
bqv has joined #nixos
<Henson>
I tried doing "security.pam.services = pkgs.lib.mapAttrs (name: value: value.override { fprintAuth = false; }) config.security.pam.services;" but end up with an infinite recursion error, which I kind of expected.
philr_ has joined #nixos
mbrgm has quit [Ping timeout: 265 seconds]
mbrgm_ is now known as mbrgm
cole-h has joined #nixos
cole-h has quit [Client Quit]
<clever>
Henson: you cant map over a nixos option like that, you need to set it without depending on the current value
<clever>
Henson: youll need to modify what was adding it
KindTwo has joined #nixos
<Henson>
clever: so I have to either overlay the NixOS configuration to disable the part where it's automatically turned on for all PAM modules, or manually modify every PAM module to disable fingerprint auth?
KindOne has quit [Ping timeout: 272 seconds]
<clever>
Henson: yeah
<Henson>
clever: ok.
<Henson>
clever: thanks for your help!
maxter has quit [Ping timeout: 258 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #nixos
<flokli>
Henson: the pam config generation needs some love, there's quite some TODOs in there. If you feel like tackling this, happy to help :-)