<samueldr>
though I don't know if it's strictly equivalent to the build-deps linked, it should at least give everything that is required for our build
<ivan>
thanks
m0rphism has quit [Ping timeout: 265 seconds]
thonkpod has quit [Quit: WeeChat 2.4]
mexisme has quit [Ping timeout: 245 seconds]
jonringer has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis has joined #nixos
jonringer has quit [Quit: Leaving.]
t58 has quit [Quit: Leaving]
zacts has joined #nixos
xelxebar has quit [Quit: ZNC 1.7.2+deb2~bpo9+1 - https://znc.in]
jonringer has joined #nixos
xelxebar has joined #nixos
peacememories has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
frio has joined #nixos
<{^_^}>
[nixpkgs] @rencire opened pull request #69233 → lefthook: init at 0.6.3 → https://git.io/JesmO
<frio>
Heya, quick question for anyone who's around. Google has failed me. I'm attempting to add Feral's gamemode atm, and have also added the -ck patches via boot.kernelPatches -- however, my kernel won't compile as modDirVersion is wrong now. Is there an easy way to override that (linuxPackages_5_2.extend like in https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/kernel.nix
<frio>
maybe?), or do I need to actually write a proper package?
<frio>
fwiw I did try the extend above and it still fails, which means that either won't work or I'm doing it wrong ;)
<selfsymmetric-mu>
I can't get pulseaudio working. I get "In this case this is likely because PULSE_SERVER in the Environment/X11 Root Window Properties or default-server in client.conf is misconfigured."
<selfsymmetric-mu>
Does anyone have a working bluetooth setup on pulseaudio or otherwise?
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
vonfry has quit [Quit: WeeChat 2.4]
<selfsymmetric-mu>
If I set `hardware.pulseaudio.package = pkgs.pulseaudioFull`, I simply hang on "Establishing connection to PulseAudio. Please wait...".
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
abathur has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
<selfsymmetric-mu>
Okay. After some sneaky combination of purging `~/.config/pulse/cookie`, killing processes across user and root, and restarting manually from systemctl, I have made it back to non-bluetooth audio working.
<selfsymmetric-mu>
Maybe I'll just use wires until 20.03.
<clever>
selfsymmetric-mu: by default, pulseaudio configures some custom "alsa" drivers, that connect to the pulse daemon
<clever>
so alsamixer will control pulse instead, and you must select a diff card with f6
<selfsymmetric-mu>
clever: I'm not quit following. With pulseaudio alsamixer will control pulse instead of what? I wasn't able to connect to alsamixer with a broken pulseaudio.
drakonis has joined #nixos
<selfsymmetric-mu>
When I removed pulseaudio and then used alsamixer, I wasn't able to get a working audio situation with any of the card options (f6).
drakonis_ has joined #nixos
<selfsymmetric-mu>
*quite following, sorry
<selfsymmetric-mu>
It's possible that I just got really unlucky and got some crud on my system that pulseaudio was bouncing off of. So now that I'm back to where I started maybe I can carefully try and configure bluetooth audio again. Maybe not today though...
kai_w has quit [Remote host closed the connection]
kai_w has joined #nixos
evils has quit [Quit: leaving]
kai_w has quit [Remote host closed the connection]
kai_w has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
drakonis has quit [Ping timeout: 246 seconds]
kai_w has quit [Remote host closed the connection]
kai_w has joined #nixos
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
frio has quit [Ping timeout: 252 seconds]
<jonringer>
selfsymetric-mu: I know for my nixos installation, i have to use pulseaudio and do `pacmd set-default-source` and `pacmd set-default-sink` to get it to work well with a bunch of applications and games :(
kai_w has quit [Remote host closed the connection]
kai_w has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
drakonis has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
drakonis has joined #nixos
frio has joined #nixos
drakonis1 has joined #nixos
kai_w has quit [Remote host closed the connection]
eraserhd has quit [Ping timeout: 245 seconds]
kai_w has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
<JaakkoLuttinen[m>
In nixpkgs, is it possible to define a type of attribute set so that the default value would be merged with the user-given value? I'm defining a large default configuration for one app as attribution set and I'd like the user to be possible to modify or add values without needing to define the whole default attr set again..
<cinimod``>
2019-09-22 06:34:51.868010: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
rsoeldner has joined #nixos
mishach has joined #nixos
nikola_i has quit [Ping timeout: 250 seconds]
<cinimod``>
tf.test.is_gpu_available()
kai_w has quit [Remote host closed the connection]
<cinimod``>
False
<cinimod``>
Hmmm - I definitely asked for Standard NC6 (6 vcpus, 56 GiB memory)
kai_w has joined #nixos
<alienpirate5>
how to disable zfs? it's only caused me issues e
<alienpirate5>
i would like to disable it
<alienpirate5>
so it does not get installed at all
<quiet_laika[m]>
would it be possible to write a vscode plugin that works with nix to fetch paths to binaries for editor tooling on the fly, eg allowing me to "hot reload" inside of vscode if i added a dependency to my shell.nix?
<quiet_laika[m]>
my current workflow is `nix-shell --run "code ."` and kill + restart when i change something
nalck has joined #nixos
<alienpirate5>
my rebuilds are currently broken because both unstable zfs and the stable zfs don't work on the 5.3
<alienpirate5>
how to remove zfs support entirely?
kai_w has quit [Remote host closed the connection]
kai_w has joined #nixos
nalck has quit [Client Quit]
rsoeldner has quit [Ping timeout: 252 seconds]
<clever>
alienpirate5: i believe its already fixed in nixpkgs master
<alienpirate5>
right, how long do updates from that usually take?
<freeman42x>
I am trying to install NixOS on a new MSI laptop using the GUI bootable NixOS thingie. But on boot I am getting following error: https://i.imgur.com/M0qjtIG.jpg Any ideas?
<clever>
freeman42x: how did you make the usb stick bootable?
<freeman42x>
clever, I do not recall, either dd, or sometig else, tried all, nothing worked...
<clever>
freeman42x: dd should work, unetbootin breaks everything
<freeman42x>
dd did not work...
<clever>
freeman42x: did what device did you use for the if= flag?
<freeman42x>
sorry, but I do not recall
<cinimod``>
how do I get lspci on nixos?
<freeman42x>
if you want I can try everything again
<clever>
freeman42x: try again then
<clever>
cinimod``: install pciutils
<freeman42x>
clever, ok, will ask you for if flag when I get to it, doing something else also at the moment
<cinimod``>
clever: thanks - eventually Mr Google gave me the same answer
<jonringer>
that should build with nvidia drivers which include libcuda.so*
<alexarice[m]>
MichaelRaskin I've managed to query referers for a nix store path though I don't really understand how I would specify `release.nix` at any point
<clever>
jonringer: cuda works fine, on my nvidia hardware
<cinimod``>
clever: ls /run/opengl-driver/lib has files
<clever>
cinimod``: what about `ls -l /dev/nvidia*` ?
<cinimod``>
clever: I can't see /dev/nvidia*
<MichaelRaskin>
alexarice: if you instantiate release.nix, it ensures that your store contains derivations for its packages
<alexarice[m]>
ah I see
<alexarice[m]>
thanks
<clever>
cinimod``: you may need to reboot, and/or try what jonringer said
<cinimod``>
[sundials@CUDA:~]$ ls /dev | grep -i nv
<cinimod``>
<cinimod``>
<MichaelRaskin>
Querying referrers of a derivation will find these if they refer to it
domogled has joined #nixos
<cinimod``>
I did sudo reboot before I tried looking for /dev/nvidia*
<cinimod``>
clever: jonringer suggestion goes in config?
<clever>
cinimod``: yes, in configuration.nix
<MichaelRaskin>
alexarice: obvious advice: test on a package which has reverse dependencies but that you don't have installed. Just to make sure everything works as expected
<alexarice[m]>
MichaelRaskin: finding packages that are not installed is easier said than done
<cinimod``>
It seems I needed nixpkgs.config.allowUnfree = true; also
<MichaelRaskin>
alexarice: well, searching for names in the store directory listing often gives an idea
domogled has quit [Ping timeout: 276 seconds]
revtintin has joined #nixos
<cinimod``>
clever: [sundials@CUDA:~]$ ls /dev | grep -i nv
<clever>
2019-09-22 08:53:07.507573: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
<cinimod``>
sudo python -c "import tensorflow as tf; tf.Session(config=tf.ConfigProto(log_device_placement=True))"
orivej has joined #nixos
<cinimod``>
tensorflow/stream_executor/platform/default/dso_loader.cc:53] Could not dlopen library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
<clever>
cinimod``: sudo may undo key env vars like LD_LIBRARY_PATH
<clever>
reboot, save the output of lsmod, run it as root, save the output of lsmod again
<clever>
does the output differ?
<{^_^}>
tensorflow/tensorflow#32623 (by josei, 3 days ago, open): "failed call to cuInit: CUDA_ERROR_UNKNOWN: unknown error" unless running with sudo
philr has joined #nixos
<cinimod``>
clever: I have to prep for a meeting tomorrow - I will try later once I am no longer stressed about prepping - I am immensely grateful for your help
<clever>
yep
<clever>
it helps to have access to a nixos machine that already has cuda working
<clever>
which is why i still havent gotten opencl to work on amd
<clever>
no example to compare against
<cinimod``>
It certainly does help - no question
<clever>
cinimod``: i can also confirm, the systemd service i used cuda in, always runs as root
<clever>
thats why i never had that specific problem
<{^_^}>
[nixpkgs] @peti merged pull request #68950 → nixos: improve the example that shows how to include nvidia_x11 in boot.extraModulePackages → https://git.io/JeOu8
asymptotically has quit [Remote host closed the connection]
asymptotically has joined #nixos
jgeerds has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jess2
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
frio has quit [Quit: WeeChat 2.6]
ris has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed 7 commits to haskell-updates: https://git.io/JessF
saschagrunert[m] has joined #nixos
<xantoz>
is there any guide for migrating a nixos install to a new disk?
<xantoz>
I want to just copy all files over to a new filesystem on the new disk, and then install the bootloader
<xantoz>
so I guess I'm asking for how to install the bootloader on an external disk (as I imagine I'll hook the new disk up over USB at first)
<ddima>
xantoz: I've used the bash snipped from https://nixos.wiki/wiki/Bootloader before to rescue a system where I broke the bootloader entirely, frommm a usb stick
<ddima>
err, snippet. maybe it can work for your situation too.
inkbottle has quit [Ping timeout: 240 seconds]
<xantoz>
I'd also have to change some things in hardware-configuration.nix at the same time (UUIDs, filesystem type etc.)
inkbottle has joined #nixos
bew has left #nixos ["Leaving"]
zupo has joined #nixos
bew has joined #nixos
bew has left #nixos ["Leaving"]
cinimod`` has quit [Ping timeout: 240 seconds]
cinimod`` has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/JesGk
<ddima>
xantoz: I've never tried it with copying, but likely if you just copy all the stuff over, mount it into your running system, fix your configs and `nixos-install --root $mnt` in my estimation could work fine
zupo has quit [Read error: Connection reset by peer]
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<JaakkoLuttinen[m>
How can I define an overlay that modifies some of the attributes inside mkDerivation (e.g., src, buildInputs or patches)? In particular, I'd like to apply a patch to a package by using an overlay.
<qyliss>
We should be building the config file ourselves, but I was just hoping somebody else had already solved the problem
parity has quit [Changing host]
parity has joined #nixos
parity has quit [Quit: leaving]
parity has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to release-19.09 « haskell-postmaster: mark the build as broken »: https://git.io/JesZw
jgeerds has quit [Ping timeout: 252 seconds]
parity has quit [Client Quit]
<{^_^}>
[nixpkgs] @peti pushed to master « python-mailmanclient: this package builds only with Python 3.x »: https://git.io/JesZQ
parity has joined #nixos
parity has quit [Client Quit]
parity has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to release-19.09 « python-mailmanclient: this package builds only with Python 3.x »: https://git.io/JesZA
peacememories has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever>
emily: from what ive heard, zfs can be configured to scrub at regular intervals (read all data, and check checksums), and then email you if it detects corruption
peacememories has joined #nixos
<{^_^}>
[nixpkgs] @mmilata opened pull request #69247 → wordpress: new package version, generate secrets locally → https://git.io/JesnI
Ariakenom has quit [Read error: Connection reset by peer]
<jD91mZM2>
What's the point of nixos containers? Is it just for running software more securely, or is there more to it?
<clever>
jD91mZM2: one option is to be able to run services like mysql, that currently dont support multiple instances (in the nixos module as it is now), and to spawn several of them
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
<clever>
in one recent case, even if the service (buildkite-agent) supports multiple instances, the scripts that run within it expect exclusive access to /build
<jD91mZM2>
Ah, thanks!
<clever>
jD91mZM2: security is also another reason, since it can isolate `ps aux` output and such, but the `/nix` is still shared between host and guest, so be careful with secrest in derivations
<jD91mZM2>
Right, yeah, I'm trying to move to use files (or better, when possible, hashes), although I wish there was a good standard on where to place the password files :)
<jD91mZM2>
Is there a way to check the unstable `man configuration.nix` while still using a stable system normally?
kleisli has joined #nixos
<clever>
jD91mZM2: you can probably `nix-build` the manual, though i'm not sure of the attr path
cinimod`` has joined #nixos
<tilpner>
jD91mZM2: man $(nix-build -I nixpkgs=channel:nixos-unstable --no-out-link '<nixpkgs/nixos>' -A config.system.build.manual.manpages)/share/man/man5/configuration.nix.5
<tilpner>
Had that in my shell history from ${"inf"+"inisil"} IIRC
<jD91mZM2>
tilpner: Thanks :) Maybe that should be saved as ,unstable-man or something
<tilpner>
jD91mZM2: Does it work for you?
<jD91mZM2>
tilpner: Currently building, but yeah sure looks like it :)
<jD91mZM2>
,unstable-man = man "$(nix-build -I nixpkgs=channel:nixos-unstable --no-out-link '<nixpkgs/nixos>' -A config.system.build.manual.manpages)/share/man/man5/configuration.nix.5"
<{^_^}>
unstable-man defined
<jD91mZM2>
,unstable-man
<{^_^}>
man "$(nix-build -I nixpkgs=channel:nixos-unstable --no-out-link '<nixpkgs/nixos>' -A config.system.build.manual.manpages)/share/man/man5/configuration.nix.5"
<{^_^}>
[nixpkgs] @Mic92 pushed commit from @flokli to release-19.09 « afew: propagate setuptools »: https://git.io/Jesch
zacts has quit [Ping timeout: 245 seconds]
master has joined #nixos
master has quit [Remote host closed the connection]
<jD91mZM2>
It's a me again, wondering how to fix: `Unable to locate theme engine in module_path: "adwaita"`. This occurs when trying to install and run KDE Connect with `nix-shell -p kdeconnect`, and it feels like I'm just missing some package?
philr has quit [Ping timeout: 240 seconds]
k41 has joined #nixos
tboston has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}>
[nixpkgs] @flokli opened pull request #69253 → systemd: remove local-fs.target, which was accidentially added to systemd 243 → https://git.io/JesC2
erictapen has quit [Ping timeout: 240 seconds]
k41 is now known as eon2
erictapen has joined #nixos
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
erictapen has quit [Ping timeout: 245 seconds]
erictapen has joined #nixos
polman has quit [Ping timeout: 245 seconds]
<eraserhd>
How does one allow users to mount FUSE filesystems on NixOS? /dev/fuse is root:root, and even though the derivation mentions etc/udev/99-fuse, this file doesn't seem to get symlinked or used when fusePackages.fuse_3 is in environment.systemPackages.
<jwaksbaum[m]>
Is it possible to configure WiFi networks in configuration.nix using network manager, so that a hash of the password is there and it automatically connects?
emacsomancer has quit [Read error: Connection reset by peer]
<rotaerk>
for the longest time, my alsamixer settings haven't been restored on boot, so I have to un-mute master and turn up its volume every time
<clefru>
I just upgrade to 19.09 and my fonts look different (nicer I have to say). The only upgrade from 19.03 I can spot is freetype 2.9->2.10, that doesn't seem to have anything interesting in its rel.notes. No changes to fontconfig either... I wonder a bit where that is coming from..
jgt has joined #nixos
<rotaerk>
I see the way this is supposed to be resolved is for `alsactl restore` to be run
<rotaerk>
any idea why nixos wouldn't be running this?
<alexarice[m]>
rotaerk: likely no one has told it to
<rotaerk>
does anyone else have this problem?
<alexarice[m]>
I think most people use pulseaudio maybe?
<rotaerk>
oh, not familiar with that
<clefru>
Pulseaudio has "module-card-restore", which probably restores last settings on load.
rsoeldner_ has quit [Remote host closed the connection]
<rotaerk>
okay, I'll try enabling pulseaudio
rsoeldner_ has joined #nixos
<alexarice[m]>
rotaerk: if you think the config for alsa is broken you could always submit a fix
<rotaerk>
I'm not particularly attached to alsa; I just thought that was standard
<MichaelRaskin>
I think almost nobody contributes without sometimes having a master checkout around
<samueldr>
considering fixes generally have to go through master, when they get backported to stable, that's almost a certainty
<MichaelRaskin>
The whole point of Nix is that most of the time you can build a single thing from master and test it, whatever you use for your system, actual daily use, development environments etc.
Intensity has joined #nixos
<alexarice[m]>
fair enough, I might switch over from unstable to 19.09
<emily>
MichaelRaskin: I rarely use master because nixos-unstable-small is pretty fast
<emily>
(except when it isn't...)
wfranzini has joined #nixos
<MichaelRaskin>
Yeah, one can check out unstable from nixos-channels repository, then just submit a PR with a patch against unstable to master
<MichaelRaskin>
For most things it will work just fine
jtojnar has quit [Read error: Connection reset by peer]
<MichaelRaskin>
And if the entire system is built form unstable, it is a bit less compilation during development
<alexarice[m]>
never considered using small channels, feel I'd have to have half my system not using it
<MichaelRaskin>
Well, you can always build whatever you miss
<MichaelRaskin>
(And you can install some of the software from another channel)
<emily>
alexarice[m]: for me it's mostly a bunch of rust stuff.
<emily>
sometimes it's chromium. those times i stay on nixos-unstable.
<emily>
I've considered staying on -small permanently and having nixos-unstable as a channel (like people do on stable), so that stuff like chromium can stay in nixos-unstable while other packages are on -small...
<emily>
NixOS is magical
rsoeldner_ has quit [Remote host closed the connection]
rsoeldner_ has joined #nixos
<rotaerk>
k, audio works now, after enabling PA
<rotaerk>
thanks alexarice[m]
wfranzini has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @edolstra pushed to release-19.09 « vista-fonts: Use new download location »: https://git.io/Jes8B
magnetophon has joined #nixos
ng0 has quit [Ping timeout: 260 seconds]
<jD91mZM2>
I have a bit of a fight with closed-source programs: Any program I need to run I currently run in docker. Would it make sense to use nixos containers for this?
<__monty__>
jD91mZM2: No. Kill it with fire instead. : )
growpotkin has joined #nixos
rmeis has joined #nixos
<MichaelRaskin>
jD91mZM2: buildFHSUserEnv, then burn down the original vendor office
<evanjs>
Ah okay. I already have the nightly integrated systemwide so I'm only ever a day behind. I guess I just didn't think about running nix-build inside of a nix-shell (with the nightlies), if that's what you're implying.
<jonringer>
I haven't explored using nix with rust much, so i can't say for certain :)
<arcnmx>
makeRustPlatform works okay with the mozilla overlay
<arcnmx>
which you can then use with buildRustPackage
<jD91mZM2>
__monty__: MichaelRaskin: Thank you both for your inputs! The main package in question actually has a nix derivation: Citrix Workspace. So the main problem isn't the lack of FHS environment but rather just the unfree structure.
<MichaelRaskin>
I try to run hole-y software (including unfree) in nsjail's (but I am not exactly on NixOS, so nixos-container is not a cheap option for me)
<MichaelRaskin>
(And I have quite a bit of tooling around nsjail setup)
<jD91mZM2>
Yeah maybe I should just burn citrix down to the ground
<MichaelRaskin>
I would say that impossibility to compare security-wise VMs and containers definitely does no good for human confidence in… anything in the radius of one kilometer around any computer… which is basically all human-inhabited area
<MichaelRaskin>
You can skip the middlemen and go for Intel!
<aleph->
Hmm when setting up a dev env via nix-shell. Would I want to use postInstall/preIntall to run commands to set it up after installing my package set?
<eyJhb>
I might or might not, have found a bug in our network.firewall.extraCommands, I think that it should run before the rpfilter does it DROP as well
<eyJhb>
Else I need to remove the -j DROP, and then readd it again
<{^_^}>
[systemd] @Mic92 pushed to nixos-v243 « Revert "sysinit.target: Drop the dependency on local-fs.target and swap.target" »: https://git.io/JesBJ
<lordcirth>
So, nixpkgs/nixos/modules/installer/cd-dvd/sd-image.nix is great, but it's for ARM machines. Is there a good way to generate a similar self-expanding image for x86?
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @orivej to master « libipt: set platforms to unix »: https://git.io/JesBa
<mgdm>
anyone have any tips on fixing cmake builds that try to directly write to the CMAKE_INSTALL_PREFIX dir (which is under /nix/store and so read-only)?
<eyJhb>
mgdm: /tmp?
<mgdm>
Well. I'm trying to figure out how to make my derivation force the build to install there first
<mgdm>
I have not done this before
roho has joined #nixos
<mgdm>
or do I stop it doing that, and do the file moving myself?
<retusto>
hey guys, i have a question. I'm using teamspeak on nixos and I would like to add a custom skin and plugins to the teamspeak client. But the location where you normally would put those plugins, is inside the nix-store. Is there a way to change the derivation, to symlink the plugin directory to a directory outisde the nix-store, e.g.
<retusto>
/home/user/.config/ts3/plugins? do I need a wrapper for that?
<eyJhb>
retusto: services.teamspeak3.dataDir ?
<fresheyeball>
retusto: I think the best answer is to clone the nixpkgs repo
<fresheyeball>
modify the code to your liking
fendor has joined #nixos
<fresheyeball>
perhaps add an option to link files to that location
<Ralith>
I imagine that's for the service, not the client
<fresheyeball>
and PR it back
<Ralith>
symlinks from the store into $HOME would probably not be accepted
<retusto>
thx fresheyeball, that was my plan.. but I'm new to nixos and I don't really know how to add options or even create a hardcoded symlink for a start.....
<retusto>
Ralith yes, seems like adding an options would be the best way
wfranzini has quit [Remote host closed the connection]
<fresheyeball>
retusto: lets take a look at the package
<retusto>
on other distros its just in /opt/teamspeak/plugins or something like that
<jonringer>
kongobongo: I think the nvidia_x11 package is for the video drivers, you should get it by doing `services.xserver.videoDrivers = [ "nvidia" ]'`
<fresheyeball>
retusto: ok
<kongobongo>
Thx jonringer in such case that comment under boot.kernelPackages is very unclear and confusing.
<jonringer>
kongobongo: Oh, if you're trying to set it, it just references a specific linux kernel version, so `boot.kernelPackages = pkgs.linuxPackages_latest;` for example, or `boot.kernelPackages = pkgs.linuxPackages_5_2;` if you want a version
<jonringer>
`
<retusto>
but I also could write something like "ln -s /home/user/.config/ts3/plugins $out/lib/teamspeak/plugins" right? I would then later try to replace this hardcoded link with option somehow
<fresheyeball>
retusto: no
<fresheyeball>
that would be impure
<fresheyeball>
you cannot link userspace into the nix-store
<{^_^}>
#68931 (by peti, 6 days ago, closed): boot.extraModulePackages = [ pkgs.linuxPackages.nvidia_x11 ] fails to build
<retusto>
because I'm not even sure if i can find simple downoadlinks to all the plugins and sinks i want to use.. also the plugins then would be hardcoded into my teamspeak derviation...
<retusto>
*skins
<fresheyeball>
yes
<fresheyeball>
I want to know why you wouldn't want to bake it in, and have your whole teamspeak setup as a derivation
<fresheyeball>
that sounds like goodness to me
<kongobongo>
Do I understand correctly that extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ]; also applies when boot.kernelPackages is set to linuxPackages_latest?
fendor has quit [Quit: Leaving]
<jonringer>
config.boot.kernelPackages should reference boot.kernelPackages
<retusto>
hmmm that seems a little bit static to me.. and e.g. doing a PR would not make sense when plugins are hardcoded.. would the nix-way be to add some kind of option for each possible plugin?
<retusto>
to toggle them i mean
<kongobongo>
jonringer but there is no config.boot.kernelPackages_latest so what to use when we are using the latest kernel?
o1lo01ol1o has joined #nixos
<{^_^}>
[nixpkgs] @edolstra opened pull request #69267 → Revert systemd interface version to 2 [19.09 backport] → https://git.io/JesRl
<waleee-cl>
kongobongo: set boot.kernelPackages = pkgs.linuxPackages_latest
<kongobongo>
I have that already.
<jonringer>
it should just be config.boot.kernelPackages to reference was boot.kernelPackages was set to
<waleee-cl>
ok
<jonringer>
what boot.kernelPackages*
<kongobongo>
waleee-cl I have this boot.extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ]; and this boot.kernelPackages = pkgs.linuxPackages_latest. Is that correct to get nvidia for the latest kernel and not stock kernel?
<kongobongo>
Ah, I get it. kernelPackages are = linuxPackages_latest. So above is ok.
nalck has joined #nixos
<waleee-cl>
I don't use it [nvidia_x11] so don't know about that.
<waleee-cl>
was it by chance you that asked a similar question about optimus and prime on the discourse?
<kongobongo>
Nope. I even forgot that discourse exists.
<{^_^}>
[nixpkgs] @matthewbauer pushed to master « mariadb: add patch for missing libcrypt on darwin »: https://git.io/JesRB
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<kongobongo>
(Usually I use libre Nouveau+PRIME but I wanted to test CUDA today.)
<kongobongo>
I even needed to set allowUnfreePredicate = (pkg: true); cuz nixpkgs.config.allowUnfree = true; had an eval error.
<{^_^}>
[nixpkgs] @orivej-nixos pushed 49 commits to staging: https://git.io/JesRR
<kongobongo>
Proprietary packages are pure madness. ;)
<kongobongo>
(`(pkg.name == (import <nixpkgs> {config={allowUnfree=true;};}).linuxPackages_latest.nvidia_x11.name)’ does not even work cuz nvidia ` has no name ' or something so I needed to allow all unfree stuff.)
<recj>
i'm trying to install these drivers which require /lib/modules/3.10.25+/build to build
<recj>
not exactly sure what the best way to do so would be
ng0 has quit [Ping timeout: 260 seconds]
phreaky has quit [Ping timeout: 246 seconds]
kongobongo has quit [Remote host closed the connection]
<DigitalKiwi>
that parse error from the gist happens in a nixpkgs repo that is configured to NixOS/nixpkgs and not my fork so I don't think I have changed it at all :|
o1lo01ol1o has joined #nixos
markus1189 has quit [Ping timeout: 265 seconds]
<fresheyeball>
anyone got a nixpkgs hash where things work with a ghc86 ?
o1lo01ol1o has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 276 seconds]
mcbits has quit [Read error: Connection reset by peer]
<DigitalKiwi>
it's happened on all of the computers i've tried and all of the nixpkgs repos even a clean pull from Nixos/nixpkgs
<selfsymmetric-mu>
What would be the right way to package it into Nix?
<samueldr>
DigitalKiwi: just checking, you do know that `nix-review` isn't my creation?
<DigitalKiwi>
i looked at the line of code that it's mad about and ran the command nix-env -qaP --xml --out-path --show-trace > qaP.xml
<DigitalKiwi>
error: while querying the derivation named 'emacs-mac-25.3-6.8':
<DigitalKiwi>
it errors
<selfsymmetric-mu>
To run it I had to replace the shebang lines with /run/current-system/sw/bin/bash and replace `/home/baizon/GitHub/a2dpfix/a2dp-fix` with `./a2dp-fix`.
<DigitalKiwi>
samueldr: but you are super smart
<samueldr>
hmmm, it sounds like some regression in master
<samueldr>
DigitalKiwi: thanks :)
matix has quit [Quit: :q!]
<samueldr>
I was initially confused since I tried to write a nix review tool, but Mic/92 did it first, and better :)
ris has quit [Ping timeout: 265 seconds]
<DigitalKiwi>
OR IS IT
<DigitalKiwi>
this is really putting a hampering on my intended PRs for the day :(
mexisme has joined #nixos
zacts has quit [Quit: WeeChat 2.4]
<samueldr>
DigitalKiwi: something must have slipped in master