hexo has quit [Write error: Connection reset by peer]
Anton-Latukha has quit [Ping timeout: 268 seconds]
acowley has quit [Ping timeout: 268 seconds]
<pie_>
i await the day i can git clone /other people's/ repos and just drop myself into a nix shell...
<pie_>
nix shell or nix hell? ;D (just kidding)
ToxicFrog has quit [Ping timeout: 246 seconds]
ToxicFrog has joined #nixos
levdub has joined #nixos
<yunratobe>
ivan yes
Adluc has joined #nixos
<yunratobe>
but vaapi not working too when on X11
hexo has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjoPq
justanotheruser has joined #nixos
mexisme has quit [Ping timeout: 248 seconds]
<{^_^}>
[nixpkgs] @lopsided98 opened pull request #63911 → nixos/release-notes: fix bad merge of cargo-vendor entry and formatting → https://git.io/fjoPm
srk has joined #nixos
Perfectionist has joined #nixos
LogicAside has quit [Ping timeout: 272 seconds]
genesis has quit [Remote host closed the connection]
yunratobe-1 has joined #nixos
alp has quit [Ping timeout: 252 seconds]
sindrip has quit [Ping timeout: 260 seconds]
LogicAside has joined #nixos
Ariakenom has quit [Quit: Leaving]
iyzsong has joined #nixos
ToxicFrog has quit [Ping timeout: 268 seconds]
ToxicFrog has joined #nixos
dansho has quit [Quit: Leaving]
<lordcirth_>
samueldr, error: moving build output '/nix/store/zn909yj9ax5sv3358drxwwlyk7d1na3b-documentation-highlighter' from the sandbox to the Nix store: Permission denied
<samueldr>
lordcirth_: hm?
Perfectionist has quit [Quit: ⭐⭐Join: ##truth ⭐⭐]
<lordcirth_>
samueldr, trying to use your arm build script
<samueldr>
never seen that error
<lordcirth_>
Probably because I'm not on NixOS
<lordcirth_>
If I do it as root, the paths don't work :P
<kyren>
what do I do if I want to override a nixos module, but the module I'm overriding has a renamed option in nixos/modules/rename.nix?
<kyren>
(and the renamed option doesn't exist in the overriden module)
<kyren>
I get a "The option <some_option> defined in '<path>/nixos/modules/rename.nix' does not exist error (in case that part wasn't obvious)
<kyren>
eh, I can just make a placeholder module with type `types.enum [ "DEPRECATED" ]` or something
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
domogled has quit [Quit: domogled]
yunratobe-1 has quit [Quit: WeeChat 2.4]
waleee-cl has quit [Quit: Connection closed for inactivity]
levdub has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
hio has quit [Quit: Connection closed for inactivity]
ericsagnes has joined #nixos
datakurre has joined #nixos
xelxebar has quit [Ping timeout: 260 seconds]
xelxebar has joined #nixos
levdub has quit [Remote host closed the connection]
levdub has joined #nixos
Ralith_ has joined #nixos
<lordcirth_>
Ah, it seems that when creating the libvirtd image, nixops is creating the files as uid 1000, presumably because it's running as uid 1000 on the host
Miyu-chan has quit [Ping timeout: 268 seconds]
<clever>
lordcirth_: ah, sounds like a purity issue, it should be forcing a uid when creating the image
* Ralith
kicks his bouncer
<lordcirth_>
clever, any idea how to fix it? Running it as root seems to cause it's own problems
<clever>
lordcirth_: you want to run nix-daemon as root, and make sure root owns /nix/store/
<clever>
lordcirth_: then run the normal nix-build without root
<clever>
lordcirth_: root should also own everything under /nix/var/
<lordcirth_>
I could have sworn I did a proper multi-user install
<lordcirth_>
But there's no nix-daemon systemd service?
<lordcirth_>
clever, what about /nix/store ?
<clever>
lordcirth_: when in multiuser mode, root should own it
lordcirth_ has quit [Remote host closed the connection]
lordcirth_ has joined #nixos
alex`` has joined #nixos
Supersonic has quit [Ping timeout: 264 seconds]
Supersonic has joined #nixos
ym555 has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @matthewbauer opened pull request #63912 → Mesa Darwin support → https://git.io/fjoX9
<aveltras>
hyper_ch: reading your link right now :)
<aveltras>
hyper_ch: so i guess the nice thing with your link is to be able to partition the disk as we want VS nixos-infect which just seems to keep the same partitions, right ?
init_6 has joined #nixos
<hyper_ch>
aveltras: the kexec loads a very basic nixos install "iso" into ram
<hyper_ch>
you have can continue like you inserted a usb stick or cd
<hyper_ch>
so feel free to do with the partitions as you want
<baum>
if i deploy this conf via nixops i get a timeout error message from postgres, thus i sshed into the machine and i'm trying to start it manually
<baum>
this is where postgres errors out with: FATAL: could not open directory "/run/current-system/sw/share/timezonesets": No such file or directory
<ar>
huh
<baum>
(which does exist in /nix/store)
<baum>
i'm not sure how to continue debugging from there
ym555_ has joined #nixos
ym555 has quit [Ping timeout: 268 seconds]
mexisme has joined #nixos
<lukego>
If I build with '--option sandbox false' then should I have network access? Trying to make this work: nix-build --option sandbox false -E 'with import <nixpkgs> {}; runCommand "test" { buildInputs = [ wget ]; } "wget -O- http://google.com/"'
<lukego>
(This is me looking for a neat way to package up impure code that generates pure nix expressions i.e. scraping the internet to create a list of sources with sha256. I suppose people usually do this with nix-shell but I thought nix-build could be neater.)
WilliamHamilton has joined #nixos
hlolli_ has joined #nixos
slack1256 has joined #nixos
<yorick>
lukego: you have to be a trusted user (or root) for that to work
<lukego>
yorick: ok thanks. I'd expected a warning if it weren't working, but seems like that's asking too much. I'll try to formulate this with nix-shell instead.
ent has joined #nixos
<yorick>
lukego: would be good to make a warning for that, yes
Anton-Latukha has joined #nixos
orivej has joined #nixos
<nilsirl[m]>
How can I enable AddKeysToAgent in ssh
<ar>
baum: well, I just added services.postgresql = { enable = true; package = pkgs.postgresql96; }; to my configuration.nix, it works, /run/current-system/sw/share/timezonesets doesn't exist and nothing complains about that
<baum>
strange, i'm running two machines, and it doesn't work on either of them
<ar>
i'm on nixos-unstable on that machine
griffithudm2 has joined #nixos
<baum>
ar: i'm running 18.09
griffithudm2 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<baum>
ar: well i'm not sure how to continue from here, basicly my plan was to setup gitea/hydra via nixops (for now in a vm and once everything works to deploy it on a server)
hazefpj1 has joined #nixos
hazefpj1 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
antinrlo2 has joined #nixos
antinrlo2 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
hlolli_ has quit [Ping timeout: 264 seconds]
hershelmea3 has joined #nixos
justanotheruser has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
hershelmea3 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
cyraxjoe has quit [Quit: I'm out!]
<lukego>
yorick: I heard a rumour that one way to avoid the sandbox restriction is to wrap the build script in a qemu virtual machine. I can't immediately find a howto on that though. Is that really true and easy to do?
<lukego>
Hurts a bit to switch from nix-build to nix-shell because the result is not really composable anymore.
amz3 has quit [Quit: WeeChat 2.2]
linarcx has quit [Quit: WeeChat 2.5]
* baum
currently tries to update his 18.09 version, if unsuccessful he'll try to upgrade to 19.03
mexisme has quit [Ping timeout: 246 seconds]
Ariakenom has joined #nixos
Perfectionist has joined #nixos
Guest77 has joined #nixos
WilliamHamilton has quit [Remote host closed the connection]
linarcx has joined #nixos
justanotheruser has joined #nixos
gxt has joined #nixos
<andi->
baum: you are aware that 18.09 is EOL since a while and doesn't receive any updates anymore?
fusion809 has quit [Remote host closed the connection]
asheshambasta has joined #nixos
ericsagnes has quit [Ping timeout: 268 seconds]
<alexarice[m]>
is it possible for a graphics card to become unsupported on nixos, I'm getting errors that suggest my card is not support when I haven't changed it or the configuration
<srhb>
alexarice[m]: As in as the consequence of an upgrade? Sure, it's possible. Probably not intentionally though. What's the card, what's the error?
<alexarice[m]>
srhb: the error is on opening sway `[backend/backend.c:399] Failed to open any DRM device`
<alexarice[m]>
and the card is some integrated intel on lenovo x1 carbon 2nd gen
<srhb>
That seems unlikely to be unsupported.
<alexarice[m]>
and I have a generation from a week ago where everything works fine
evax has joined #nixos
karetsu has joined #nixos
<alexarice[m]>
is my best bet trying to bisect?
<srhb>
It may be helpful unless there's a mass rebuild in between.
<srhb>
But even that is more information.
linarcx has quit [Quit: WeeChat 2.5]
ericsagnes has joined #nixos
jbaum98 has quit [Quit: Connection closed for inactivity]
rfold has joined #nixos
<baum>
ar: alright, thanks for your help, turns out i didn't follow rule nr-1: don't use EOL systems. after upgrading nixos everything works as expected...
init_6 has quit []
<infinisil>
alexarice[m]: the intel driver has been removed from the default drivers due to its bugginess apparently
stranger___ has quit [Quit: Connection closed for inactivity]
<infinisil>
See #55583, not sure if that's the cause
<WilliamHamilton>
I am installing nixos on a new machine, but it doesn't seem able to start slim or xmonad (using a config that works in another computer). I suspect the culprit might be the video drivers (I'm using for now the integrated graphics in a i7-9700K processor)
m0rphism has joined #nixos
<WilliamHamilton>
I tried adding explicitly `services.xserver.videoDrivers = [ "intel" ];` and not setting that option, but none of that works
<WilliamHamilton>
how could I debug the issue further?
<{^_^}>
[nixpkgs] @Ma27 opened pull request #63920 → zsh-you-should-use: init at 1.1.0 → https://git.io/fjoDw
<WilliamHamilton>
(I am connected via hdmi, for what's worth, but I can login in a virtual console, so I don't think that's the problem)
<WilliamHamilton>
also, I get `hdaudio hdaudioc0d2: unable to bind the codec ` when I insert the hdmi cable, I think
<yorick>
WilliamHamilton: "modesetting" instead of 'intel' is recommended but it should be set by default
<yorick>
WilliamHamilton: check xorg.log
<WilliamHamilton>
yorick thanks, give me a sec
JonReed has joined #nixos
linarcx has joined #nixos
prometheus_falli has quit [Ping timeout: 244 seconds]
<WilliamHamilton>
yorick it seems strange, but I don't have a `xorg.log` neither in `/var/log/` nor in `~./local/share/xorg`
<yorick>
WilliamHamilton: it's probably X.0.log
<WilliamHamilton>
no, nothing of that sort exists in the two location I mentioned
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<JonReed>
`journalctl -fu display-manager.service` I'm new to systemd. Does this command give you output or it's just used to express your honest feelings towards a service?
<yorick>
JonReed: both
<yorick>
WilliamHamilton: what does journalctl -u display-manager.service say?
<WilliamHamilton>
JonReed I suspect it's the second :D , anyway -f should be for following the output, and -u for the specific unit
<yorick>
JonReed: it's like netstat -pantsu
karetsu has quit [Quit: WeeChat 2.4]
hlolli_ has joined #nixos
Anton-Latukha has quit [Ping timeout: 245 seconds]
<yorick>
"Jun 29 05:48:12 h2 display-manager[1095]: modprobe: FATAL: Module fbcon not found in directory /run/current-system/kernel-modules/lib/modules/4.19.56" well there you go
<yorick>
WilliamHamilton: now try it with modesetting
<WilliamHamilton>
explicitly setting "modesetting" as the driver?
<yorick>
oh modesetting fails because no /dev/dri/card0
<WilliamHamilton>
wait what's `fbcon`?
<WilliamHamilton>
also `Screen(s) found, but none have a usable configuration.` seemed problematic?
<yorick>
if you have modesetting it should manage to open /dev/dri/card0
<yorick>
WilliamHamilton: what's your dmesg say about i915?
<yorick>
(the output of journalctl -b -g i915)
<yorick>
WilliamHamilton: also, what's your nix config?
<yorick>
nixos*
o1lo01ol1o has quit [Remote host closed the connection]
<WilliamHamilton>
yorick: https://termbin.com/0qvn is the output of `journalctl -b -g i915`; where did you find i915?
<yorick>
WilliamHamilton: oh, kernel 4.19 is too old for that
<yorick>
WilliamHamilton: add boot.kernelPackages = linuxPackages_5_1; to the nixos config
<WilliamHamilton>
yep, give me a sec
o1lo01ol1o has joined #nixos
<karetsu>
what's the nixos preferred way of grabbing my gnome keyring info, preferences etc. when using a WM like xmonad? Afaik there is gnome-session in flashback but I feel I've missed gnome-thing in services.[foo] that just turns access to it on regardless of what my xinitrc says
Guest77 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest77 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
JonReed has quit [Remote host closed the connection]
silver has joined #nixos
srid6390803 has quit [Read error: Connection reset by peer]
ma27[m] has joined #nixos
<WilliamHamilton>
yorick: adding the boot.kernelPackages solved the issue, thanks! Should I try to enable the intel drivers now or just stay with the default modesetting?
srid6390803 has joined #nixos
o1lo01ol1o has joined #nixos
orivej has joined #nixos
<yorick>
WilliamHamilton: modesetting is probably better, intel is deprecated
<WilliamHamilton>
yorick I see, thanks again for the help in troubleshooting!
<{^_^}>
[nixpkgs] @risicle opened pull request #63921 → libvirt: 5.3.0 -> 5.4.0 + patches for CVE-2019-10161, CVE-2019-10166, CVE-2019-10167 and CVE-2019-10168 → https://git.io/fjoyo
asheshambasta has quit [Remote host closed the connection]
ma27[m] has left #nixos ["User left"]
Guest77 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yunratobe_ is now known as yunratobe
karetsu has quit [Quit: WeeChat 2.4]
karetsu has joined #nixos
slack1256 has quit [Ping timeout: 246 seconds]
Guest77 has joined #nixos
lukego has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Remote host closed the connection]
WilliamHamilton9 has joined #nixos
o1lo01ol1o has joined #nixos
<WilliamHamilton9>
trying to understand why I get no sound from the hdmi monitor. What program should I use to check where the audio is going? `alsamixer` seem not to be enough
<karetsu>
pavucontrol?
o1lo01ol1o has quit [Remote host closed the connection]
<WilliamHamilton9>
karetsu thanks, checking
<karetsu>
decent GUI for managing pulseaudio, unless you don't want one or aren't using pa
o1lo01ol1o has joined #nixos
<karetsu>
if you prefer command line then pactl i think is the one
baum has quit [Quit: Lost terminal]
orivej has quit [Ping timeout: 272 seconds]
adamantium has quit [Remote host closed the connection]
srid6390803 has quit [Ping timeout: 258 seconds]
adamantium has joined #nixos
WilliamHamilton9 has quit [Remote host closed the connection]
WilliamHamilton3 has joined #nixos
<WilliamHamilton3>
sorry, disconnected, I might have lost some messages
<karetsu>
WilliamHamilton3: only if you sent some after you said you were trying pavucontrol
<WilliamHamilton3>
pavucontrol is ok, if I select the HDMI output I can even see the sound bar moving when I have sound, however I can't yet hear any sound from the monitor
fendor has joined #nixos
<WilliamHamilton3>
but I can hear sound from the audio jack, if i set the audio exit to that
o1lo01ol1o has quit [Remote host closed the connection]
<karetsu>
don't suppose you have a creative zxr?
<karetsu>
/ sound blaster
<WilliamHamilton3>
no, sorry, I don't have that
<karetsu>
yeah, I realised after I said that its hdmi -> monitor rather than dedicated sound card
<infinisil>
It's always a good idea to search through the nixpkgs issues
stepcut has joined #nixos
<WilliamHamilton3>
infinisil thanks! I'm going to try adding `hardware.opengl.driSupport32Bit = true;` which might be the problem, let's see
o1lo01ol1o has quit [Remote host closed the connection]
Ariakenom has quit [Quit: Leaving]
Ariakenom has joined #nixos
<WilliamHamilton3>
infinisil and indeed that fixed it, thanks! I'll remember checking the issues, the fact is I expect them to pop in a google search :D
<infinisil>
Yeah unfortunately that rarely works with Nix issues I find
steshaw has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
alex`` has joined #nixos
dansho has joined #nixos
xkapastel has joined #nixos
Anton-Latukha has joined #nixos
WilliamHamilton3 has quit [Remote host closed the connection]
WilliamHamilton5 has joined #nixos
tsrt^ has quit []
shah^ has joined #nixos
MmeQuignon has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
hmpffff has joined #nixos
xok has joined #nixos
MmeQuignon has joined #nixos
anderslundstedt has quit [Quit: leaving]
<xok>
hello...
<xok>
I've setup cron for my nixos but it doesn't seem to be running..
<xok>
the cron script is very simple, it writes to a file in /tmp/ directory just to check if it's running...
<xok>
but the file doesn't get looged, that means the cron doesn't even run...
WilliamHamilton1 has quit [Remote host closed the connection]
WilliamHamilton1 has joined #nixos
<xok>
Thanks, I am taking a look..
sg2002 has left #nixos ["ERC (IRC client for Emacs 26.2)"]
FieryHorse has joined #nixos
WilliamHamilton1 has quit [Remote host closed the connection]
WilliamHamilton7 has joined #nixos
FieryHorse has quit [Quit: Leaving]
<WilliamHamilton7>
ok, so this is a fairly important problem I'm having: my wired connection drops every few minutes on my new computer. If I disable it and re-enable it, from `nmtui` say, then it works as before. I'd like some help in debugging this
<WilliamHamilton7>
for example, what's the relevant `systemctl` log?
mexisme has joined #nixos
mexisme has quit [Ping timeout: 244 seconds]
<WilliamHamilton7>
infinisil^
acowley has quit [Ping timeout: 272 seconds]
<xok>
yunratobe: I've used the example from the link... The cron service seems to be running ( systemctl status cron shows it's running ) but the command "date >> /tmp/cron.log" doesn't log anything in that file...
<xok>
when I remove /tmp/cron.log it doesn't even get created...
<xok>
the cron is not running at all...
kisik21 has joined #nixos
<kisik21>
how to override Emacs packages' sources without copying the whole derivation over?
<kisik21>
emacsPackagesNg.multi-term.override { src = {...}; } doesn't seem to work :c
Havvy has quit [Ping timeout: 268 seconds]
<mpickering>
How do I debug cachix not caching?
Ariakenom has quit [Read error: Connection reset by peer]
Havvy has joined #nixos
<mpickering>
This is what I am trying to build and cache
<mpickering>
oh, do I have to encrypt the key for each different repo?
bvdw has joined #nixos
bvdw has quit [Killed (livingstone.freenode.net (Nickname regained by services))]
Guest63279 has joined #nixos
<domenkozar[m]>
yeah it's a different key
wfranzini has joined #nixos
<mpickering>
right, thanks a lot.
<domenkozar[m]>
I'm not sure how to improve this, maybe it could verify the paths that are being pushed with the public keys listed for the cache?
Guest63279 has quit [Client Quit]
<domenkozar[m]>
I guess that would help to have a clear error message then.
<mpickering>
It's the second time I have run into having the wrong signing key
<mpickering>
but no clear error message
bvdw8 has joined #nixos
<domenkozar[m]>
that needs to be improved, I'll make an issue
bvdw8 is now known as bvdw
<gchristensen>
domenkozar[m]++
<{^_^}>
domenkozar[m]'s karma got increased to 3
<mpickering>
There is already an issue :) Robert helped me with the exact same problem the other day
<mpickering>
when I was using the wrong key for CACHIX_SIGNING_KEY
<mpickering>
It's working now thanks
<mpickering>
although `travis encrypt` and `travis encrypt --add` gave me different answers 🤷
<gchristensen>
probably a different IV in the encryption
Lears has quit [Remote host closed the connection]
Lears has joined #nixos
<domenkozar[m]>
waiting on a first rainy weekend to hack on a few UX improvements
<domenkozar[m]>
shouldn't take long :P
<domenkozar[m]>
mpickering: thank you for reporting :)
<domenkozar[m]>
it's often hard to distiguish between "this happened once" and "this is a reoccuring issue" where it's very clear in this case but not so much in others
Guest77 has quit [Read error: Connection reset by peer]
bvdw has quit [Quit: bvdw]
Guest77 has joined #nixos
asheshambasta_m has joined #nixos
andreas31 has quit [Remote host closed the connection]
hmpffff has quit [Quit: nchrrrr…]
andreas31 has joined #nixos
eraserhd has quit [Ping timeout: 246 seconds]
kisik21 has quit [Remote host closed the connection]
bvdw has joined #nixos
Soo_Slow has joined #nixos
wfranzini has quit [Quit: wfranzini]
wfranzini has joined #nixos
szicari has quit [Ping timeout: 258 seconds]
szicari has joined #nixos
<alexarice[m]>
WilliamHamilton7: are you rebuilding the system between each dropout?
<WilliamHamilton7>
alexarice[m] I don't think I am, but that's something to watch for, thanks!
<WilliamHamilton7>
dropouts have become more erratic since when I posted the first time
<alexarice[m]>
WilliamHamilton7: I just know that my wifi drops whenever I rebuild, has something to do with resolvconf, the only fix I know is reconnecting like you said
andreas31 has quit [Remote host closed the connection]
<WilliamHamilton7>
alexarice[m] hope that's the reason, that would be wonderful; will post here if I ever get a dropout not connected to rebuilding
<alexarice[m]>
if it does check /etc/resolv.conf and see if it is generated by resolvconf or networkmanager
andreas31 has joined #nixos
o1lo01ol1o has joined #nixos
Neo-- has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 248 seconds]
patrol02 has joined #nixos
v88m has quit [Ping timeout: 258 seconds]
linarcx has joined #nixos
linarcx has quit [Client Quit]
eraserhd has joined #nixos
v88m has joined #nixos
karetsu has joined #nixos
<patrol02>
My `cc --version` shows `Apple LLVM version 10.0.1 (clang-1001.0.46.4)`, but when build with GHC (installed with Nix) it seems to be using `clang version 7.1.0 (tags/RELEASE_710/final)`. And then it errors out. What would be a way to tell it to use `clang` that is available and not the older version that pops up somehow?
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @marsam to master « tflint: 0.8.3 -> 0.9.0 (#63910) »: https://git.io/fjoHY
<alexarice[m]>
to anyone who is interested, my issue was fixed by removing `boot.vesa` from my config. The issue was introduced by `boot.vesa implies nomodeset` pull request so I'm guessing modesetting is needed for sway to work
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @Kirens to master « trivial-builders: Fix writeShellScript example (#63888) »: https://git.io/fjoHc
dftxbs3e has quit [Quit: Leaving.]
<baum>
is it possible to rollback a program, while keeping the rest of the system update?
srid6390803 has quit [Ping timeout: 268 seconds]
m0rphism has quit [Ping timeout: 272 seconds]
asheshambasta has joined #nixos
<pie_>
baum, yeah, are you using channels? you can import a second channel thats older and then just include the package from there
<asheshambasta>
https://nixos.wiki/wiki/Linux_kernel -- the `Custom kernel modules` has me a little stumped; do I just need to copy-paste that snippet mentioned there or do I need to check the extra kernel modules loaded at boot?
<pie_>
theres probably a wiki article for this somewhere...
<pie_>
its a common question
<pie_>
asheshambasta, not sure what you mean, but my understanding is config.boot.kernelPackages is set to be a package set based on the current kernel version, so you should just be able to fill in the list with kernel modules you want
<pie_>
maybe the wiki should have an example of what *not* to do
<baum>
pie_: wiki == manual?
alex`` has quit [Ping timeout: 245 seconds]
<pie_>
baum, no, nixos.wiki, but i wouldnt be totally surprised if the manual had something, i find it unlikely for this though
karetsu has quit [Quit: WeeChat 2.4]
karetsu has joined #nixos
karetsu has quit [Client Quit]
<pie_>
baum, hmph. i cant think of how to find an existing example offhand. you can do something like: stable = import <nixpkgs> {}; unstable = import <unstable> {}; where the things in <> are IIRC channel names
hmpffff has joined #nixos
<pie_>
and then when you add things to your systemPackages you can do something like [ stable.aprogram ] +++ [ unstable.anotherprogram ]
<asheshambasta>
pie_: so that would mean just copy pasting the current modules whilst ensuring that the modules are also compatible with the newer kernel version?
xkapastel has quit [Quit: Connection closed for inactivity]
<pie_>
asheshambasta, im not sure but i guesssss. do kernel modules even get listed / build if they arent compatible? (idk(
<codedmart>
I don't understand how to use vim_configurable? I have `myVim = pkgs.vim_configurable.override { lua = true; };` but I get a coerce error about string so I tried `lua = "true"` and `lua = "lua"` but I get build input does not exist errors.
<pie_>
though the first part isnt strictly necessary - you can use the imperative configuration
<betaboon>
baum: ^
<betaboon>
pie_: yeah. i dislike imperative tho XD
<pie_>
me too
<pie_>
sidenote on doing that, you have to nixos-rebuild twice, the first time will update nixPath
<betaboon>
indeed
<pie_>
hmm, this still uses channels though to actually get the repos and stuff? you did add one entry which is a local checkout
<baum>
betaboon: pie_: thanks, i'll give it a try!
<pie_>
just got an idea though for something i want to try later
MmeQuignon has joined #nixos
fenedor has joined #nixos
<betaboon>
baum: that assumes 1. that you have nix-channels set up. 2. (as pie_ mentioned) you do the `nix.nixPath` first (so that it is available in the environment) and then use it later (read: after a first nixos-rebuild switch)
<pie_>
i wonder if one put fetchfromgithub substitutions and the like in those variables
<pie_>
*someone
wfranzini has quit [Quit: wfranzini]
<baum>
betaboon: alright thanks
wfranzini has joined #nixos
<betaboon>
pie_: yes you can put https://.... links into NIX_PATH for those variables (or in the nix.nixPath)
<baum>
it should't matter weather i just try to downgrade package by package, instead of rollback all of them and upgrade them one by one right?
mzabani has joined #nixos
* baum
is trying to fix a display-bug after upgrading to 19.03
<fellowes>
please can someone explain me the difference between buildInputs, nativeBuildInputs? I read the documentation but cannot get my head around it
<fellowes>
and where do I put package dependencies? does it detect on its own?
<gchristensen>
my uninformed proces there is, I always use buildInputs
<fellowes>
hmm, ok, so I should just ignore nativeBuildInputs?
<fellowes>
are tehre any other inputers (other than checkinputs) I should be aware of?
<gchristensen>
unless you're cross compiling it should be ok
<adisbladis>
fellowes: buildInputs == libraries you link against, nativeBuildInputs == build tooling like gcc, cmake etc etc (things that need to run on the host when cross compiling)
<adisbladis>
Simplified of course, but that's essentially it.
karetsu has quit [Quit: WeeChat 2.4]
MmeQuignon has joined #nixos
<fellowes>
thank you <3
fellowes has quit [Remote host closed the connection]
ma27 has quit [Quit: WeeChat 2.4]
ma27 has joined #nixos
ma27 has quit [Client Quit]
<{^_^}>
[nixpkgs] @mebubo closed pull request #60927 → hplip: enable the plugin for aarch64 → https://git.io/fjo7m
linarcx has joined #nixos
noudle has joined #nixos
<noudle>
im trying to get nixos on my pi 3 to work. bestcase would be if i install all of the system to an external harddrive (over usb), but as far as i have tested thing now i can not boot from the hdd, so i need to have the boot partition on a usb (or sd card, but i dont have one).
<noudle>
and on the fileSystems part at "/" i set the external hdd
<noudle>
i left the rest as is. after "nixos-rebuild switch" the pi boots until the "loading Kernel" part, the hdd seems to reboot several times until then
<noudle>
then the boot seems to be stuck
<noudle>
any ideas?
knupfer has joined #nixos
<noudle>
is the hdd to slow to react or something? if so, can i set a waittime somewhere?
<gchristensen>
I have heard that is a problem
<noudle>
so what can i do about it?
v88m has quit [Remote host closed the connection]
<clever>
noudle: the nixos boot scripts shouldnt reboot on their own when things fail, so it could be the power supply?
cjpbirkbeck has quit [Quit: Quitting now.]
<noudle>
clever: i have a 2.4A for the pi and the external hdd is a 2.5" with its own power supply :/
<noudle>
or does it just take way more time than when booting from a usb stick?
<clever>
noudle: watch the power LED on the rpi, it will turn off when the voltage starts to dip
m0rphism has joined #nixos
benhart has joined #nixos
<mac10688>
i wonder what's a good location for a webroot in nixos
<noudle>
clever: ill do, sec
<benhart>
hey folks, I'm doing my first nixos install from scratch using the graphical liveUSB, is there an ideal filesystem i should format to?
<gchristensen>
ext4 is a good safe bet
<benhart>
thanks
linarcx has quit [Quit: WeeChat 2.5]
<noudle>
clever: the red led is on and does only blink one time when the hdd reboots, happens 2 times until "starting kernel"
<noudle>
then the red led is just on and nothing happens
<noudle>
the hdd is on, the usb stick with the boot partition is also on
<noudle>
but nothing happens
<clever>
noudle: not sure then
<noudle>
hmm... ill stay a bit, maybe someone else also has an idea
<clever>
baum: this will check for nvidia/nvidiaBeta/nvidiaLegacy304/nvidiaLegacy340/nvidiaLegacy390 and put the right kernel drivers into the environment
<clever>
the other files under video do similar things, for each vendor
<benhart>
infinisil - I'm getting them quite a bit, is there a way to at least supress the error?
orivej has quit [Ping timeout: 244 seconds]
<levdub>
I've found that the vmdks that nixops uses to deploy to virtualbox targets have the same UUID for nix 19.03 and 19.09, which means you can't use them simultaneously
<baum>
clever: thanks!
<levdub>
filed issue here: https://github.com/NixOS/nixops/issues/1173 . I've got very limited knowledge of virtualbox internals. does anybody know how these UUIDs get assigned? are the vmdks built by hydra/CI and the UUID baked in there?
<{^_^}>
nixops#1173 (by ldub, 7 minutes ago, open): NixOps VDIs have the same UUIDs
<clever>
levdub: they are probably built by hydra, and people have been focusing on getting rid of all randomness, so it would make sense for the uuid's to be duplicated
<{^_^}>
[nixpkgs] @grahamc opened pull request #63928 → llvm_7,8: disable libpfm on aarch64 → https://git.io/fjo58
<{^_^}>
[nixpkgs] @flokli opened pull request #63929 → systemd: point to commit id instead of branch name → https://git.io/fjo54
stranger___ has quit [Quit: Connection closed for inactivity]
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
<levdub>
clever: I agree that it shouldnt be random, but it would make sense for the uuids to be some kind of deterministic hash based on the version.
xok has joined #nixos
mac10688 has quit [Quit: WeeChat 2.4]
o1lo01ol1o has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
xok has left #nixos [#nixos]
pie_ has joined #nixos
<andi->
,locate bin rvm
<{^_^}>
Couldn't find in any packages
<andi->
,locate rvm
<{^_^}>
Found in packages: racket, oh-my-zsh
sigmundv has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
v88m has quit [Read error: Connection reset by peer]
v88m has joined #nixos
o1lo01ol1o has joined #nixos
<andi->
Is there any guide on how to do ruby development (with bundle(r)) without using bundix on NixOS? Trying to write a patch for GitLab...
<{^_^}>
[nixpkgs] @matthiasbeyer opened pull request #63930 → [WIP] plemora: init at 1.0.0 → https://git.io/fjo5y
xkapastel has joined #nixos
<samueldr>
andi-: nix-shell -p ruby_2_6 will get you bundler, and bundle --path vendor/bundler should make stuff install
<samueldr>
then -p missing deps
<samueldr>
why 2_6?
<samueldr>
because its bundler is built-in and worked better in my case
<samueldr>
otherwise -p bundler and -p ruby might work, or might cause issues (ime) but this is being worked on
<andi->
I have ruby in a shell.nix and when I do (bundle init; bundle add <foo>;) it fails to change some gemfile in the nix store
o1lo01ol1o has quit [Remote host closed the connection]
<andi->
maybe the --path is important, retrying
<samueldr>
that's it
<samueldr>
it will also write that to a local config file in iirc .bundle
<samueldr>
so --path is needed only once
<andi->
ok
<samueldr>
--path is not needed only with nix, it should be required by anyone wanting sane gem use :) on archlinux I set my ~/.gem readonly
kim0 has joined #nixos
<andi->
I had to add the dependency manually to the Gemfile instead of using `bundle add` but not it *seems* to work.
<andi->
thanks, samueldr
<samueldr>
hm lol, I never used bundle add :)
<samueldr>
yw
<andi->
me neither but this is literally the first *real* ruby application I am working on (minus some Puppet modules)
<samueldr>
worked on a couple real ruby apps, and toy ruby apps
<levdub>
I deleted /nix/store/kbg0ri1qwls0hxs1xxk5g5bkakr6bcdq-virtualbox-nixops-19.03.vmdk.drv and nixops won't work anymore. How can I get this file back?
Xal has joined #nixos
karetsu has joined #nixos
<levdub>
alternatively, what is the proper way to delete that vmdk so that nix knows it is deleted and redownloads it when I `nixops deploy`
__monty__ has joined #nixos
<clever>
levdub: nix-store --delete /nix/store/foo, and dont use force
mexisme has joined #nixos
lord| has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
<levdub>
clever: thanks.
<levdub>
I am guessing thats the way I should have deleted it to begin with, but since I did it with rm, I get `VBoxManage: error: Could not find file for the medium '/nix/store/j3y7f953brdgxrmclnicg65vfvnnhnbn-virtualbox-nixops-19.03.vmdk' (VERR_FILE_NOT_FOUND)` when I try to use nixops.
<clever>
levdub: youll probably want to also delete it with --delete, to tell nix its gone
<levdub>
I did
jaen has joined #nixos
<levdub>
oh
<levdub>
sorry, its complaining about the .vmdk now, not the .drv. this makes sense
<clever>
levdub: nix-store --verify --check-contents, to search for any other "damage"
<levdub>
thank you!
steshaw has joined #nixos
<jaen>
Hello, I am setting up a homeserver using a NUC and have decided to give NixOS a try, as the reproducibility/rollback aspect seem like they could be helpful here. Unfortunately for some reason my uplaod speed is really low - 4 MBit/s, where other machines have ~70 MBit/s. I have also tested ArchLinux on this machine and it also reports 70 MBit/s. S
<jaen>
o the issue has to be with NixOS. Any idea what it could be?
<clever>
jaen: check `top` to see what the cpu usage is like and what process is to blame
deech___ has joined #nixos
<deech___>
Hi! Really dumb question, I have the live image up and running and it works great. How do I run the installer as I would in other distros?
<clever>
jaen: looks fairly normal, and its properly at gigabit speeds
<clever>
jaen: one min
<rfold>
Is it possible to read a package's man pages without installing the package?
<rfold>
"nix-shell -p zeromq --run 'man 7 zmq'" says: "No manual entry for zmq in section 7"
<clever>
rfold: nix-shell doesnt update the MANPATH, youll need to manually `nix-build '<nixpkgs>' -A zeromq and then look under result/share/man and run man on a file
<clever>
jaen: on one machine, `nix run nixpkgs.iperf3 -c iperf3 -s`, then on another, `nix run nixpkgs.iperf3 -c iperf3 -c 192.168.2.11`
<rfold>
clever: Thanks. It seems like this package does not even ship with man pages. :')
<karetsu>
I can't seem to find where I would set the default pulseaudio sink in either the manual or the wiki and I have about 10 different outputs and it picks the wrong one, do I just throw a pactl into my WM startup or is there a system option?
<clever>
karetsu: pulseaudio will remember the default device on clean shutdown and restore it next time it starts
<andi->
do we have an equivalent of ?local-nar-cache for clients using a binary cache? nix-shell --store https://…/?local-nar-cache=... tells me that addTempRoot is not supported :/
<karetsu>
clever: the problem comes when my wife logs me out and then I log back in it seems to switch away from the one I had
<clever>
karetsu: might there be a duplicate pulseaudio daemon still running?
<karetsu>
maybe, same pid but that just makes it unlikely that it killed the old one?
<karetsu>
its only really a milk annoyance so I can live with it tbh
<karetsu>
/s/milk/mild/
<karetsu>
or milk, w.e.
deech___ has quit [Remote host closed the connection]
<jaen>
That's first wifi, then cable, from nixos NUC to arch laptop
<jaen>
It seems there's iperf3 on openwrt, so let me check connection to router
<nyanloutre[m]>
Hello, I am having a problem with launching Shenzen IO on Steam
<nyanloutre[m]>
I got this error: `./Shenzhen.bin.x86_64: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory`
<nyanloutre[m]>
any idea on what might cause that ?
<jaen>
I don't think speedtest is somehow lying on nix
<clever>
jaen: it could be that your router is good at forwarding packets, but bad at actually processing and responding to things, .... but why was it fast for one machine and slow for nixos
<jaen>
Yeah
<jaen>
It's even fast when I booted an arch live cd on the same machine
<jaen>
Which is puzzling
coconnor has joined #nixos
<jaen>
I have disabled the firewall, but it didn't seem to have helped any
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<jaen>
And I'm not really sure how to debug this, I'm not a networking guru unfortunately
o1lo01ol1o has quit [Ping timeout: 272 seconds]
mara[m] has quit [Ping timeout: 252 seconds]
mara[m] has joined #nixos
dftxbs3e has quit [Ping timeout: 252 seconds]
mexisme has quit [Ping timeout: 245 seconds]
<ivan>
nyanloutre[m]: do you have hardware.opengl = { enable = true; driSupport = true; }
digilicious has joined #nixos
<nyanloutre[m]>
ivan: I only have hardware.opengl.driSupport32Bit
domogled has quit [Quit: domogled]
<ivan>
nyanloutre[m]: I guess you need those I mentioned
<clever>
nyanloutre[m]: have you tried steam-run?
<nyanloutre[m]>
clever: yes but it's only calling steam to launch it
<clever>
nyanloutre[m]: steam-run doesnt actually use steam, it just sets up the same chroot env used to launch steam
<nyanloutre[m]>
yes but the game executable is launching steam
<clever>
nyanloutre[m]: ah
<clever>
nyanloutre[m]: probably best to just run the full steam package and run it via that
<nyanloutre[m]>
ivan: I checked and these options are activated
sindrip has joined #nixos
fionnan has quit [Remote host closed the connection]
<jaen>
@clever: I upgraded kernel to match my Arch, thinkinh it could be a driver issue, but it still persists. Out of ideas?
<clever>
jaen: yeah, not much else i can think of to check
o1lo01ol1o has joined #nixos
<jaen>
Welp, I kind of hoped I could have given Nix a go with this, but it's a bit of a showstopper ~~"
<clever>
jaen: maybe try an older kernel, or an older channel like 19.03 or 18.09?
<clever>
jaen: you can fairly easily downgrade, by just adding the right channel with nix-channel --add, rebuilding, and rebooting
<jaen>
> older channel like 19.03
<{^_^}>
undefined variable 'older' at (string):255:1
<jaen>
I though that 19.03 was newest?
<clever>
jaen: its older then unstable :P
<jaen>
Ah
<clever>
19.03 was cut in march, while unstable continues to evolve
__monty__ has quit [Ping timeout: 272 seconds]
<jaen>
I don't think it'll help much, given my Arch is also bleeding edge and has no such problems. And I think installer subscribed me to 19.03 anyway (or at least that's what nix-channel --list says).
<clever>
jaen: you can try 18.09 then, or even 18.03
<jaen>
And people with older kernels seem to actually have more problems with that card
<clever>
jaen: hmmm, on emin
<jaen>
Actually one thing that came to my mind
<clever>
jaen: if you check `lspci -vv` youll see which kernel driver your using
<jaen>
I'll try disabling IPv6
<jaen>
iwlwifi
<clever>
jaen: there may be an optional driver with better perf
<clever>
yeah, v6 can also be a factor
<jaen>
Do I need to reboot for that, or is switch enough?
__monty__ has joined #nixos
<clever>
jaen: if changing the kernel, you will need to reboot
<clever>
ls -l /run/{current,booted}-system/kernel
<clever>
jaen: this will show the kernel version it wants, vs what it booted
sindrip has quit [Ping timeout: 260 seconds]
alex`` has quit [Ping timeout: 245 seconds]
alex`` has joined #nixos
Anton-Latukha has quit [Quit: Leaving.]
<jaen>
Right, was wondering more about the netcard change, but it worked and things are still slow
<jaen>
This is so weird
freeman42x has quit [Ping timeout: 250 seconds]
hlolli__ has joined #nixos
saladus has joined #nixos
Guest54985 has quit [Quit: WeeChat 2.4]
baum has quit [Quit: Lost terminal]
ddellacosta has joined #nixos
hlolli_ has quit [Ping timeout: 250 seconds]
judson_ has quit [Remote host closed the connection]
fenedor has quit [Read error: Connection reset by peer]
judson_ has joined #nixos
asheshambasta_m has quit [Quit: Leaving.]
jaen has quit [Ping timeout: 260 seconds]
patrol02 has quit [Ping timeout: 260 seconds]
<saladus>
thank you all so much for the most innovative linux experience ive ever had
saladus has quit [Quit: WeeChat 2.4]
ym555_ has joined #nixos
baum has joined #nixos
sjourdois has quit [Remote host closed the connection]
<baum>
question about nixops: this minimal example works with virtualbox, but not with libvirtd, why could that be the case?
<samueldr>
pbb: sd booting on x86_64 isn't common; especially considering how it can be connected differenrly
<samueldr>
some boards will have the sd card reader off the usb host
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
xkapastel has joined #nixos
adamanti` has joined #nixos
__monty__ has quit [Quit: leaving]
adamantium has quit [Ping timeout: 276 seconds]
adamanti` has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @kalbasit opened pull request #63936 → buildGoModule: add ./ to all sub-packages → https://git.io/fjobw
WilliamHamilton has joined #nixos
<pbb>
samueldr: hmpf. arch boots fine on two boards, nixos produces the grub read error. I thought it was quite popular to boot from sd card on servers
<samueldr>
I wouldn't know about that
<samueldr>
what's the bootloader for archlinux?
<WilliamHamilton>
I had a override for some haskell packages in `.config/nixpkgs/overlays`, and now I'd like to use those overlays only in the default.nix of a local project (keeping the rest of the system apart from those overrides)
<WilliamHamilton>
what's the best way to do that?
<WilliamHamilton>
should I try to pass the overlay argument in `nixpkgs ? import <nixpkgs> {}`?
<day|flip>
samueldr: maybe grub
<clever>
WilliamHamilton: when you `import <nixpkgs> {}` you can do `import <nixpkgs> { overlays = [ .... ]; }`
<clever>
WilliamHamilton: it takes a list of self: super: functions, so you may need overlays = [ (import ./foo.nix) ];
<WilliamHamilton>
clever: thanks, that worked!
OtherName has joined #nixos
<OtherName>
Hello?
<simpson>
Yes.
orivej has quit [Ping timeout: 272 seconds]
<OtherName>
Hello! I'm new to IRC and am trying to learn how to use it
<{^_^}>
[nixpkgs] @kalbasit pushed commit from @marsam to master « go-tools: 2019.2 -> 2019.2.1 (#63885) »: https://git.io/fjobi
<day|flip>
s/Nx/Nix
L-o-r-d has joined #nixos
<OtherName>
Ok, thank you everyone! I'll leave and try to find another channel, thanks for the help!
OtherName has left #nixos [#nixos]
<selfsymmetric-mu>
I get `error: The option `services.xserver.desktopManager.xfce.patches' does not exist.`
<simpson>
selfsymmetric-mu: pkgs/desktops/xfce/core/ contains patches to, amongst other things, xfsettingsd. Perhaps you could look in there to try to find a place to apply the patch.
<selfsymmetric-mu>
simpson: Good call, I'll take a look.
<selfsymmetric-mu>
Hm. I'm not sure. This is a patch to `display`, but I don't see a corresponding nix file.
<selfsymmetric-mu>
First line of the diff is `diff --git a/xfsettingsd/displays.c b/xfsettingsd/displays.c`.
<ivan>
selfsymmetric-mu: I patch nixpkgs to use the xfce module with unstable
<selfsymmetric-mu>
Oh maybe I can add it to `xfce4-settings`.
<selfsymmetric-mu>
ivan: That sounds perfect! Can you show me the code where you do that?
<selfsymmetric-mu>
I'd like to know how to maintain a patched `nixpkgs` for things other than packages.
WilliamHamilton has quit [Remote host closed the connection]
<clever>
which has to be insrted at the right place in the overlays
<clever>
selfsymmetric-mu: for example, to replace xfce.xfce4-settings, you want a nixpkgs overlay, that does: xfce = super.xfce.overrideScope' xfceoverlay;
<clever>
and then you can make an xfceoverlay = self: super: { xfce4-settings = super.xfce4-settings.overrideAttrs (old: { patches = old.patches ++ [ ./foo ]; ); };