sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
v88m has joined #nixos
jluttine has quit [Ping timeout: 245 seconds]
acarrico has joined #nixos
<Halian> I just installed NixOS for the first time, and I have a question that makes me look every bit like the gormless noob I am: How do I change my default DE away from KDE (say, to MATE)?
<justanotheruser> Halian: windowManager.i3.enable = true;
<justanotheruser> except with mate instead of i3
<Halian> Thanks
<justanotheruser> sorry, xserver.windowManager.i3.enable = true;
slack1256 has joined #nixos
<justanotheruser> Halian: I'm still a noobie, but the way I'm learning to go on github and search other peoples configuration.nix https://github.com/search?q=filename%3Aconfiguration.nix+mate
<Halian> OK
<justanotheruser> then see how they've configured whatever I'm looking at
Halian has quit [Quit: WeeChat 2.4]
o1lo01ol1o has quit [Remote host closed the connection]
jluttine has joined #nixos
mexisme_ has quit [Ping timeout: 248 seconds]
m0rphism has quit [Ping timeout: 248 seconds]
shibboleth has quit [Quit: shibboleth]
ee1943 has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjz7D
Forkk has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #62875 → Ris neuron darwin → https://git.io/fjz7y
<gyroninja> justanotheruser: I'd reccomend taking a look at this page in the manual https://nixos.org/nixos/manual/options.html
<justanotheruser> gyroninja: I like that page too
gratto has quit [Read error: Connection reset by peer]
ddellacosta has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @veprbl merged pull request #62768 → erlangR21: 21.2.3 -> 21.3.7.1 → https://git.io/fjzfv
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fjz7S
mac10688 has joined #nixos
Henson has joined #nixos
<Henson> is there a list of old NixOS release ISO images I can download? I want to try installing an old version and experiment with upgrading it to a newer version
<Henson> found one
<mac10688> hi all. I'm working to move my /home directory to another partition, but seem to be having issues. It keeps going into emergency mode. I'm doing something similar to what Gabriel439 describes but I keep getting sent to emergency mode
<mac10688> oh and a link... just a second
orivej has quit [Ping timeout: 248 seconds]
acarrico has quit [Ping timeout: 268 seconds]
dhess has joined #nixos
<mac10688> Is there some trick to moving my /home directory to another partition that I don't know about?
gagbo has quit [Ping timeout: 248 seconds]
<Henson> mac10688: are you updating /etc/nixos/hardware-configuration.nix to update the filesystem UUID?
gagbo has joined #nixos
<gratin> anyone know how to change resolution or full screen using virtualbox?
<mac10688> no Henson . I didn't know about this file
<mac10688> checking it out!
<Henson> mac10688: if /home started out on the same partition as your root filesystem, you'll probably have to create a new entry for the new drive and specify /home as being on that
<Henson> gratin: can you elaborate a bit more?
<gratin> i set up nixos using virtualbox with xmonad
<gratin> and i'd like it to be bigger than 1024x768
<gratin> like 1920x1080 instead
layus has quit [Ping timeout: 258 seconds]
<pie__> clever, so i never know how this works, i did an mv insteda of a cp and half way through it failed because of a permissions error
<pie__> does the original location still have all my files
<gratin> right now it looks like that
<Henson> gratin: is it the guest OS resolution you want to change, or the size of the virtualbox window on the host computer?
<clever> pie__: mv inter-device moves are basically just cp + rm
<clever> pie__: its more more obvious when you use mv -vi
<gratin> the guest OS resolution
<pie__> clever, is there a decent way i can check
<Henson> gratin: are you able to change it within the guest OS? Are you running xmonad in the guest OS?
<gratin> yeah xmonad in the guest os
<clever> pie__: that tends to be a pain, but there is `diff -ru`
<gratin> idk how i'd change it
<Henson> gratin: look into "xrandr", that's the command-line tool to update your screen resolution.
<Henson> gratin: I'm guessing, since you're running xmonad, you don't have access to any graphical system settings tools with which you can change the resolution?
<gyroninja> gratin: Did you install the guest additions?
<Henson> gyroninja: good point
<Henson> gyroninja: would that even work with something like xmonad, though?
<clever> the guest additions typically include "gpu" drivers for xorg
<gratin> i think i installed the guest additions
<clever> and then the resolution of the monitor will dynamically change to match the host window
<gratin> i'm pretty sure
<gratin> xrandr worked to change resolution
<clever> and xmonad will just go along with it
<pie__> clever, looks like there's no meaningful differences but the source files are all still there for some reason >.>
<Henson> gratin: excellent!
<clever> pie__: did you do the mv as root?
<gratin> there is no 1920x1080 option though which is the size of my physical screen, only 1920x1440
<pie__> clever, no
<clever> pie__: root may have owned things in your home, and then mv failed to read them
<gratin> also full screen ends up with glitchy artifacting and doesn't work so something smells fishy
<pie__> clever, so it looks like theres nothing wrong but im not sure :c
<gratin> i'm not sure it has a video driver
<pie__> clever, that seems to be what happened
<Henson> gratin: check to see if you've installed the guest additions and are using the display driver. Things should work very smoothly with the guest display driver. It looks like nixpkgs has a ton of different kinds of GuestAdditions packages
<{^_^}> [nixpkgs] @marsam merged pull request #62829 → terraform: 0.12.0 -> 0.12.1 → https://git.io/fjzg4
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjz7N
<gratin> how do i install the guest additions or check that i have?
<gratin> yeah i have that enabled
oborot has joined #nixos
<clever> gratin: and have you rebooted since enabling it?
jasongrossman has joined #nixos
<oborot> Is there a way I can search for packages without having to go to the NixOS website?
<clever> oborot: `nix search`
lambda-11235 has joined #nixos
<pie__> some of these questions are so common we really gotta fix it somehow :C
<gratin> clever, i have
<pie__> joepie91[m], ^ i cri every tiem
<clever> gratin: and in the vbox app, you can set the guest resolution, and one is dynamic or automatic
<oborot> clever: thank you
<gratin> those options are grayed out
<Ashy> oborot: tab complete works for nix-shell too: nix-shell -p python<tab><tab>
o1lo01ol1o has quit [Remote host closed the connection]
ris has quit [Ping timeout: 246 seconds]
<Henson> can I add a nix channel with the source being a file or directory stored locally?
<clever> Henson: one min
<clever> [clever@amd-nixos:~]$ cat .nix-defexpr/test/foo/default.nix
<clever> import /home/clever/apps/nixpkgs
<clever> Henson: you can now nix-env -iA foo.hello
<Henson> clever: ok. Would that be just for that derivation? I tried using a file as an argument to "nix-channel --add" and it didn't work, but that's because the file:// URI needs THREE slashes instead of two. It appears now to have worked.
<clever> Henson: this just bypasses nix-channel entirely
<clever> you just create the above file, with 1 line of content
<clever> and then nix-env can use it
<Henson> clever: where "hello" is a derivation described by the default.nix file, and "foo" comes from the fact that it's in the "foo" directory? Does "test" need to be specified anywhere?
<clever> Henson: the test part can be anything
<clever> the foo part can be renamed, its just the name you use when dealing with nix-env
<clever> when you do nix-env -iA nixos.hello, its using .nix-defexpr/channels_root/nixos/default.nix
toppler has quit [Ping timeout: 248 seconds]
<Henson> clever: is this described somewhere? I'd like to learn more about it, but having some greater context would be helpful, and I don't wnat to ask you a whole bunch of questions.
<clever> Henson: i read the source for nix-env
<Henson> clever: without a greater context I'm liable to forget how this all fits together
<Henson> clever: ok
o1lo01ol1o has joined #nixos
dftxbs3e has quit [Quit: Leaving.]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
toppler has joined #nixos
<v0id72[m]> Hi all, Can anyone point me to further information about nix-shell and running nix on macOS - or even some tutorials or something. I'm finding that there is a lack of info. Read the manual but would like to understand things more. Can anyone assist?
<Henson> clever: so is that an alternative to doing an overlay?
<clever> Henson: yeah
o1lo01ol1o has joined #nixos
<gyroninja> Is there anyway to silence this message?
Ariakenom has quit [Quit: Leaving]
<gyroninja> or maybe a better question would be how do I get tools.jar on opendjdk?
<gyroninja> It doesn't seem to be included with any of the jdk packages minus oracle's
mexisme_ has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.4]
<sveitser2> Are the nixpkgs completions mentioned above (nix-shell -p python<tab><tab>) somehow available for fish shell?
jackdk_ has joined #nixos
<Henson> v0id72[m]: do you mean running Nix in a virtual machine on MacOS, or installing Nix packages on native MacOS, or using Nix as a development mechanism for software in MacOS?
<gyroninja> ls
<gyroninja> wrong terminal
mexisme_ has quit [Ping timeout: 272 seconds]
layus has joined #nixos
<v0id72[m]> Henson: nix packages on macOS - I know how to use NixOs on a VM. But want to just use nix-shell on macOS instead to save resources. Looking to later do dev with Nix. right now looking to get a solid grasp on it on macOS. Ran into an issue with installing Firefox and some other programs with it erroring because of dependencies etc. So would really like to get more info so I can solve my own issues.
<Henson> v0id72[m]: if you just want to use Nix packages on native MacOS, I don't know if that's even possible, as all of the Nix packages are intended to be run in Linux, which is very different than MacOS.
<v0id72[m]> i got it working. As spacemacs, cmus, gotop and a few other programs installed with no issue.
<Henson> v0id72[m]: well, I stand corrected! Nix gets cooler and cooler every day as I learn more about it!
<Henson> v0id72[m]: so, getting back to your original question of wanting more information: do you need more information specifically in a MacOS context, or just in how to use nix-shell and nix in general?
<v0id72[m]> @Hens ya totally is. But the main issue I keep finding is getting more info.... I need more info - because asking other constantly makes me look terrible and inept.
<v0id72[m]> lol oops Henson
drakonis has joined #nixos
gagbo has quit [Ping timeout: 245 seconds]
<v0id72[m]> nix-shell and nix in general I guess. Im solid with macOS - so much so that I installed it on the beta of Catalina - just for the challenge of things.
<drakonis> did it work?
<Henson> v0d1ch: I started out reading the Nix pills, which I think were not too helpful, as they gave me an incorrect understanding of how to do certain things. Then I read the nix packages guide, which was quite helpful. Then I started building my own software in it and hanging out in here. The first things I tried to build were quite difficult and required a lot of unusual binary mangling, and then..
<Henson> oops, directed that to the wrong user
<Henson> v0id72[m]: I wanted to put all of my custom software in a private area, which required learning about overlays.
<Henson> v0id72[m]: and then on and on. Now I'm moved on to NixOS and trying to deploy my packages on NixOS. That's a whole other learning curve.
<Henson> v0id72[m]: nearly all of the things I've learned to do to solve my problems have been thanks to the people in here. The basics are written down, but the fancy stuff comes from experimenting, trying, failing, and not giving up until you get it, and reading the source code for some of the tools, then asking again and finally figuring it out.
<Henson> v0id72[m]: I asked another person on here how they learned so much, and they said "by osmosis", and that's how it's been for me too.
<gyroninja> Is there any documentation on how to create a channel? The manual and man pages aren't very specific
<v0id72[m]> Henson: it's a good learning experience but I really wish that I could just find more info. Especially since I have an issue that tells me to do something like put a line in a file. I do it - but get the same error. It's like Nix is not reading from the directory it told me to have the file in.
<{^_^}> [nixpkgs] @endgame opened pull request #62876 → haskellPackages.reflex: dontCheck → https://git.io/fjz5s
<Henson> v0id72[m]: I found a lot of my problems initially had to do with me not understanding Nix's philosophy of build purity. No unspecified outside side-effects, all dependencies are deterministically calculated and stored in special paths.
<Henson> v0id72[m]: what's the issue you're having?
<v0id72[m]> Henson: just booting the machine up.
drakonis has quit [Quit: WeeChat 2.4]
rprije has joined #nixos
<v0id72[m]> Henson message about allowUnsupportedSystem = true; to the the config file located at ~/.config/nixpkgs/config.nix
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<Henson> v0id72[m]: so you're trying to boot your Mac into something other than Mac OS?
<v0id72[m]> no trying to install Firefox or even google-chrome
<{^_^}> [nixpkgs] @marsam merged pull request #61664 → ansible: 2.7.6 -> 2.8.0 → https://git.io/fjz5c
<{^_^}> [nixpkgs] @marsam pushed 5 commits to master: https://git.io/fjz5C
<rprije> Does anyone know the story behind dhall-nix in nixos 19.03? I just upgraded and dhall-nix won't install because it's marked as broken. The only related issues I could find on github explained it was due to a hnix breakage but those issues were closed almost a year ago.
Matthieu_ has quit [Ping timeout: 248 seconds]
<clever> rprije: if you set allowBroken = true; and see what breaks
<jackdk_> sounds like a haskell package. A lot of those get marked broken to keep hydra moving, I guess? What I usually do if I trip over one go to a checkout of latest nixpkgs, do a `nix-build -E '(import ./. { config.allowBroken = true; }).haskellPackages.whatever'`
<jackdk_> if that builds, then I fix pkgs/development/haskell-modules/configuration-hackage2nix.yml (there's a list of packages to mark as broken) and submit a PR
<rprije> Cool, thanks jackdk_
acarrico has joined #nixos
<li_matrix> anyone using flakes yet?
<Henson> v0id72[m]: hmm, I don't know if I can be much help in the context of Mac OS :-(
<Henson> v0id72[m]: nothing's coming to mind other than "did you follow the setup instructions carefully?", which I assume you have.
<v0id72[m]> Henson: its a Nix issue not the macOS though :(
<v0id72[m]> sure did :)
pie__ has quit [Quit: Leaving]
ricekrispie has joined #nixos
<Henson> I would suggest coming back and asking another day at another time. Since Macs are such a common development platform for many people I know, I'm sure there's somebody here who's away from the keyboard who might be able to help you.
<v0id72[m]> Henson:
<v0id72[m]> cool thanks
<{^_^}> [nixos-homepage] @ghuntley opened pull request #282 → corrected az cli instructions for nixos on azure → https://git.io/fjz5W
sir_guy_carleton has joined #nixos
<v0id72[m]> Henson: Looks like I figured it out. :) Now to see if it gets built properly or errors.
* Henson crosses his fingers
<v0id72[m]> Henson: Lol error :( At least I got further this time. Odd that I keep getting dependency errors. As I thought that how I installed it should have found all the dependecies and installed them. Looks like libs are going to be the bain of my existence!!!
emacsomancer has quit [Ping timeout: 245 seconds]
<oborot> for some reason `nix search ...` always returns "no results for the given search term(s)!"
<oborot> I updated the cache
<v0id72[m]> on the web or on your system?
<clever> oborot: are you searching for non-free packages?
<v0id72[m]> oborot: nix-env -I nix-index
<oborot> Yes and no
<v0id72[m]> -i
<oborot> I tried the example they use in --help, e.g., blender and nothing
<v0id72[m]> Henson:
<clever> oborot: i just search via tab completion in `nix repl '<nixpkgs>'`
<v0id72[m]> Hensonerror: build of '/nix/store/4f43h807pdk2qdq3ym3niw7jwisinxcw-alsa-lib-1.1.8.drv', '/nix/store/7cb0ih0471cicrdvc5x77md2nh40jyvb-systemd-239.20190219.drv', '/nix/store/81vmjz6qm7ws1bnh51dq1kwgz5bzsl11-speech-dispatcher-0.8.8.drv', '/nix/store/alj4a5h25bnbfcsml3vi1s1q7bc6w2y9-libcap-2.27.drv', '/nix/store/pa82k3d1vmdgxnyb9in55znpk9dxb2ar-google-chrome-stable_74.0.3729.157-1_amd64.deb.drv' failed
<oborot> clever: hmm, I get an error from that
<oborot> v0id72[m]: I tried that, but same results.
<v0id72[m]> oborot: Sometime I try this first to see if I am searching correctly https://nixos.org/nixos/packages.html#
<v0id72[m]> use the site look for what I am looking for first
<v0id72[m]> then use the same it shows
<clever> oborot: what error does it give?
drakonis has joined #nixos
<v0id72[m]> clevererror: build of '/nix/store/4f43h807pdk2qdq3ym3niw7jwisinxcw-alsa-lib-1.1.8.drv' failed
<{^_^}> [nixpkgs] @matthewbauer opened pull request #62877 → emacs-irony: prebuild irony-server executable → https://git.io/fjz54
aminechikhaoui has joined #nixos
<clever> v0id72[m]: the real error is above that
drakonis2 has quit [Ping timeout: 248 seconds]
<v0id72[m]> error: build of '/nix/store/4f43h807pdk2qdq3ym3niw7jwisinxcw-alsa-lib-1.1.8.drv', '/nix/store/7cb0ih0471cicrdvc5x77md2nh40jyvb-systemd-239.20190219.drv', '/nix/store/81vmjz6qm7ws1bnh51dq1kwgz5bzsl11-speech-dispatcher-0.8.8.drv', '/nix/store/alj4a5h25bnbfcsml3vi1s1q7bc6w2y9-libcap-2.27.drv', '/nix/store/pa82k3d1vmdgxnyb9in55znpk9dxb2ar-google-chrome-stable_74.0.3729.157-1_amd64.deb.drv' failed
<clever> v0id72[m]: just pastebin all of the output
<v0id72[m]> clever: https://pastebin.com/TQs9edPf
<clever> #error Header defining endianness not defined
<clever> v0id72[m]: thats the real error
<v0id72[m]> yep
<clever> v0id72[m]: i dont think alsa is supported on darwin
<clever> v0id72[m]: and that .deb file is the linux build of chrome, not the mac build of it
<v0id72[m]> clever: so just swtich to pulse?
<v0id72[m]> ya I don't want the mac version :)
<clever> v0id72[m]: then add --argstr system x86_64-linux
<v0id72[m]> to where though my friend?
<clever> v0id72[m]: what command are you running to build chrome?
<v0id72[m]> thanks thought that you meant a file or something
<v0id72[m]> :)
<v0id72[m]> using nix-env
<clever> nix-env will accept that arg as-is
<v0id72[m]> clever: ya I threw it in right after you gave it. Just waiting to see what happens
<v0id72[m]> error now is I am x86_64=darwin :)
<clever> why do you want to build the linux version on a mac?
<v0id72[m]> because the darwin version keeps erroring :)
<clever> the linux version wont work, because it expects a linux kernel
<v0id72[m]> anyway around building the browser so that it can use the sandbox when testing>?
<v0id72[m]> instead of installing it on the local machine
<clever> i dont think a lot of graphical programs from nixpkgs will work when on a mac, its mostly only command-line tools that work
<v0id72[m]> @clever good thing I got emac | spacemacs going then :)
<Ralith> only one emac? that's hardly sufficient
<v0id72[m]> clever: found this for firefox. It does work but seems there is nobody maintaining things :(
<Henson> Ralith: hahaha
jackdk_ has quit [Remote host closed the connection]
<v0id72[m]> Ralith: all that I could afford was the 1
ericsagnes has quit [Ping timeout: 248 seconds]
<markasoftware> i see that package derivations often have multiple directories, like /lib and /bin and something for documentation too
<markasoftware> How does nix know which one has binaries?
<markasoftware> to put in $PATH
<clever> markasoftware: nix always puts bin in path
<markasoftware> what if there are no directories? Is it ok to plop a binary right into the root of teh derivation or not?
<clever> nix will ignore that
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<Ralith> you should try to use the standard directories
<Ralith> nix itself doesn't care, but a lot of nix expressions (like the ones that assemble environments) make assumptions laong those lines
pbb has joined #nixos
<Henson> markasoftware: you can find out more about packages with multiple direcotires here https://nixos.org/nixpkgs/manual/#chap-multiple-output
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a2c2c385be3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<v0id72[m]> clever: well passed the one error. by installing librsvg but firefox then gave me cairo issues - installed it. Now I get this....https://pastebin.com/54YqkR5M
Rusty1 has quit [Quit: Leaving]
<clever> v0id72[m]: the package was likely not tested on darwin, and doesnt support it
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<DigitalKiwi> I have a hakyll project I use a shell.nix for. I want to bring purifycss into it. I was able to get node2nix to work on it but I don't know how to add that to the shell.nix. the docs for node2nix don't seem to say... anyone know? or know a project that has done it?
<v0id72[m]> oh I thought it has - since the ticket was opened and the lib file was fixed.
<clever> v0id72[m]: what is the content of config.nix?
pie__ has joined #nixos
ericsagnes has joined #nixos
<v0id72[m]> just allowUnfree and Allowunsupport
<v0id72[m]> as I could not find more documentation to show me whatelse I should have in it.
<clever> v0id72[m]: Allowunsupport is your problem, its causing un-supported software to try to build anyways
<clever> so your not seeing that firefox isnt supported on darwin
<v0id72[m]> it told me to add it though :)
<clever> thats if you want ignore the warnings
<DigitalKiwi> it didn't say it would work though ;p
<v0id72[m]> true!
drakonis1 has joined #nixos
emacsomancer has joined #nixos
<fasd> I'm trying to install https://github.com/JorelAli/nixos/blob/master/clairvoyance.nix but it's not pulling in qtquickcontrols as a runtime dependency. isn't this supposed to happen magically?
fabianhjr[m] has joined #nixos
ym555 has joined #nixos
<Henson> wow, NixOS is amazing. I just painlessly did an upgrade from 16.03 to 19.03 without any distribution upgrade hell that I experience nearly every time with Debian and Ubuntu. It's even better than rolling release upgrades like FreeBSD or Arch. You just upgrade right to where you want to be in a single step, and it just works. Amazing!
Supersonic has quit [Ping timeout: 252 seconds]
<clever> Henson: yep :D
<Henson> I think NixOS may have just replaced Debian as my favourite Linux distribution
<Henson> now I gotta to go bed
* Henson rubs his tired eyes
<DigitalKiwi> lots of recovering arch users here
<v0id72[m]> looks like I have an issue with videotoolbox.h
Supersonic has joined #nixos
acarrico has quit [Ping timeout: 248 seconds]
<Henson> fasd: it doesn't look like that's specified as either a run time or build time dependency, so it shouldn't be pulled.
<Henson> DigitalKiwi: I tried using Arch and got frustrated quite quickly. Even trying to configure a static IP address for an interface was an unpleasant experience.
<drakonis1> ah, arch users.
<drakonis1> the path of least resistance
jasongrossman has quit [Ping timeout: 248 seconds]
<drakonis1> i have given it a shot for a few months.
<fabianhjr[m]> brb gonna rebuild with the stable 19.03 channel DX
Henson has quit [Quit: goodnight everyone]
jasongrossman has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
dansho has joined #nixos
jasongro` has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.4]
<jasongrossman[m]> fabianhjr (if you're back yet): pulseaudio is broken in unstable at the moment. It'll be fixed very soon.
jasongro` has quit [Remote host closed the connection]
jasongrossman has quit [Ping timeout: 258 seconds]
<drakonis1> i've noticed
<drakonis1> how did it break?
<drakonis1> ah nvm
Glider_IRC_ has joined #nixos
Glider_IRC has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Glider_IRC__ has quit [Ping timeout: 272 seconds]
Glider_IRC_ has quit [Ping timeout: 258 seconds]
<DigitalKiwi> drakonis1: do you have a link?
<gratin> can some one tell me how to make this work?
<drakonis1> to what?
<gratin> the commented out code works, but the current version gives me an error
<drakonis1> DigitalKiwi: i just look things up on the repository
<drakonis1> there was a change that broke pulseaudio
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/5121b483edc (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
ar1a has joined #nixos
<DigitalKiwi> drakonis1: yeah i'm trying that i'm not searching right i guess
<DigitalKiwi> unless it's this fix detection of alsa UCM?
<drakonis1> it is.
<drakonis1> actually
<DigitalKiwi> oh ok :)
<drakonis1> that's going to fix it apparently?
<drakonis1> since it is a commit from today, unstable's at 2 days ago
<DigitalKiwi> yes that's what i meant
<drakonis1> i wonder if it will fix other issues
<drakonis1> wine has some choppy audio under certain applications
init_6 has joined #nixos
<drakonis1> its probably unrelated.
alex``` has quit [Ping timeout: 245 seconds]
drakonis1 has quit [Quit: WeeChat 2.4]
alex``` has joined #nixos
drakonis1 has joined #nixos
drakonis1 has quit [Client Quit]
drakonis_ has joined #nixos
endformationage has quit [Ping timeout: 244 seconds]
drakonis has quit [Ping timeout: 252 seconds]
Arahael has quit [Ping timeout: 244 seconds]
oborot has quit [Ping timeout: 244 seconds]
<fabianhjr[m]> > fabianhjr (if you're back yet): pulseaudio is broken in unstable at the moment. It'll be fixed very soon.
<fabianhjr[m]> Oh ok, yeah I have been playing around so I wasn't sure if it was something I messed up. Decided to leave my config / system to track 19.03 and my user nix-env installs to track unstable.
<{^_^}> error: syntax error, unexpected ')', expecting THEN, at (string):254:30
weedloser has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #62878 → mirrors: rename sourceforgejp to osdn → https://git.io/fjz55
Arahael has joined #nixos
ryantrinkle has joined #nixos
slack1256 has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
Arahael has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Ping timeout: 248 seconds]
Arahael has joined #nixos
arahael1 has joined #nixos
gAsPeR_sKaTe has joined #nixos
<gAsPeR_sKaTe> yuju
Arahael has quit [Ping timeout: 246 seconds]
<gAsPeR_sKaTe> soy mexicano
<gAsPeR_sKaTe> algun mexicano por aqui eh paisas'
ryantrinkle has quit [Ping timeout: 248 seconds]
<gAsPeR_sKaTe> un saludito para mi
<gAsPeR_sKaTe> le he dado de albañil
<gAsPeR_sKaTe> me gusta el futbol
<gAsPeR_sKaTe> y eh leido libros ;)
<gAsPeR_sKaTe> estudios
<gAsPeR_sKaTe> jajaja :)
<gAsPeR_sKaTe> yo te regalaba todo
<fabianhjr[m]> Yo soy de la CDMX,
<gAsPeR_sKaTe> un saludo para mi linda
<gAsPeR_sKaTe> yo soy de sinaloa
<gAsPeR_sKaTe> abrazos paisa
<gAsPeR_sKaTe> tomen nota
<gAsPeR_sKaTe> de un municipio que se llama culiacan
<gAsPeR_sKaTe> que tambien es una ciudad
<gAsPeR_sKaTe> eh viejon?
<gAsPeR_sKaTe> fabian mucho gusto
<gAsPeR_sKaTe> estamos para lo que se ofrezca
arahael1 has quit [Ping timeout: 245 seconds]
<gAsPeR_sKaTe> gracias por el saludito
<gAsPeR_sKaTe> 41008
<gAsPeR_sKaTe> y vives en mexico?
clacke_movim has left #nixos [#nixos]
<gAsPeR_sKaTe> un homenaje a enrique peña nieto
<gAsPeR_sKaTe> digo a andres manuel lopez obrador
<gAsPeR_sKaTe> se lo merece
arahael1 has joined #nixos
<gAsPeR_sKaTe> un reconocimieto pues notanto como un homenaje
<gAsPeR_sKaTe> jajajaja x)
<gAsPeR_sKaTe> ando feliz pues
<gAsPeR_sKaTe> mis respetos para todos los mexicanos
<gAsPeR_sKaTe> manos con callos y pies
<gAsPeR_sKaTe> que conectamos asi quien lo iva a decir
<gAsPeR_sKaTe> viva
gAsPeR_sKaTe has quit []
iqubic has joined #nixos
<Athas> I'm not happy with the mesa package, because it explicitly disables OpenCL for some reason. What's the most proper way of using my own mesa package, apart from completely running my own fork of nixpkgs?
<Athas> (Or is that the proper way?)
madhukar has joined #nixos
<li_matrix> I prefer the fork method but you can use overrides
<fabianhjr[m]> There are some attributes you can pass. Let me check
<madhukar> Anyone have an idea why running `xcape -e 'Caps_Lock=Escape'` in the shell does nothing for me. I've used it succesfully with arch. I get no output/errors
<madhukar> process exits with 0
dansho has quit [Ping timeout: 248 seconds]
<fabianhjr[m]> Oh, nvm. the flag is hardcoded in the package.
<fabianhjr[m]> fork and remove L134.
<madhukar> the behavior I'm trying to get is caps lock should be escape when tapped and control when corded
<madhukar> I added this to configuration.nix displayManager.sessionCommands = '' setxkbmap -option ‘caps:ctrl_modifier’ xcape -e ‘Caps_Lock=Escape’ ''; };
<clever> 457 xserver = {
<clever> 458 xkbOptions = "caps:shiftlock";
palo1 has joined #nixos
<clever> madhukar: if a preset is available for that, you can enable it like this
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 272 seconds]
Mateon2 is now known as Mateon1
palo has quit [Ping timeout: 248 seconds]
palo1 is now known as palo
<kuznero[m]> How is it possible to have `adwaita-icon-theme` as a dependency to a gtk3 app? Full name for it is `gnome3.adwaita-icon-theme` and I have no idea how to reference it from my `stdenv.mkDerivation` clause. Please help!
<kuznero[m]> I can referece `hicolor-icon-theme` though
<kuznero[m]> But that is not enough
arahael2 has joined #nixos
<kuznero[m]> I see I can define whole `gnome3` as a dependency and then use `gnome3.adwaita-icon-theme` in the `buildInputs` clause. But is not that a bit too much?
arahael1 has quit [Ping timeout: 248 seconds]
<madhukar> clever: preset for the exact behavior I mentioned?
<clever> madhukar: i dont know if a preset exists for that though
kvaster has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
<madhukar> clever: sure, which is why I have to use xcape. From what I understand xcape will send 'escape' on key up, which gives me desired behavior. For some reason xkb doesn't seem to be doing its job
arahael2 has quit [Ping timeout: 258 seconds]
<clever> madhukar: you could maybe try xkbOptions = "caps:ctrl_modifier";
<madhukar> I did, do you think I need a reboot
<clever> yeah
<etu> kuznero[m]: nah, that's fine
<{^_^}> [nixpkgs] @dywedir merged pull request #62807 → goxel: 0.8.3 -> 0.9.0 → https://git.io/fjzcc
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjzdu
<etu> kuznero[m]: unused inputs aren't deps
<kuznero[m]> etu: ok, thanks
hyper_ch has quit [Quit: ZNC 1.7.3 - https://znc.in]
<Athas> fabianhjr[m]: so how do I make sure that /etx/nixos/configuration.nix always my local fork?
<etu> kuznero[m]: deps are derived from *buildInputs* and string magic :)
<kuznero[m]> :D
<clever> its just string magic
<clever> but that magic also applies to buildInputs
<etu> Oh
toppler has joined #nixos
<clever> it applies to every argument passed to builtins.derivation { ... }
hyper_ch has joined #nixos
<{^_^}> [nixpkgs] @kuznero opened pull request #62879 → notes-up: add missing default adwaita-icon-theme → https://git.io/fjzdz
arahael2 has joined #nixos
<madhukar> trying reboot
<etu> clever: That makes sense
<hyper_ch> lol, still bannd from #wireguard
AK has joined #nixos
madhukar has quit [Ping timeout: 256 seconds]
ryantrinkle has joined #nixos
arahael2 has quit [Ping timeout: 248 seconds]
<Athas> I want to write/modify the postInstall step for a large package. How can I see what's available at that stage? As in, where can I see the intermediate file tree produced?
madhukar has joined #nixos
<clever> Athas: usually, the working directory is left at the root of the source tree
<madhukar> clever: hah the blog I copied the commands from was using a different quote symbol for single quote, derp.
<clever> madhukar: i have it when blogs do that
<clever> madhukar: and now that you say that, i can see the differences
<madhukar> sorry for wasting your time
<Athas> clever: so is the normal procedure that I try to build the package outside of Nix, poke around to see where it leaves things, and then update the Nix definition?
<clever> Athas: if you want to modify something in its output, just `nix-build '<nixpkgs>' -A thing` and see where the files are, and then use $out/thatpath in postInstall
<madhukar> do you use nix-env commands? I barely skimmed the manual and got my system up and running quickly. Installation and config has been a breeze so far, I expect because I'm using packages which are already available
<Athas> clever: ah, so by default all the generated files are installed in their standard location?
<clever> Athas: the installPhase should copy everything to $out/bin and $out/lib for example
<clever> and nix will set $out to the right path before starting the build
<madhukar> The only question now is if I'll have trouble using the system for work. Install scripts and such developed by my colleagues will not work straight away, I expect?
<clever> madhukar: i mostly stick to nix-build and nixos-rebuild
<Athas> clever: sure, I understand that, but this package is so large that I'm not even sure *what* to copy. (I know what to copy *to*, but I have no idea where in the build directory the files will be located after the build.)
<clever> Athas: ahh, then you want to either make it fail with `postInstall = "exit 1";` and build with --keep-failed
<clever> Athas: or just build it under nix-shell '<nixpkgs>' -A thing
madhukar has quit [Quit: Page closed]
madhukar has joined #nixos
<Athas> Thanks, I will try that.
iqubic` has joined #nixos
<rprije> Is it possible to load packages from root channels other than the nixos channel in the nixos configuration?
<clever> rprije: just `foo = import <channelname> {};` in a let block and then foo.hello somewhere
arahael3 has joined #nixos
iqubic has quit [Ping timeout: 248 seconds]
iyzsong has joined #nixos
<rprije> clever, huh. I thought I'd tried that. Worked this time, anyway. Thanks!
arahael3 has quit [Excess Flood]
Notkea has quit [Read error: Connection reset by peer]
Notkea has joined #nixos
arahael3 has joined #nixos
jasongrossman has joined #nixos
knupfer has joined #nixos
madhukar has quit [Ping timeout: 256 seconds]
domogled has quit [Ping timeout: 272 seconds]
linarcx has joined #nixos
iyzsong has quit [Ping timeout: 248 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b8bf4e406be (from 49 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
arahael3 has quit [Ping timeout: 244 seconds]
<pie__> hm broke my boot configuration on a zfs setup somehow by importing and exporting and changing names, now i changed it back but it still wont boot, complains in grup about not being able to find root :/
<clever> pie__: can you screenshot the error?
<pie__> hold on i gotta unmount and boot it again but iirc its totally unhelpful and unspecific
jasongrossman has quit [Remote host closed the connection]
jasongrossman has joined #nixos
arahael3 has joined #nixos
<pie__> ...where even is the grub config stored
<pie__> nevermind found it
clacke_movim has joined #nixos
ee1943 has quit [Read error: Connection reset by peer]
ee1943 has joined #nixos
adamantium has joined #nixos
Anton-Latukha has joined #nixos
<pie__> clever, failed to take a screenshot run into some kind of keyboard capturing junk, can probably work around but meh
<pie__> clever, asks for password, unlocks slot 0, error: cannot find file 'root'
<{^_^}> [nixpkgs] @thefloweringash opened pull request #62880 → sensu-go: init at 5.9.0 → https://git.io/fjzdF
<{^_^}> [nixpkgs] @Ralith opened pull request #62881 → shaderc: 2018.0 -> 2019.0 → https://git.io/fjzdb
arahael3 is now known as Arahael
<clever> pie__: you can just take a photo of the monitor
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @vcunat opened pull request #62882 → bind: drop a darwin-specific patch → https://git.io/fjzdh
<{^_^}> [nixpkgs] @dywedir opened pull request #62883 → hyperfine: 1.4.0 -> 1.6.0 → https://git.io/fjzdj
<{^_^}> [nixpkgs] @peterhoeg merged pull request #61858 → freerdp: add nocaps option that turns Caps Lock into Control → https://git.io/fj4ij
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fjzFe
<{^_^}> [nixpkgs] @vcunat pushed to master « bind: drop a darwin-specific patch (#62882) »: https://git.io/fjzFv
<pie__> grub does stuff like search --set=drive1 --label zroot
mbrock has joined #nixos
<pie__> thats the name of the pool so that should be fine...
init_6 has quit []
<pie__> there's lines like ($drive1)//root/@/boot/converted-font.pf2; which are the only references i can find to root
linarcx has quit [Read error: Connection reset by peer]
<pie__> and im guessing thats supposed to be the dataset, and i have a dataset named root and it has a /boot
linarcx has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #62882 → bind: drop a darwin-specific patch → https://git.io/fjzdh
orivej has joined #nixos
mexisme_ has joined #nixos
mexisme_ has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @Izorkin closed pull request #62737 → linux_{5_1,testing}: fix bug null pointer dereference → https://git.io/fju7i
<eyJhb> When I set.. `services.xserver.videoDrivers = ["something"];`, does it then override anything else that might have been added to that? - And, how would I go about appending to lists
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fjzFT
ericsagnes has quit [Ping timeout: 252 seconds]
dansho has joined #nixos
Arahael has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @vcunat merged pull request #62873 → bind: fix build on armv6l → https://git.io/fjz7G
Arahael has joined #nixos
iyzsong has quit [Ping timeout: 252 seconds]
lambda-11235 has quit [Quit: Bye]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-19.03: https://git.io/fjzFk
gentauro has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vcunat merged pull request #62858 → [19.03] backport wasmtime → https://git.io/fjz1n
gentauro has joined #nixos
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @Tomahna opened pull request #62884 → modidy-iris: 3.37.1 -> 3.38.0 → https://git.io/fjzFt
fendor has joined #nixos
revtintin has joined #nixos
mthst has quit [Quit: the bouncer died]
<pie__> eyJhb, i *think* lists are merged for configuration.nix stuff (not sure how that works, probably mkOption related), unless youre doing something special in which case idk
<pie__> but for the xorg thing i thiiiiink it shouldnt overwrite
<etu> eyJhb: It's appended
<etu> eyJhb: I think
<etu> Normally it is
<eyJhb> Fair, thanks! - Finally time for some cleanup in my main conf file
<pie__> eyJhb, yay cleanup is good
<pie__> eyJhb, just making sure:
<pie__> you know that a.b.c = 1; a.b.d = 2; is equivalent to a.b = { c = 1; d = 2; }; right?
<eyJhb> Yes :D
<eyJhb> So it is used a little.. Willy nilly all over, some places etc.
<etu> eyJhb: May it happen that you have used grub before?
<eyJhb> Properly at some point, why? Regarding /boot/kernels?
<etu> eyJhb: I found /boot/kernels on one of my systems that use grub, my systems that use systemd-boot doesn't have that directory
gagbo has joined #nixos
<etu> I'm thinking that it must have been leftovers from grub then :)
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fjzFC
<eyJhb> Yeah, was also thinking that. Would make sense! I have A LOT more space after I just nuked /boot/kernels :D
<eyJhb> But would prop make it 1GB next time anyways
<{^_^}> [nixpkgs] @vcunat pushed to release-19.03 « Merge #62862: doc: update nixpkgs-mozilla rev »: https://git.io/fjzFl
<pie__> elvishjerricco, can you send me your grub.conf
<eyJhb> pie__: what are you trying to do?
<pie__> eyJhb, trying to figure out why my boot is broken
<pie__> im using elvishjerricco'S luks+zfs setup
<{^_^}> [nixpkgs] @vcunat merged pull request #62862 → doc: update nixpkgs-mozilla rev → https://git.io/fjz1x
hke has quit [Quit: The Lounge - https://thelounge.github.io]
<pie__> eyJhb, though i guess your grub conf might help so i know what some things are supposed to look like
<eyJhb> Ahh, makes sense!
<eyJhb> I am somwhat confused by sound.enable and hardware.pulseaudio.. Are they required in any way to ahve sound?
<{^_^}> [nixpkgs] @abbradar opened pull request #62885 → mtprotoproxy: init package and service → https://git.io/fjzFR
<pie__> eyJhb, yes they are required in some way
<pie__> eyJhb, no i mean /boot/grub.cfg
<eyJhb> Yeah, I can see, else I can't do much
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fjzF0
hke has joined #nixos
<eyJhb> Well I can PM you my /boot/grub/grub.cfg, but it is ooooold... Seeing as I switching to EFI
<eyJhb> s/switching/switched/g
<pie__> hm ok so i end up in grub rescue which means it cant even find the grub folder
<pie__> how does grub know where to find the grub folder
Ariakenom has joined #nixos
<eyJhb> Do you have no previous points?
<pie__> the problem is i dont even get as far as the rollback selection
<clever> pie__: when grub-install is ran, the path to the "boot" partition is baked into the stage 1.5 binary
<pie__> its broken on a lower level, it cant find the appropriate zfs "thing" for some reason
<clever> pie__: and if it cant find that, it falls into rescue mode
<pie__> ok that makes sense
<eyJhb> That seems, not nice...
<pie__> so how do i debug that
<{^_^}> [nixpkgs] @etu opened pull request #62886 → kitty: 0.14.1 -> 0.14.2 → https://git.io/fjzFE
<clever> grub-install is also responsible for embeding the correct drivers for the "boot" partition
<pie__> because i cant figure out how what its looking for is different than what i have
kvaster has quit [Ping timeout: 258 seconds]
<pie__> actually i have a wild guess...
<pie__> ah no that cant work nvm
<pie__> was thinking maybe the zpool root name is /root and thats what it cant find, but that wouldnt have worked well ever because of colliding with /root on the normal system
<clever> pie__: ive not tried /boot on zfs yet
<clever> pie__: let me poke around with justdoit
<pie__> problem is the grub rescue menu is useles
<pie__> and i dont know how to do anything in it
<eyJhb> What is the most lighweight displaymanager? Slim isn't supported anymore, and lightdm seems.. "big"?
<pie__> s/menu/console/
<clever> pie__: insmod should still work
<eyJhb> pie__ I know that feeling
<clever> pie__: but it has no tab completion
<pie__> exactly
<clever> pie__: you need to load the core module from the boot fs
<{^_^}> [nixpkgs] @vcunat merged pull request #62532 → teeworlds: fetchSubmodules → https://git.io/fjEoX
<pie__> clever, ls also works
<pie__> so i know (crypto0) is the device
<clever> pie__: use ls to try and find core
fendor_ has joined #nixos
<etu> eyJhb: I usually run lightdm, at least it got "light" in the same :D
<pie__> but thats the only thing i was able to get from ls
<clever> pie__: sounds like the luks has been opened successfully
<etu> eyJhb: But I use autologin, so I never see it
<clever> pie__: ls (crypto0) ?
fendor_ has quit [Read error: Connection reset by peer]
<pie__> oh hm maybe i didnt try that
<eyJhb> etu: I use autologin too, but I see it when i reboot/shutdown :%
<pie__> clever, yeah if i didnt open luks successfully id have failed earlier
fendor_ has joined #nixos
<clever> pie__: stage 1.5 isnt inside the luks volume
<clever> pie__: so you can get rescue mode even if the luks partition was deleted
<pie__> makes sense i guess
<pie__> but it says unlocked slot 0 or something like that
<clever> that definitely sounds like luks
<clever> it has many slots of keys that can unlock the device
<clever> i dont bother with luks on /boot because you have to enter the password twice
<clever> and stage 1.5 isnt protected, so its just giving you some false security
<pie__> clever, i tried it before and ls (crypto0) just tells me "filesystem is zfs"
<clever> pie__: what about `ls (crypto0)/root` ?
Acou_Bass has quit [Ping timeout: 248 seconds]
<clever> pie__: what about `ls (crypto0)/` ?
<pie__> clever, i was about to say i tried the latter and got outpu
<pie__> top level path is /@ which fits the stuff i pasted
ng0 has joined #nixos
<pie__> ok crap, there's nothing listed under /@/ though
<pie__> thich is where the zfs datasets are supposed to show up im pretty sure
<clever> pie__: what about /@/root/ ?
fendor__ has joined #nixos
<pie__> clever, gives the error message from the initial proble
kvaster has joined #nixos
<clever> pie__: i'll need to experiment on my end then...
<pie__> so the question is why it cant see the zfs dataset(s)
<pie__> but this is progress
fendor_ has quit [Ping timeout: 268 seconds]
<pie__> clever, apparently (proc)/luks_script is also a thing but idk how to cat it
Acou_Bass has joined #nixos
<clever> pie__: more? less?
<pie__> no more no less no cat, google results suck
<clever> luke, use the source
<clever> ah, its normal you want to load, not core
<pie__> no search though so that must be ubuntu special compiled
<clever> that says cat should work in rescue mode
kvaster has quit [Ping timeout: 248 seconds]
<pie__> yup but doesnt for em
<pie__> me
<pie__> i guess its a special crappy nixos compiled version
<clever> neat, there is a normal_exit command
<clever> to drop you back into rescue mode
<pie__> heh
<clever> so i can "break" my grub, without actually breaking anything
<pie__> yup
Maxdamantus has joined #nixos
ks0ne has joined #nixos
<clever> pie__: installing nixos in qemu...
<pie__> wewt :|
<clever> its 1 command, justdoit
<{^_^}> [nixpkgs] @abbradar merged pull request #62885 → mtprotoproxy: init package and service → https://git.io/fjzFR
<{^_^}> [nixpkgs] @abbradar pushed 3 commits to master: https://git.io/fjzFi
<pie__> i was about to ask
<pie__> i need to get some sleep after this i thikn
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging: https://git.io/fjzFP
<dhess> clever: do you ever use nixops deploy via a bastion host?
<{^_^}> [nixpkgs] @etu opened pull request #62887 → php: Upgrade to php73 as default php → https://git.io/fjzFX
<clever> dhess: nope, but gchristensen recently opened a PR to nixops to allow it
<dhess> clever: yeah, we were discussing that yesterday.
<{^_^}> [nixpkgs] @vcunat merged pull request #62469 → libuv: 1.28.0 -> 1.29.1 → https://git.io/fjE0D
<dhess> I'll try it out, just was curious if there was a workaround for mainline nixops. I think there isn't; it hangs trying to open a TCP connection to the target
<clever> dhess: i worked around the issue differently
<dhess> I can get it to proxy the connection via the bastion, just by putting ProxyJump in my .ssh/config, but then NixOps tries to connect directly on its own.
<dhess> clever: how?
<clever> dhess: wireguard on both the target machine, and also others in its LAN, and then i just mess with the deployip based on whatever is working at the time
<ajs124> Anyone here ran into some steam games segfaulting in libopenal.so.1.19.1 in 19.03 (but not 18.09)?
<clever> dhess: but that will run into trouble with any backend that does provisioning for you
<clever> pie__: installed, booting but not...
fendor__ is now known as fendor_
<dhess> clever: I don't provision in NixOps anymore so that bit is not a problem for me. Anyway I'm trying to avoid WireGuard in this case if possible.
<dhess> I do have an elaborate WireGuard mesh for my own stuff but I'm trying to avoid that in new deployments. It's a bit of a PITA to maintain.
<clever> dhess: ive also thought about how nixops should manage wireguard for you
<clever> but i can see it still needing a backdoor for the initial deploy, to set it up
<dhess> clever: yeah I saw someone talking about that in NixOps's issues I think
<dhess> that would be cool
<clever> pie__: tab completion without any luks, on a (assumed working) install, https://i.imgur.com/qmZnAmv.png
<clever> pie__: if i ls the partition, i just get the type again, but if i tack a / on, i get all datasets within the pool (and an error), https://i.imgur.com/7yBnKpi.png
Arahael has quit [Ping timeout: 272 seconds]
<clever> pie__: i believe @ is the root of the zfs pool, which would get mounted to /tank in my example
<pie__> yeah
<pie__> i just got a single top level @
<pie__> no slashes
<clever> pie__: it looks like grub was expecting one type, but after reading the node, found the type to be different
<pie__> clever, uhhh so i found something weird
<pie__> clever, thats not the error i got though
<pie__> clever, i just got that it cant find "root"
<pie__> unless im blanking out on something
<clever> and (proc) is just an FS of type procfs, with no contents
<dhess> clever: huh, I'm looking at this iohk mac-host-common.nix module. You all run ZFS on your build Macs' root fs?
<pie__> clever, my prok has luks_script or something like that
knupfer has quit [Ping timeout: 248 seconds]
<clever> my test has ext4 /boot/
<clever> dhess: testing that out now, its based on the nixos-org version of that
<dhess> oh it's a mac VM
<pie__> i have something weird with my fs though, apparently i was able to export a zfs pool that still has a cryptsetup mapper thing mounted?
<clever> dhess: yeah, darwin in qemu, on nixos, on apple hardware
<dhess> wow hahah that is crazy
<clever> dhess: with services like macindloud, every time the machine hangs, you have to open a ticket and wait for them to reboot it
thc202 has joined #nixos
<clever> dhess: but now its just a qemu running under systemd, ssh in, systemctl restart mac-vm, done
<dhess> clever: just curious, do you find all of that worth it just to manage the machine using NixOS/NixOps?
<clever> dhess: and because apple keeps breaking compat with nix, we have been hesitant to upgrade things, since there is no easy downgrade
<clever> but now its all zvols, so its just a rollback away
<dhess> clever: any idea what range the performance hit is vs native macOS?
<clever> still measuring that, dont have the final hardware to test against yet
<dhess> I guess for compiles it might not be too bad. Depends on the emulated disk performance I suppose.
<pie__> ugh this is turning into a mess
<dhess> but even running macOS in VMware is awfully slow, interactively.
<clever> pie__: i think its dynamically generating a grub config file, that calls luks_mount with the right params, and then gets sourced
<clever> pie__: if you have a (crypto0) then that was already ran
<pie__> ok
<pie__> current yak shave: trying to figure out how to unmount this luks thing
<dhess> hmm that's not a bad idea actually. Build machine running latest macOS, then VMware for the Nix builder. Upgrades/rollbacks as needed.
Arahael has joined #nixos
<pie__> device-mapper: remove ioctl on temp2 failed: Device or resource busy
<eyJhb> If I override the version using - https://termbin.com/gxox (last override), then how do I get it to use the new version, isntead of the old? - https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/displaylink/default.nix#L38 (it tries to chmod the old version).
<clever> pie__: did you export it in zfs first?
<pie__> lsof | grep temp2 yields nothing
<pie__> clever, yeah
<pie__> clever, i exported it, that worked fine
<{^_^}> [nixpkgs] @aristidb merged pull request #62883 → hyperfine: 1.4.0 -> 1.6.0 → https://git.io/fjzdj
<{^_^}> [nixpkgs] @aristidb pushed commit from @dywedir to master « hyperfine: 1.4.0 -> 1.6.0 (#62883) »: https://git.io/fjzFN
<dhess> clever: MacStadium just announced this: https://www.macstadium.com/orka
<pie__> i still have this mounted and it says its busy >_>
<dhess> No details but it sounds very interesting.
<clever> pie__: going to experiment with more crazy installs now...
<pie__> clever, im dying here lol
<pie__> mount doesnt even list it!
<clever> pie__: cat /proc/mounts ?
<clever> first, i'll drop the lvm
<pie__> did i somehow get the kernel partition stuff into inconsistent state somehow where only solution is reboot
<{^_^}> [nixpkgs] @aristidb merged pull request #62886 → kitty: 0.14.1 -> 0.14.2 → https://git.io/fjzFE
<{^_^}> [nixpkgs] @aristidb pushed commit from @etu to master « kitty: 0.14.1 -> 0.14.2 (#62886) »: https://git.io/fjzFx
<{^_^}> [nixpkgs] @vcunat closed pull request #62429 → gtk-doc: 1.29 -> 1.30 → https://git.io/fjE8G
<{^_^}> [nixpkgs] @aristidb merged pull request #62854 → nixos/jack: option to adjust dmix buffering → https://git.io/fjzi6
<{^_^}> [nixpkgs] @aristidb pushed commit from @gnidorah to master « nixos/jack: option to adjust dmix buffering (#62854) »: https://git.io/fjzFp
<pie__> clever, its because of people like you that anything ever works wtf
<pie__> (no i havent fixed it)
arahael1 has joined #nixos
<{^_^}> [nixpkgs] @aristidb merged pull request #62847 → editline: 1.16.0 -> 1.16.1 → https://git.io/fjzKp
<{^_^}> [nixpkgs] @aristidb pushed commit from @dtzWill to master « editline: 1.16.0 -> 1.16.1 (#62847) »: https://git.io/fjzFj
Arahael has quit [Ping timeout: 248 seconds]
tboston has joined #nixos
<{^_^}> [nixpkgs] @aristidb merged pull request #62884 → modidy-iris: 3.37.1 -> 3.38.0 → https://git.io/fjzFt
<{^_^}> [nixpkgs] @aristidb pushed commit from @Tomahna to master « modidy-iris: 3.37.1 -> 3.38.0 (#62884) »: https://git.io/fjzbe
<pie__> if i do zpool export in theory i can just remove the external usb hdd that is the pool right?
<clever> pie__: i would think so, i would do a sync just to be paranoid
<dhess> gchristensen: ok, so I just built NixOps using your patch from https://github.com/NixOS/nixops/pull/1024. With ProxyJump in my ~/.ssh/config, it successfully connected to my host via the bastion first time, whereas mainline NixOps would just hang on "waiting for SSH...". Whoot!
<{^_^}> nixops#1024 (by grahamc, 33 weeks ago, open): Allow specifying arbitrary SSH configuration for nodes
__monty__ has joined #nixos
<dhess> I'll test the ssh config file option in a bit
<dhess> but this is already a great fix for my particular case, as I'll need the ProxyJump in my ~/.ssh/config anyway for my own use outside of NixOps.
<dhess> gchristensen++
<{^_^}> gchristensen's karma got increased to 121
<{^_^}> [nixpkgs] @aristidb merged pull request #62828 → nixos/wireguard: add peer service to interface dependencies → https://git.io/fjzzx
<{^_^}> [nixpkgs] @aristidb pushed commit from @WilliButz to master « nixos/wireguard: add peer service to interface dependencies (#62828) »: https://git.io/fjzbJ
knupfer has joined #nixos
<eyJhb> Is there a way to do something like... unpackPhase = old.unpackPhase.replace("1", "2")?
<clever> pie__: i forgot to close my swap device on that last install, and couldnt close the swap luks device, did you check your swap?
<{^_^}> [nixpkgs] @ajs124 opened pull request #62888 → exim: Fix build with MariaDB → https://git.io/fjzbk
<clever> eyJhb: when doing .overrideAttrs (drv: { ... }), the drv is an attrset containing the old stuff
<pie__> clever, dont have swap
<pie__> clever, any idea why i cant lsof my way out of this
<clever> pie__: kernel stuff isnt visible to lsof
<clever> swap, zfs, nfs, losetup, device mapper
<pie__> ok makes sense
revtintin has quit [Quit: WeeChat 1.9.1]
<eyJhb> clever yes, but as I have problems with it reusing the old version in the unpackphase, I need to override the unpackphase :)
<pie__> i dont suppose the kernel has an lsof equivalent
<clever> pie__: dmsetup ls?
mexisme_ has joined #nixos
<eyJhb> And instead of completely just.. Copy pasting it, it would be nicer to just replace the version number
<pie__> clever, lists temp2 (254:1) but that doesnt really say anything new?
<clever> eyJhb: and functions work the other way around
<clever> > lib.replaceStrings ["foo"] ["bar"] "foobazfoo"
<{^_^}> "barbazbar"
<eyJhb> Currently have ` unpackPhase = import (builtins.replaceStrings [old.version] [version] old.unpackPhase);`, and it replaces it somewhat fine, but I get `' doesn't represent an absolute path, at /home/eyjhb/projects/git/dot/dotfiles/nixos/overlays/displaylink.nix:24:21`
<clever> eyJhb: why are you trying to import it?
<eyJhb> Basically what I could see from the example yesterday with fetchurl :p
<clever> import takes a path (not a bash script) and then returns the nix value within that file
<eyJhb> `2019-06-08 22:58:37 clever eyJhb: import (builtins.fetchUrl https://github.com/nixos/nixpkgs-channels/archive/nixos-unstable.tar.gz) {}`
<eyJhb> Just went from that
<clever> that example from yesterday, was importing the default.nix within the tar
<eyJhb> Hmm, works, thanks :) - Still getting used to.. It all..
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fjzbc
<yorick> does auto-optimize still cause significant slowdowns?
<clever> yorick: i turned it off in my personal hydra, since the spinning rust is rather slow
<yorick> nix-store --optimize just saved me 37GB but I suppose I could run it periodically
Lears has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #62393 → virtualboxHeadless: Fix build → https://git.io/fjEsF
m0rphism has joined #nixos
[Leary] has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #62875 → pythonPackages.neuron: fix for darwin → https://git.io/fjz7y
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fjzbC
mexisme_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #62851 → avahi: add Python support → https://git.io/fjz6g
<{^_^}> [nixpkgs] @FRidh pushed commit from @lopsided98 to master « avahi: add Python support »: https://git.io/fjzb8
xkapastel has joined #nixos
toppler has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to master « uae: fixup build »: https://git.io/fjzbR
MichaelRaskin has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/fjzb0
peacememories has joined #nixos
<pie__> lsof grep output is empty
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<pie__> i dont have an lvm thingy name, and sudo lvscan doesnt seem to give anything
<pie__> just /dev/sda: open failed: No medium found
<clever> pie__: dmsetup ls, would have shown lvm anyways
<pie__> which is my root disk...
<pie__> ok
<clever> luks and lvm both use device-mapper
<clever> the luks header has multiple key slots, each can be encrypted with a different passphrase (or keyfile)
<clever> all contain the same master key
<clever> and once you decrypt the master key, it just tells device-mapper to handle the rest, with the offset for the ciphertext, and the masterkey
<pie__> i think im gonna crash for a bit but damn i need to get this done tonight
<clever> lvm headers contain the list of fragments, and which disk each fragment is on, and it just tells DM to piece it all together and handle the rest
<pie__> sigh, thanks
<pie__> clever, in case i havent stated: i renamed the zpool by export-import-export, and i renamed the dataset with zfs rename
<pie__> that was what i did
<pie__> and then did it again to undo it after it was borked
toppler has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 410 commits to staging-next: https://git.io/fjzbg
<{^_^}> [nixpkgs] @FRidh opened pull request #62889 → Staging next → https://git.io/fjzb2
<clever> pie__: the name may be baked into the grub stage 1.5
<clever> pie__: so it should be the original name to boot
<pie__> clever, heres the dev https://bpaste.net/show/c19e3ae7c08a
<pie__> i mean zpool (tired)
<pie__> clever, zfs list output https://bpaste.net/show/30bdf3e897c9
<clever> aha, so thats how you list un-imported pools, lol
<pie__> clever, ya
<clever> not sure what the temp2 refers to
<pie__> not everything is clear ... lots of googling cuz u dunno what exists and why some things are the way they are, but this is actually listed as a command variant in the man page so its there
v88m has quit [Ping timeout: 258 seconds]
<pie__> clever, thats the devmapper thing
<clever> oh wait, i ran that test in the VM by accident, lol
<clever> that explains why its just "root" there
<pie__> that i was like "wtf" about
<clever> on my real system, it doesnt list imported pools
<pie__> this doesnt list already imported pools only unimported ones it found in the search path
<pie__> which i think defaults to /dev (its in the man page somewhere)
<pie__> no idea how it does the actual searc
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/fjzbr
<pie__> clever, so yeah, my brain is shutting off slowly, if youve any ideas...
<clever> which defaults to /dev/disk/by-id
<pie__> clever, yes -d is used to set the search path
<pie__> ah ok
<{^_^}> [nixpkgs] @FRidh pushed 335 commits to staging: https://git.io/fjzbo
<clever> under the initrd at least
<clever> for manual importing, i think it defaults to /dev/
<{^_^}> [nixpkgs] @FRidh merged pull request #62702 → p11-kit: 0.23.15 -> 0.23.16.1 → https://git.io/fjuuX
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « p11-kit: 0.23.15 -> 0.23.16.1 »: https://git.io/fjzb6
<clever> but that winds up even searching floppies :P
<clever> nixos changes it to make the boot faster
<clever> but virtio devices dont appear in disk/by-id, so it breaks VM booting
<pie__> hah
<pie__> remove floppy driver :V
<clever> ok, i have redone my justdoit script to remove lvm
<clever> zfs and swap are now on seperate luks devices, that share the passphrase
<clever> and due to "recent" additions to nixos, it only prompts once
<{^_^}> [nixpkgs] @FRidh merged pull request #62770 → gallery-dl: 1.8.4 -> 1.8.5 → https://git.io/fjzf9
<{^_^}> [nixpkgs] @FRidh pushed commit from @dawidsowa to master « gallery-dl: 1.8.4 -> 1.8.5 »: https://git.io/fjzbP
<clever> but its still ext4 /boot/
<pie__> clever, you know he we were thinking about the path name stuff
<pie__> but i think that doesnt matter
<pie__> the questoin is wtf why is the grub visible zfs pool empty
<eyJhb> Does the latest Go in nixos-unstable work for anyone? (1.12.5)?
<{^_^}> [nixpkgs] @vcunat merged pull request #62340 → filezilla: add wrapper to set necessary FZ_DATADIR → https://git.io/fjEqU
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-19.03: https://git.io/fjzb9
<pie__> clever, do pool feature flags matter or is that fine because crypt0 exists
<hyper_ch> clever: not using native zfs encryption?
<pie__> clever, i didn tset any but we can check them
<clever> hyper_ch: havent tried it yet
<hyper_ch> ah :)
peacememories has joined #nixos
ng0_ has joined #nixos
<pie__> clever, so yeah..why is the pool empty
<pie__> according to grub anyway
<clever> pie__: my guess is that a feature grub doesnt support was set
ng0 has quit [Ping timeout: 256 seconds]
<clever> pie__: ive never trusted the grub zfs support
<pie__> same guess, no idea yet, but why would an export/import/rename do that
<{^_^}> [nixpkgs] @FRidh merged pull request #62831 → writeScript: fix docstring → https://git.io/fjzar
<{^_^}> [nixpkgs] @FRidh pushed commit from @jluttine to master « writeScript: fix docstring »: https://git.io/fjzb7
<clever> pie__: it has had problems before where it cant even read a file in /nix/store/ because the directory is too large
<pie__> lol
<pie__> does it even run in 32bit more
<pie__> mode
<{^_^}> [nixpkgs] @fpletz merged pull request #62827 → syncthing: 1.1.3 -> 1.1.4 → https://git.io/fjzz6
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fjzb5
<clever> i suspect its running in 16bit mode, but i'm not sure :P
<clever> but its a complete reimplementation of the zfs driver, so the ARC doesnt really exist
<pie__> so not entirely unfair if you have 64000 directory entries or someting :p
<aristid> 335 commits :D
<pie__> i'unno lol
<clever> pie__: its more that zfs changes the type of a directory as the size grows, to keep it fast
<clever> pie__: and grub didnt support all the types
<pie__> ah heh
<clever> nobody tested it on nix sizes dirs :P
<clever> "it boots, ship it"
<pie__> clever, pool should be fine right so this doesnt matter https://bpaste.net/show/08ea4e2e7b91
<clever> pie__: cross-refernece the zfs man pages, to see which features are read-only-compatible
<pie__> i dont use anything thats nondefault so none of those fancy ones yet afaik
<pie__> clever, so with youre experience with the directory stuff, does it just fail silently
<clever> pie__: zpool create turns all features on by default
<pie__> clever, shouldnt be a creation time problem though because it booted before the renaming
<clever> some may transition to active when you rename things
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<pie__> oh
<pie__> f***
<pie__> clever, also now that im actually reading my paste i do have a bunch of stuff enabled
<adamantium> pie__: https://github.com/a-schaefers/themelios your welcome ;-)
<pie__> adamantium, i did have a working setup fwiw but i do hav ethat open in one of my 100 open zfs tabs
<adamantium> lol
<adamantium> i am the coder of the script if you have any question lmk
<clever> adamantium: justdoit does the same thing
<adamantium> hi clever :) i never did try your one
<clever> all of the config is done at nix eval time, and it generates a simple bash script with no control flow
<pie__> forgot "zfs history" is a thing
<clever> currently, the /boot must be either ext4 or vfat, and it cant be encrypted
arahael1 has quit [Ping timeout: 248 seconds]
<asymmetric> does buildRustPackage not support git submodules?
ris has joined #nixos
ng0_ is now known as ng0
<pie__> clever, i checked, afaict everything is either RO compatible or listed in the grub snippet you linked
<pie__> ah i think that was the zpool though
<pie__> datasets dont seem to have anyhting like this though
timon37 has joined #nixos
<pie__> gosh this has to be osmething dumb
arahael1 has joined #nixos
<clever> pie__: i should get to bed, its 8am, lol
domogled has joined #nixos
mac10688 has quit [Ping timeout: 256 seconds]
<__monty__> Good morning, clever
<__monty__> nn, clever
<{^_^}> [nixpkgs] @vcunat pushed 7 commits to master: https://git.io/fjzNe
<sphalerite> Anybody using a WWAN modem successfully on nixos? If so, how? I've just installed one and linux is detecting it as a WWAN network interface and 5 USB TTYs, but network-manager doesn't seem to see it or aynthing
<andi-> sphalerite: did you start / configure modem manager?
<sphalerite> andi-: started yes, configured no. How do I configure it? :)
<andi-> usually through network manager :D
<sphalerite> right, I'd like to do that but I see nothing at all about the modem in nm
arahael1 has quit [Ping timeout: 268 seconds]
<andi-> I had issues with WWAN on my x250 last year (haven't used since). Restarting modem manager after each suspend fixed it :/
<sphalerite> nmcli dev doesn't list it, although `ip l` does
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @vcunat merged pull request #62276 → libfilezilla: 0.13.0 -> 0.16.0; filezilla: -> 3.42.1 → https://git.io/fj092
<{^_^}> [nixpkgs] @vcunat merged pull request #62335 → re2: 20140304 -> 20190401 → https://git.io/fjEtg
[Leary] has joined #nixos
init_6 has joined #nixos
arahael1 has joined #nixos
Lears has quit [Read error: No route to host]
mighty_vee has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
arahael1 has quit [Ping timeout: 244 seconds]
arahael1 has joined #nixos
<aristid> sphalerite: probably you need to use networking.networkmanager.packages to install the WWAN stuff?
<aristid> not sure which packages you need to add there
<sphalerite> aristid: hmm, all the related options seem to be for VPNs
domogled has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/48c87561578 (from 77 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<sphalerite> aristid: and it already has modemmanager in there by default
<aristid> sphalerite: hmm ok not sure then
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite> ok, it's a modem-manager problem since it doesn't appear in mmcli -L
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fjzNY
<sphalerite> aaaah, running udevadm trigger seems to have improved the situation
<sphalerite> (I hadn't rebooted after enabling network-manager)
hiratara has joined #nixos
<hyper_ch> hmmm, rebuild switch doesn't work for me anymore.. it always fails to switch to new configuration :(
<{^_^}> [nixpkgs] @vcunat merged pull request #62132 → tetra-gtk-theme: 201905 -> 201905r1 → https://git.io/fjRwk
<sphalerite> OK, rebooting makes it all work!
<sphalerite> hyper_ch: how does it fail?
<hyper_ch> with systemd errors and then failing to switch
<__monty__> Maybe it *is* working and preventing you from booting into a borked system?
<hyper_ch> __monty__: nope
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-18.09: https://git.io/fjzNG
<{^_^}> [nixpkgs] @vcunat merged pull request #62059 → [18.09] cups: add patch for CVE-2018-4700 → https://git.io/fjBpZ
<__monty__> How do you know the system's not borked if it doesn't boot?
knupfer has quit [Ping timeout: 248 seconds]
<hyper_ch> __monty__: becuase rebuild boot works and when I issue right after it rebuild switch failes to change into new environment
<{^_^}> [nixpkgs] @athas opened pull request #62890 → libclc: 2017-11-29 -> 2019-06-09 → https://git.io/fjzNZ
<hyper_ch> __monty__: and after failed switch rebooting works just fine
<__monty__> Curious.
<{^_^}> [nixpkgs] @FRidh pushed to staging-next « fix eval »: https://git.io/fjzNn
<Athas> The OpenCL situation in NixOS seems a bit dire. Guess I have some work to do!
<sphalerite> hyper_ch: units failing to start? Which ones?
Ariakenom has joined #nixos
<hyper_ch> sphalerite: rebuilding now
rfold has joined #nixos
dansho has quit [Quit: Leaving]
ris has quit []
ris has joined #nixos
hyper_ch has quit [Quit: ZNC 1.7.3 - https://znc.in]
hyper_ch has joined #nixos
<hyper_ch> of course when I try to demonstrate it, it works...
v88m has joined #nixos
acarrico has joined #nixos
alex``` has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @jtojnar opened pull request #62891 → nixos/documentation: nixos-help: use w3m(1) by default → https://git.io/fjzNr
alex``` has joined #nixos
init_6 has quit []
<hyper_ch> anyone still in here?
<{^_^}> [nixpkgs] @marsam opened pull request #62892 → websocketd: 0.3.0 -> 0.3.1 → https://git.io/fjzNP
<sphalerite> hyper_ch: no
<Athas> I'm still around!
mighty_vee has quit [Ping timeout: 248 seconds]
Matthieu_ has joined #nixos
<hyper_ch> sphalerite: thought so
<hyper_ch> as quiet es the channel was, I was afraid everybody died
<{^_^}> [nixpkgs] @vbgl merged pull request #62760 → sile: leverage lua environments → https://git.io/fjupA
<{^_^}> [nixpkgs] @vbgl pushed commit from @teto to master « sile: leverage lua environments »: https://git.io/fjzNQ
dukedave has quit [Ping timeout: 258 seconds]
dukedave has joined #nixos
r0bby has joined #nixos
v0|d has joined #nixos
astrofog has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #62893 → detect-secrets: 0.11.4 -> 0.12.4 → https://git.io/fjzN5
hiratara has quit [Quit: ZNC - http://znc.in]
<{^_^}> [nixpkgs] @vcunat pushed 6 commits to master: https://git.io/fjzNb
<{^_^}> [nixpkgs] @joachifm merged pull request #62677 → botocore, boto3, awscli: 1.12.152->1.12.160, 1.9.152->1.9.160, 1.16.1… → https://git.io/fju0M
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjzNN
<{^_^}> [nixpkgs] @vcunat pushed to release-19.03 « Merge #62440: git-quick-stats: init at 2.0.8 »: https://git.io/fjzNA
<{^_^}> [nixpkgs] @vcunat merged pull request #61877 → thunderbird, thunderbird-bin: 60.6.0 -> 60.7.0 → https://git.io/fj4yQ
<{^_^}> [nixpkgs] @vcunat merged pull request #62440 → git-quick-stats: init at 2.0.8 → https://git.io/fjE4N
<{^_^}> [nixos-homepage] @grahamc merged pull request #282 → corrected az cli instructions for nixos on azure → https://git.io/fjz5W
<{^_^}> [nixos-homepage] @grahamc pushed 3 commits to master: https://git.io/fjzAe
domogled has joined #nixos
o1lo01ol1o has joined #nixos
arahael1 has quit [Ping timeout: 248 seconds]
arahael1 has joined #nixos
alex``` has quit [Ping timeout: 248 seconds]
wfranzini has quit [Remote host closed the connection]
alex``` has joined #nixos
wfranzini has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
rfold has quit [Quit: WeeChat 2.4]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fjzAC
peacememories has joined #nixos
knupfer has joined #nixos
<__monty__> Sunday's quiet in europe : )
astrofog has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vcunat merged pull request #61817 → docear: init at 1.2.0 → https://git.io/fj4uC
<{^_^}> [nixpkgs] @womfoo opened pull request #62894 → llvm_7: skip failing X86 test cases on armv7l → https://git.io/fjzAR
<hyper_ch> s/quiet/raining/
<__monty__> Only cloudy but nice over here.
<hyper_ch> vcunat is busy merging PRs
<{^_^}> [nixpkgs] @timokau opened pull request #62895 → Revert "alsaLib: 1.1.8 -> 1.1.9" → https://git.io/fjzAg
<{^_^}> [nixpkgs] @vcunat pushed to release-19.03 « Merge #61877: thunderbird*: 60.6.0 -> 60.7.0 (security) »: https://git.io/fjzA2
<{^_^}> [nixpkgs] @womfoo opened pull request #62896 → orc: disable tests on armv7l → https://git.io/fjzAa
v88m has quit [Read error: Connection reset by peer]
v88m has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #62881 → shaderc: 2018.0 -> 2019.0 → https://git.io/fjzdb
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjzA6
v88m has quit [Read error: Connection reset by peer]
v88m has joined #nixos
sir_guy_carleton has joined #nixos
arahael1 has quit [Ping timeout: 245 seconds]
linarcx has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @marsam merged pull request #62544 → pythonPackages.django_silk: fix build, enable tests → https://git.io/fjEPU
<{^_^}> [nixpkgs] @marsam pushed 6 commits to master: https://git.io/fjzA1
<{^_^}> [nixpkgs] @womfoo opened pull request #62897 → pinentry: update patch url → https://git.io/fjzAD
arahael1 has joined #nixos
<{^_^}> [nixpkgs] @womfoo opened pull request #62898 → dconf: disable tests on armv7l → https://git.io/fjzAQ
<wucke13_> What is the preferred way to add a new page to the nixos.wiki?
ym555 has quit [Ping timeout: 244 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<edef> Does anyone have experience using clang ubsan on NixOS?
xantoz has quit [Quit: WeeChat 2.4]
xantoz has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #62895 → Revert "alsaLib: 1.1.8 -> 1.1.9" → https://git.io/fjzAg
<{^_^}> [nixpkgs] @timokau pushed to master « Revert "alsaLib: 1.1.8 -> 1.1.9" (#62895) »: https://git.io/fjzAp
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/fjzAj
arahael1 has quit [Ping timeout: 248 seconds]
<alex```> how to build default.nix?
<alex```> from nixpkgs repo
<alex```> > error: cannot auto-call a function that has an argument without a default value ('stdenv')
<{^_^}> error: syntax error, unexpected $undefined, at (string):254:82
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #61574 → audit: Fix build with pkgsMusl. → https://git.io/fjliu
<symphorien> ,callPackage alex```
<{^_^}> alex```: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<alex```> how does it work
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @turboMaCk opened pull request #62899 → Elm tooling initial version → https://git.io/fjzxT
dftxbs3e has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
Matthieu_ has quit [Ping timeout: 272 seconds]
arahael1 has joined #nixos
<immae> alex```: "callPackage" will inspect the arguments of th efunction and autofill them with elements from pkgs (when possible)
Matthieu_ has joined #nixos
travelion6 has joined #nixos
<{^_^}> [nixpkgs] @thefloweringash opened pull request #62900 → mysql55: fix build under clang 6 (and newer) → https://git.io/fjzxG
arahael1 has quit [Ping timeout: 248 seconds]
arahael1 has joined #nixos
toppler has quit [Ping timeout: 272 seconds]
rprije has quit [Ping timeout: 248 seconds]
arahael1 has quit [Ping timeout: 248 seconds]
mthst has joined #nixos
arahael1 has joined #nixos
toppler has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peacememories has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #62887 → php: Upgrade to php73 as default php → https://git.io/fjzFX
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjzx2
fusion809 has quit [Remote host closed the connection]
Ariakenom has joined #nixos
knupfer has quit [Ping timeout: 248 seconds]
adamantium has quit [Ping timeout: 246 seconds]
domogled has quit [Quit: domogled]
arahael1 has quit [Ping timeout: 268 seconds]
arahael1 has joined #nixos
<{^_^}> [nixpkgs] @vcunat closed pull request #62897 → pinentry: update patch url → https://git.io/fjzAD
reverend has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<reverend> Hey all, anyone have any luck installing NixOs on a precision 5520 keeping the GPT scheme? Literally every other distro works just fine unfortunately. It seems like the installer is having trouble finding the right volume to mount.
<lassulus> what did you try? I'm not sure I get what "finding the right volume" means
<mthst> what are mkDefault, mkForce, mkIf etc. ? where are they documented?
<{^_^}> [nixpkgs] @marsam merged pull request #62892 → websocketd: 0.3.0 -> 0.3.1 → https://git.io/fjzNP
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjzxj
<reverend> I tried the full-blown graphical installer, as well as the minimal cd. Played around with the options but I believe it tried to mount the usb volume and failed. Dropping into a shell failed with the same error, continuing resulted in kernel panic
<reverend> I didn't write down the proper error message, unfortunately, but I can reboot and give it another shot
<pbb> > hello
<{^_^}> "<derivation /nix/store/h2dzss0knb4n0clms4282gw1ybfs7axa-hello-2.10.drv>"
<lassulus> reverend: normally you mount the partitions manually to /mnt
arahael1 has quit [Ping timeout: 248 seconds]
<reverend> This is in something like "Phase 0" of the install process, before I'm presented with a prompt
<tilpner> reverend: The ISO is failing to boot before you even get to a UI/shell?
<tilpner> That's not good
<tilpner> How did you install it to the USB stick?
<reverend> tilpner yes
<reverend> Universal USB Installer
<tilpner> Try with dd
<tilpner> Or cp, or shell redirection
<lassulus> it works with cp?
<tilpner> sudo cp nixos.iso /dev/sdx
<lassulus> ah
<tilpner> (Not with busybox though)
<lassulus> yeah, that could work
<reverend> hmmm. Was hoping I wouldn't have to dd anything, I don't have access to any *nix boxen at the moment
<reverend> time to give WSL a spin i guess
arahael1 has joined #nixos
<tilpner> reverend: The NixOS can boot if you just do a bitwise copy of it to a storage device
<tilpner> reverend: But these graphical tools often try to be smart and do something else
<tilpner> *The NixOS ISO can boot
<mthst> lassulus: thanks
<tilpner> reverend: As I said, it doesn't have to be dd. cp and shell redirection work too, as should any other methods that do a bitwise copy
<tilpner> It might even be possible to use your Android phone
<lassulus> ah there was drivedroid
<lassulus> but needs a rootet phone afair
<reverend> dd is my preferred method but I can't write USB drives on my work laptop :'(
<lassulus> you can try netboot.xyz, it also should have nixos support and maybe it's easier to flash the netboot.xyz image
<tilpner> There is another option... you can jumpstart NixOS from an existing distribution
<reverend> tell me more
<tilpner> Either via kexec, or the long way by installing Nix and building nixos-install locally
<tilpner> But it'll be a little harder and requires an existing Linux installation
<reverend> Yeah my next choice was going to be Arch + Nix
endformationage has joined #nixos
<tilpner> reverend: You would only use another distro temporarily, and use it to install full NixOS
civodul has joined #nixos
<reverend> tilpner: You familiar with this script? Seems to do what you're saying: https://github.com/jeaye/nixos-in-place
<tilpner> reverend: I tried it a few of those a while ago, but they either didn't work at all, or uncleanly
heath has joined #nixos
<lassulus> it's hacky, better boot another linux system to dd your nixos stick
ks0ne has quit [Ping timeout: 258 seconds]
<tilpner> Or that, but you said you couldn't use dd, so I assumed that wasn't possible
<heath> build error on osx: dyld: Library not loaded: /usr/lib/system/libsystem_network.dylib Referenced from: /nix/store/naqkzg617irnxzxq84jskczbc6544l5j-Libsystem-osx-10.11.6/lib/libSystem.B.dylib Reason: image not found
<heath> suggestions on getting around it?
<{^_^}> [nixpkgs] @marsam merged pull request #62880 → sensu-go: init at 5.9.0 → https://git.io/fjzdF
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/fjzpt
Jackneill has quit [Remote host closed the connection]
<heath> nix (Nix) 2.2.2
<reverend> Honestly just converting an arch install to NixOs seems like a fine way to go if I can't get the installer working (I'm installing WSL right now so we'll see if dd does the trick).
<tilpner> But I mentioned two better ways...
<tilpner> Oh well, your installation
<hyper_ch> how is wsl and dd related to Nixos and arch? oO
meck has joined #nixos
emptyflask has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed to master « Revert "Revert "alsaLib: 1.1.8 -> 1.1.9" (#62895)" »: https://git.io/fjzpY
<{^_^}> [nixpkgs] @marsam merged pull request #62792 → postgresqlPackages.pgroonga: 2.1.9 -> 2.2.0 → https://git.io/fjznO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjzp3
<reverend> I mean obviously I have a preference for getting a nixos install "cradle to grave" but it's just good to know I have options
v0|d has quit [Ping timeout: 272 seconds]
<jonreeve[m]> I'm confused about which commands to run as root, and which to run as a normal user. I get different things when I run `nix-channel --list` as a normal user and with sudo
<PyroLagus> because channels are per-user
<hyper_ch> because the user can have different software installed
<jonreeve[m]> Ah. So, I'm guessing I should use sudo to do `nixos-rebuild`?
<__monty__> Does that still hold with daemonized nix? I've removed my user's channels because nix-env wouldn't pick them up anyway.
<hyper_ch> jonreeve[m]: if you want to rebuild your system run as root/sudo
<hyper_ch> nixos-rebuild boot --ugprade
<PyroLagus> __monty__: it does
<__monty__> PyroLagus: Then why wouldn't nix-env pick up my user's <nixpkgs> channel?
<PyroLagus> make sure that your shell sources ~/.nix-profile/etc/profile.d/nix.sh
<PyroLagus> which should be the case on NixOS
<marek> my NetworkManager is overrited my dns resolf file while connected to openvpn, any idea how to solve it? where to point th eup script?
<__monty__> PyroLagus: I'm not on nixos but that was sourced at the time. Either clever or srhb helped me solve the problem, by getting rid of my personal channels.
v88m has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #62893 → detect-secrets: 0.11.4 -> 0.12.4 → https://git.io/fjzN5
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjzpF
<PyroLagus> huh
v88m has joined #nixos
ZaraChimera has left #nixos ["No boundaries on the net!"]
aszlig has joined #nixos
marusich has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Glider_IRC_ has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/fjzpj
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-19.03: https://git.io/fjzhe
Glider_IRC has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #57365 → [19.03] ghostscript: link against "systemwide" liblcms2 → https://git.io/fhjmc
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-19.03: https://git.io/fjzhf
<{^_^}> [nixpkgs] @Mic92 merged pull request #62269 → nixos/bird: Fix reload → https://git.io/fj0y0
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjzhU
lempis has joined #nixos
reverend has quit [Quit: Page closed]
iqubic` is now known as iqubic
domogled has joined #nixos
shabius has joined #nixos
Soo_Slow has joined #nixos
lempis is now known as emilsp
<Athas> Does anyone here have knowledge about the mesa package and is willing to enlighten me a bit about wtf is going on?
domogled has quit [Client Quit]
peacememories has joined #nixos
Matthieu_ has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
o1lo01ol1o has joined #nixos
ddellacosta has quit [Ping timeout: 272 seconds]
ddellacosta has joined #nixos
<Izorkin> Mic92: please check PR #61722 and #61816
<{^_^}> https://github.com/NixOS/nixpkgs/pull/61722 (by Izorkin, 2 weeks ago, open): nginxModules.pinba: init at 13.05.2019
<{^_^}> https://github.com/NixOS/nixpkgs/pull/61816 (by Izorkin, 2 weeks ago, open): nginxMainline: 1.16.0 -> 1.17.0
Matthieu_ has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #62901 → php: drop 7.1 → https://git.io/fjzh4
ks0ne has joined #nixos
ddellacosta has quit [Ping timeout: 245 seconds]
fendor_ has quit [Ping timeout: 248 seconds]
silver has joined #nixos
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #62902 → systemd-networkd: Only generate [Match] if present → https://git.io/fjzhg
knupfer has joined #nixos
<{^_^}> [nix-mode] @j-piecuch opened pull request #79 → Use SMIE for indentation → https://git.io/fjzhw
<{^_^}> [nixpkgs] @Izorkin opened pull request #62903 → haskellPackages.insert-ordered-containers: fix build → https://git.io/fjzhr
knupfer has quit [Ping timeout: 248 seconds]
pareidolia has quit [Ping timeout: 248 seconds]
<laalf> which package do i need to build a 64bit wineprefix?
mmlb has quit [Ping timeout: 272 seconds]
drakonis has joined #nixos
<clever> > wineWowPackages.stable
<{^_^}> "<derivation /nix/store/764l3rf2i73w5v0gbkk4mm5pjk07yr2k-wine-wow-4.0.drv>"
<clever> laalf: i think this one
Matthieu_ has quit [Ping timeout: 245 seconds]
<laalf> ill try that, one second
drakonis has quit [Client Quit]
drakonis has joined #nixos
<laalf> clever: nope. wine: WINEARCH set to win64 but '/home/lars/.Warframe' is a 32-bit installation." when executing WINEARCH=win64 WINEPREFIX="$HOME/.Warframe" winetricks -q d3dx9 xact
<laalf> yes, i deleted that folder before
Matthieu_ has joined #nixos
pareidolia has joined #nixos
<clever> nix-build '<nixpkgs>' -A wineWowPackages.stable
<clever> WINEARCH=win64 WINEPREFIX="/home/clever/test-prefix" ./result/bin/winecfg
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> $ WINEARCH=win32 WINEPREFIX="/home/clever/test-prefix" ./result/bin/winecfg
<clever> wine: WINEARCH set to win32 but '/home/clever/test-prefix' is a 64-bit installation.
<clever> laalf: that is the 64bit wine, i suspect that winetricks is running the 32bit wine on you
<laalf> clever: oh, so id need to modify the winetricks input?
<laalf> nix-shell -p --pure winetricks wineWowPackages.stable --run 'WINEARCH=win64 WINEPREFIX="$HOME/.Warframe" winetricks -q d3dx9 xact' is what i try to run
<clever> yeah, check `nix edit nixpkgs.winetricks`
<clever> it will add regular wine to its own PATH
<clever> > winetricks.override { wine = wineWowPackages.stable; }
<{^_^}> "<derivation /nix/store/bminxmihcpna9mbvh0hrmnpkm5akfypn-winetricks-20190310.drv>"
<clever> nix-shell --pure -p 'winetricks.override { wine = wineWowPackages.stable; }'
peacememories has joined #nixos
<laalf> clever: thanks! that seems to work... ill report back if i can get warframe running
v0|d has joined #nixos
<laalf> it seems to be a 64bit wineprefix now, but warframe doesnt want to launch. well thats my problem now
ddellacosta has joined #nixos
<drakonis> doesnt warframe have directx dependencies?
<laalf> d3dx9 should offer that, no?
<laalf> google says so
<drakonis> it hasnt needed dx9 in a while
<drakonis> dx10 and above is needed
<pie__> i crashed shortly after <clever> pie__: i should get to bed, its 8am, lol
<drakonis> try launching it through the terminal
<drakonis> see what it will complain about
<laalf> oh, yes i followed a forum post from 2013
<laalf> i should see a bit more about it
<drakonis> 2013 is a lot of time
<laalf> yes
<drakonis> relevant
<clever> ive found proton to work well within steam
<clever> but havent tried warframe
<clever> bbl
<drakonis> it should work fine from a graphical standpoint tho
<drakonis> the rest seems to be "audio is borked"
<laalf> i dont play many games. warframe is pretty much my only game now
<drakonis> the reports vary
ekleog_ is now known as ekleog
<laalf> that guy on arch says with xaudio installed it works
<laalf> there doesnt seem to be a xboxdrv service in nixos
<laalf> ill just build it myself
<drakonis> the package exists
<laalf> not the service
<Gopal[m]> so guys, umm, `greeters.enso` doesn't work on unstable?
<Gopal[m]> Xorg fails to start if I enable the greeter
<Gopal[m]> using the intel driver btw
<hyper_ch> has anyone used DisplayPort on nixos?
steve-chavez has joined #nixos
alp has joined #nixos
<Ralith> routinely
<Ralith> works great, though i3 seems to be utter garbage at display hotplugging
<drakonis> its a connector, it shouldn't be any more trouble than hdmi
<laalf> hyper_ch: yes, that works with intel and amd fine
<laalf> also with nouveau
<laalf> its just a port
<hyper_ch> Ralith: i3? with 1 displayport (usb type-c 3.1 with DP functionality): can I attach 2 screens to it?
<hyper_ch> I'm pondering about getting a thinkpad x1 extreme... it does have 1x hdmi but it also has displayport
<Ralith> hyper_ch: that depends on the resolution and refresh rate of the displays
<hyper_ch> (also I'm pondering if I should get that usb-c docking station)
<Ralith> display interconnects are ridiculously bandwidth-intensive
<hyper_ch> Ralith: 2x 24" fullhd
zupo has joined #nixos
<Ralith> "fullhd" means 1080p?
<hyper_ch> yes, on my current notebook I have 1x vga and 1x hdmi attached
<Ralith> 1080p at 60Hz is nothing, you should be absolutely fine there
<hyper_ch> oh wait..... I think it does not have DP.... it's 2 x USB-C Thunderbolt™ 3
<hyper_ch> :(
<Ralith> that might be a superset? I'm not clear on the terminology here
<hyper_ch> I was also looking at the thinkpad p52... that one has DP
<hyper_ch> Mini DisplayPort 1.4
<laalf> get old thinkpad reee
<hyper_ch> laalf: ?
<Gopal[m]> also if anybody is running their primary system on unstable, can you please tell me how much trouble it is / package breakage you have to face on a daily basis?
<hyper_ch> Gopal[m]: no problem at all
<drakonis> hardly
<laalf> hyper_ch: newer thinkpads arent worth the price anymore.
<hyper_ch> Gopal[m]: because upgrades are atomic
<laalf> Gopal[m]: hardly any issues. i take some packages from stable
<hyper_ch> if something goes wrong, just boot into an older genertion
<drakonis> only pulseaudio broke so far and i just backtracked to my previous generation
<drakonis> this is great.
<Gopal[m]> <Gopal[m] "so guys, umm, `greeters.enso` do"> laalf: > so guys, umm, greeters.enso doesn't work on unstable?
<Gopal[m]> ever tried this?
<drakonis> what's enso?
<Gopal[m]> it's a lightdm greeter
<Gopal[m]> works fine on 19.03
<steve-chavez> Hello. I'm having an issue when trying to git clone https://github.com/NixOS/nixpkgs/
<Gopal[m]> breaks on unstable
<hyper_ch> laalf: well.... I need 32gb ram, 2x nvme, max. 15" notebook... lenovo is just about the only one I cam accross
<steve-chavez> error: RPC failed; curl 18 transfer closed with outstanding read data remaining
<laalf> hyper_ch: idk, if i had to buy a new notebook, it would be a dell honestly. latitude/precision. even though this is typed on a thinkpad
<hyper_ch> laalf: no dual nvme
<drakonis> looks like someone pushed it to nixpkgs then never touched it again?
<steve-chavez> Anyone else having the same issue? What are my choices?
<laalf> hyper_ch: :bigthonk:
<Gopal[m]> drakonis: maybe
<steve-chavez> I want to make a PR. Downloading the zip from github doesn't come with git data.
<hyper_ch> laalf: on my sensitive and important data I do like to have zfs mirror
<mbrock> I'm using one mini DisplayPort on my Dell XPS to drive two external monitors
<laalf> hyper_ch: i juts make regular backups.
<mbrock> it just worked
<laalf> borg works
<hyper_ch> laalf: zfs send / recv. hourly also
<drakonis> there's a PR to enable overriding lightdm greeters
<laalf> hyper_ch: i dont see why i would raid 1 in a notebook
<laalf> but hey, its your choice
<hyper_ch> laalf: because I work on it and not being able to work loses me money
<drakonis> oh i can see why it broke
<{^_^}> #44920 (by eadwu, 43 weeks ago, merged): lightdm-enso-os-greeter: init at 0.2.1
<Gopal[m]> drakonis: why and where can you see?
toppler has quit [Ping timeout: 268 seconds]
<laalf> hyper_ch: ah alright. well good luck then
<drakonis> this was merged in under the assumption that https://github.com/NixOS/nixpkgs/pull/44926 would be merged as well
<{^_^}> #44926 (by mnacamura, 43 weeks ago, open): nixos/lightdm-gtk-greeter: make it overridable by other greeters
<drakonis> so the greeter import order was reverted
<laalf> hyper_ch: might want to look away from nvme because of heat
Ariakenom_ has joined #nixos
eeva has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
jtojnar has quit [Remote host closed the connection]
<Gopal[m]> drakonis: I see, thank you
jtojnar has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<laalf> hyper_ch: might want to have a look at the Precision 7730 if money isnt that important
mac10688 has joined #nixos
<hyper_ch> 17" no thx
<hyper_ch> I need to carry it around
toppler has joined #nixos
<hyper_ch> preferrably 13" screen - when working not at home/office I don't need a big screen
<{^_^}> [nixpkgs] @symphorien opened pull request #62904 → os-prober: add test and update → https://git.io/fjzj3
<hyper_ch> laalf: thx though
<laalf> hyper_ch: i work a lot with dell laptops. they are super reliable
<pie__> elvishjerricco, ping about fixing more zfs boot issues?
pie__ has left #nixos ["Leaving"]
<hyper_ch> laalf: might very well be but I need dual nvme
pie__ has joined #nixos
<laalf> hyper_ch: yep. the precision line of dell is rather empty . 3530 might be an option. i thnk it can take 2
<laalf> 15 inch
<hyper_ch> laalf: and can have 32gb ram good
<hyper_ch> but it's not nvme
<hyper_ch> 2x sata
<laalf> its 2x nvme. only 16gb ram though
<laalf> thats so 2012
<laalf> well my notebook is from 2012 and has 24gb ram
<laalf> german site offers dual nvme
<laalf> only 16gb ram
<hyper_ch> let me check the swiss site... the us one was delivered by google
<laalf> anyways good luck. thats was my 2cents
<laalf> we only manage about 1000 dell machines. someone with a bit more experience can come in and call dell crap now
mexisme has joined #nixos
<hyper_ch> too bad about the dell notebook with 16gb ram
<eyJhb> Are there any guides or examples of packaging a ruby gem?
<eyJhb> E.g. making this available - https://github.com/zed-0xff/zsteg
<laalf> yep. the 16gb ram limitations are rediculous and actually stop me from buying a latitude
lopsided98 has quit [Ping timeout: 248 seconds]
veske has joined #nixos
<hyper_ch> eyJhb: https://nixos.org/nixpkgs/manual/#sec-language-ruby maybe this helps
<pie__> clever, im starting to think i should just rebuild the broken stuff, not sure how to do it without loss though
<pie__> hm
lopsided98 has joined #nixos
* pie__ boots the livecf
Soo_Slow has quit [Ping timeout: 252 seconds]
<pie__> livecd
<pie__> clever, wonder if debug output from grub could be enabled by default in nix
o1lo01ol1o has quit [Remote host closed the connection]
<hyper_ch> laalf: with dell I do like those small usb-c docks
trfl has joined #nixos
o1lo01ol1o has joined #nixos
<eyJhb> hyper_ch no no no no
o1lo01ol1o has quit [Remote host closed the connection]
<eyJhb> Make sure what software they are using, or they are plug n' play
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
oborot has joined #nixos
<elvishjerricco> pie__: What’s up?
<pie__> elvishjerricco, renamed zpool and dataset, boot borked
<pie__> renamed back, boot still borked
<pie__> elvishjerricco, i get a shitty grub rescue prompt
<pie__> luks seems to be unlocked
o1lo01ol1o has joined #nixos
<pie__> (cryptodisk0)/@ has no datasets listed under it
<pie__> i can still import the dataset normally
<elvishjerricco> Oh. Huh, but you did get it booting before?
<pie__> yes
<{^_^}> [nixpkgs] @etu merged pull request #62796 → grim: 1.1 -> 1.2.0 → https://git.io/fjznS
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fjzjo
<pie__> i keep forgetting to say that but yes
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Remote host closed the connection]
<elvishjerricco> I’m not surprised that renaming the pool broke the boot, but I am surprised that renaming it back didn’t fix it
<pie__> exactly
<pie__> as for breaking on the rename, i think i forgot to do a rebuild switch after changing the config
<pie__> but maybe it would have broken anyway
<pie__> elvishjerricco, is it possible the "last accessed by" hostid thing prevents grub from importing it?
<pie__> (does grub even look at that??)
<elvishjerricco> pie__: I doubt it. Yea I think grub probably doesn’t even look at that.
<pie__> because i just imported it on the livecd and its telling me i need to use -f to import the pool (which is normal)
<pie__> ok
<pie__> so yeah thats the situation since yesterday and i have no idea how to fix or debug
<elvishjerricco> pie__: Just to be sure, make sure to export the pool properly in the livecd so there’s no host id associated with the pool
<pie__> guess i can try that
<{^_^}> [nixpkgs] @etu merged pull request #62799 → pyotherside: 1.5.5 -> 1.5.6 → https://git.io/fjznF
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fjzjP
<pie__> running strings on the bootx64.efi gives me (cryptouuid/*longthinghere*)/root@/boot/grub
<pie__> not really sure how that path works
<pie__> but presumably thats where its trying to load the next stage from
<pie__> root@ looks weird to me but i think its normal?
<pie__> ok ill try the export now
<elvishjerricco> pie__: Yea it’s normal.
<Izorkin> etu: please check PR #62783
<{^_^}> https://github.com/NixOS/nixpkgs/pull/62783 (by Izorkin, 2 days ago, open): php: update build config and php package
<pie__> elvishjerricco, how does that path work? or is there some expansion going on
<{^_^}> [nixpkgs] @etu merged pull request #62690 → shadowfox: 2.0.1 -> 2.2.0 → https://git.io/fjuEu
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fjzjX
<elvishjerricco> I’m not totally sure, but I think grub just represents ZFS datasets with disk@dataset
<pie__> elvishjerricco, oh my god who do i punch
<elvishjerricco> Lol this is why I want to make a Linux based boot loader :P
<pie__> clever, the problem was what the pool wouldnt get imported because i imported on a different machine with a hostid (???)
<elvishjerricco> Ouch
<pie__> elvishjerricco, can we confirm it actually is the hostid and not something else that the export from livecd fixed
<pie__> i guess i can set a hostid on the livecd
<elvishjerricco> Yea I never really liked the host id thing with ZFS. It seems superfluous to me.
<pie__> elvishjerricco, that sounds a bit strange with respect to the paths ive been seeing
Soo_Slow has joined #nixos
<pie__> elvishjerricco, knowing zfs, probably not superfluous, but ugh
<pie__> elvishjerricco,for example this might have to do with booting off san or ISCSI or somet of that crap i know nothing about
<elvishjerricco> Yea
<elvishjerricco> I think that’s the idea
<pie__> elvishjerricco, clever nevermind im an idiot im in the livecd bootloader
<elvishjerricco> lol
<elvishjerricco> So it still doesn’t boot after the proper export?
<pie__> testing now
<pie__> clever, elvishjerricco whew double false alarm, im in the right bootloader now
ambro718 has joined #nixos
<pie__> i cant actually see any mentions of "host" in the grub zfs source code though...
<etu> Izorkin: Yeah, it's in my list of PR's to check tonight
pacman99 has joined #nixos
o1lo01ol1o has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.3 - https://znc.in]
Izorkin has joined #nixos
imalison has joined #nixos
<pacman99> If I dont enable xserver my system just hangs at the last boot message and doesnt go into the login console. How do I get it to go to the login console?
<imalison> Is there an easy way to export the haddock docs generated by a haskell nix build together with all of the dependencies it might link to?
<imalison> i guess i just want nix-store --export
<imalison> ?
<pie__> elvishjerricco, any idea where hostid is even set
veske has quit [Quit: This computer has gone to sleep]
<elvishjerricco> pie__: What do you mean?
<pie__> whelp <DeHackEd> that's not how an export works. exporting eliminates the need for a hostid
<pie__> so still no idea what the hell broke
<pie__> elvishjerricco, i wanted to read the hostid out of the pool
<pie__> and or set it manually
<pie__> to test whether that was the problem
<eyJhb> pie__ is it your main system or your VM??
<pie__> eyJhb, migrating main system via VM
<eyJhb> Which of them can't boot?
<pie__> i booted a vm off an external disk, gonna try to sync my data and boot the real machine off the external disk
<eyJhb> Ahh
<pie__> after that works ill dd over the external data
<pie__> or at least thats the plan
<pie__> it boots now
<eyJhb> Yay :D
weedloser has quit [Ping timeout: 258 seconds]
<pie__> still not sure what the hell the problem was
<pie__> and that makes me unhappy
<eyJhb> There needs to be some magic in your life sometimes... ;)
<{^_^}> [nixpkgs] @steve-chavez opened pull request #62907 → pg-safeupdate: init at 1.2 → https://git.io/fjgeW
Matthieu` has joined #nixos
Matthieu_ has quit [Ping timeout: 248 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
timon37 has quit []
marusich has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62668 → pythonPackages.python-redis-lock: init at 3.3.1 → https://git.io/fjuCg
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjgew
peacememories has joined #nixos
Olgierd has joined #nixos
Olgierd has joined #nixos
Olgierd has quit [Changing host]
alp has quit [Ping timeout: 248 seconds]
ddellacosta has quit [Quit: WeeChat 2.2]
ym555 has joined #nixos
mexisme has quit [Ping timeout: 248 seconds]
<Profpatsch> peterhoeg[m]: hoi
<Profpatsch> I’m trying to install d1x-rebirth-full
emilsp has quit [Quit: be gentle, I'm learning]
<Profpatsch> But I can’t find the asset file on GOG
lempis has joined #nixos
<Profpatsch> GOG has 1.4a, but the d1x assets want 2.0.0.7
<m1crOman> Hi folks. I'm trying to add the 1.14.2 version to the minecraft-server package. I cloned repo and edited the module to add the version, but when I run nix-env to list the contents of my local repo it doesn't show that version. What else do I have to do? I assume there's a way to local test a package like this.
lempis is now known as emilsp
<Profpatsch> m1crOman: You have to change the hash of the source.
<Profpatsch> The name of the source is not relevant to nix, only the hash is.
<exarkun> Anyone have experience dealing with "[drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun" on nixos?
<Profpatsch> m1crOman: One simple way is to change one digit of the hash and trying to install, then it should show you the actual hash.
v88m has quit [Read error: Connection reset by peer]
v88m has joined #nixos
<m1crOman> Which hash are you referring to? The one in that module, under "sha256"?
<Profpatsch> m1crOman: exactly
Soo_Slow has quit [Remote host closed the connection]
<Profpatsch> That’s the contents of the files nix should download. If the hash is the same as one it already has, nix doesn’t try to download anything
<Profpatsch> So if you keep the hash of the files of the old version, nix happily uses the old files.
<Profpatsch> It’s content-addressed
<pie__> clever, finally managed to unmount the luks, i think i had a bash open somewhere maybe
<m1crOman> Yeah ok so I did that - maybe I should commit to a fork and let you see it http://u.m1cr0man.com/sd/wpo the hash matches that of the jar file.
<clever> pie__: lsof should show working dirs
<pie__> clever, true
<pie__> clever, dunno then
<pie__> just did cryptsetup close and it worked i think
<clever> pie__: and bash would be holding an FS open, so it would have shown in mount
<pie__> hm.
<Profpatsch> how the heck did you answer pie__ in less than 10s?
<Profpatsch> As if you waited for pie__ to write sth :)
<clever> Profpatsch: fast typer
<pie__> Profpatsch, 30 seconds for me
<clever> 2019-06-09 17:21:53 < pie__> clever, finally managed to unmount the luks, i think i had a bash open somewhere maybe
<clever> 2019-06-09 17:22:03 < clever> pie__: lsof should show working dirs
<clever> exactly 10 seconds on this end
<pie__> oh damn
<pie__> wiat no same im dumb
<Profpatsch> clever: Yeah, but you have to read and parse the sentence as well in that timea
<Profpatsch> And think about what you want to answer.
<clever> Profpatsch: and also remember the context from hours ago, and i have slept since then, lol
<Profpatsch> Ah, okay :)
<clever> my brain is just weird
<pie__> Profpatsch, its a lie he went back and reread the context in 10 seconds too
<Profpatsch> m1crOman: Ah, my bad then
<Profpatsch> m1crOman: Usually people forget to change the hash, but in your case you added a whole clause
<Profpatsch> m
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<m1crOman> I'm using this command to check it: `nix-env -f $NIXPKGS -qaP '*' | grep -i minecraft`
<m1crOman> uh just realized I don't need that grep haha
<clever> m1crOman: nix-build $NIXPKGS -A minecraft
<clever> no need to search when the name is known
<Profpatsch> yeah, try to nix-build instead
<Profpatsch> nix-env has a lot of things that can go wrong, depending on your system’s state
<Profpatsch> nix-build is deterministic
<clever> baring config.nix and overlays
<Profpatsch> don’t remind me
<clever> nix-build $NIXPKGS -A minecraft --arg config '{}' --arg overlays '[]'
<clever> that will disable both
* Profpatsch does the evil-eye protection gesture
o1lo01ol1o has quit [Remote host closed the connection]
<Profpatsch> it just wtfed hard
<{^_^}> [nixpkgs] @ryantm merged pull request #62568 → shc: 4.0.1 -> 4.0.2 → https://git.io/fjE1M
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjgvZ
<Profpatsch> WikiHow is an art project, is it not
<clever> lol
<{^_^}> [nixpkgs] @ryantm merged pull request #62491 → osl: 1.10.4 -> 1.10.5 → https://git.io/fjEzg
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjgvc
<m1crOman> clever, I ran that, it seems to have built 1.14 rather than 1.14.2 XD
alp has joined #nixos
<m1crOman> trying version explicitly, it says not found
<gchristensen> enjoy, Profpatsch https://www.wikihow.com/Destroy-a-Hard-Drive
<clever> m1crOman: what changes did you do to nixpkgs?
<m1crOman> just the above one in my link - I edited the minecraft-server module
<clever> i think you want -A minecraft-server_1_14_2
<clever> > minecraft-server_1_14
<{^_^}> "<derivation /nix/store/i9dq8irw13ciw7niq1lq14h5gbx601x4-minecraft-server-1.14.drv>"
<clever> /home/clever/apps/nixpkgs/pkgs/top-level/all-packages.nix- inherit (callPackages ../games/minecraft-server { })
<clever> /home/clever/apps/nixpkgs/pkgs/top-level/all-packages.nix: minecraft-server_1_14
<clever> m1crOman: you also need to add the version here
<m1crOman> oh :O
<pie__> fml did i forget to rebuild switch again or does it not reinstall grub
<m1crOman> I think that did it clever haha
<clever> pie__: nixos will reinstall grub if any variable in /boot/grub/state doesnt match up
<m1crOman> that looks like sth special to the mc package am I right?
<clever> pie__: --install-bootloader will force it to
<PyroLagus> 'Co-authored by wikiHow Staff' well
<clever> m1crOman: special to any default.nix that returns multiple packages
<pie__> clever, i can just nixos-enter into a mount or something right
<clever> pie__: yeah, and nixos-rebuild boot --install-bootloader
<m1crOman> clever, right! Thanks I'll keep that in mind for future reference. I guess I should actually create a PR for this, no harm.
<Profpatsch> gchristensen: Wow, this one’s exhaustive.
<gchristensen> very thorough
<clever> pie__: if you `exit` at the grub command line, it will signal to the bios that the boot has failed on this device, and the bios will just move on to the next entry in the boot order
<clever> pie__: so you could add a "try next bios entry" option to the grub menu
emilsp has quit [Quit: be gentle, I'm learning]
emilsp has joined #nixos
<{^_^}> [nixpkgs] @ivan opened pull request #62909 → grab-site: 2.1.15 -> 2.1.16 → https://git.io/fjgv5
<pie__> clever, huh.
<clever> pie__: the bootloader will `int 0x18` to signal that the boot failed, i believe
<clever> and the bios will then try the next boot device in your config
<pie__> meanwhile im hoping this rebuild boot didnt brick my loader, even though i know it shouldnt have
<pie__> freaks me out every time
<pie__> should have probably just run it in the vm
<pie__> looks like it worked though
<clever> my NAS (with multiple tb of storage) still has /boot on a 64mb usb stick, lol
<pie__> clever, random sidenote, i googled on how to organize my zfs stuff and found an article saying i should use a globally unique root per thing...probably saved my butt a few times already
<pie__> its unnerving to think about what if i didnt do this so early lol
<clever> i set the pool name to the hostname
<clever> so i dont get dups when im recovering the drive in another box
<pie__> sure, im just using some counter
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pie__> woohoo boots
o1lo01ol1o has joined #nixos
fendor has quit [Quit: Leaving]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
freeman42y has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
steve-chavez has quit [Quit: #haskell]
xkapastel has quit [Quit: Connection closed for inactivity]
<clever> pie__: i used lz4, oops!
<pie__> whups
mexisme has joined #nixos
<aristid> clever: every mention of lz4 gives me warm fuzzy feelings
<aristid> followed by rage thinking about gzip's continuing popularity
<clever> reinstalling without lz4
pacman99 has quit [Quit: Konversation terminated!]
<aristid> oh no!
zupo has joined #nixos
<clever> aristid: its just a VM, whose entire purpose is to test the install script
<aristid> clever: hmm OK
<aristid> clever: maybe i can allow this
<clever> but strangely, grub does have lz4 support, since at least 2016
Fzer0 has joined #nixos
<clever> it said 69, so that was the %u on 1885, not the %s on 1889
<clever> so it was going to index 69 in this array
<clever> which only has index 0-15!
<clever> the zfs source agrees that only 0-15 are valid compression types, wut?
clacke_movim has left #nixos [#nixos]
shibboleth has quit [Quit: shibboleth]
clacke_movim has joined #nixos
goibhniu1 has joined #nixos
<clever> pie__: ah yeah, grub can read a file with a given name, but cant actually list the contents of a directory, lol
<{^_^}> [nixpkgs] @dywedir opened pull request #62910 → synapse-bt: unstable-2019-05-26 -> 1.0 → https://git.io/fjgfC
<clever> pie__: weird, reading the grub config, it looks like i want (hd0,gpt3)/root/@/boot/
peacememories has quit [Quit: Textual IRC Client: www.textualapp.com]
<clever> yeah, (hd0,gpt3)/root/@/boot/ exists, but spews 4 errors
knupfer has joined #nixos
<clever> and the more obvious (hd0,gpt3)/root/boot/ doesnt exist
<clever> it must be using @ to clearly seperate dataset path from fs path
<{^_^}> [nixpkgs] @Ma27 opened pull request #62911 → mautrix-whatsapp: 2019-02-24 -> 2019-06-01 → https://git.io/fjgf8
<clever> and (hd0,gpt3)/@/ is just the root of the dataset
o1lo01ol1o has joined #nixos
<pie__> clever, pats are weird and f* knows how grub is sposed to work
<mac10688> i've been setting stuff as root and I'm trying to get a proper user setup. When i change the password for the user everything is fine but when I reboot, it doesn't work anymore. How can I make the changed password persist between boots?
<PyroLagus> F* is pretty cool, but i don't think it knows how grub works
<clever> mac10688: is /boot correctly mounted when you run nixos-rebuild switch?
alp has quit [Ping timeout: 272 seconds]
<pie__> PyroLagus, to be read as f***
<PyroLagus> :D
<{^_^}> [nixpkgs] @jtojnar closed pull request #62898 → dconf: disable tests on armv7l → https://git.io/fjzAQ
<mac10688> clever: I think so. Everything has been booting up right for a while now. But I haven't been using nixos-rebuild switch after i change password. I use command line `passwd <username>`
<{^_^}> [nixpkgs] @ivan opened pull request #62912 → bcc: 0.9.0 -> 0.10.0 → https://git.io/fjgfu
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<gyroninja> is there any documentation anywhere on how to make your own channel?
<m1crOman> Hey me again. Totally different question. Would there be much point to installing NixOS on a bootable USB key, and reserving the internal disks for the store + general storage on ZFS? This is for a server deployment. I'm wondering if this is supported too.
<clever> gyroninja: just make an http server that contains 2 files, nixexprs.tar.xz and binary-cache-url
<gyroninja> Yeah, but what goes in nixexprs.tar.xz?
<clever> gyroninja: all of your nix files
<gyroninja> Should they be in a folder?
<clever> gyroninja: dont think they need to be
<gyroninja> And then how would you go about installing a package from it
<gyroninja> Would it require a custom config.nix?
<clever> gyroninja: nix-env -iA foo.hello will search for a channel called foo
<clever> and then load the default.nix in that channel, and expect it to return an attrset containing hello=
mexisme has quit [Ping timeout: 258 seconds]
arahael1 has quit [Ping timeout: 246 seconds]
rfold has joined #nixos
<Matthieu`> Hi, how are managed preferences in nixos, like default editor, default media player and so on ?
<clever> Matthieu`: for console texit editors, you can set the env var EDITOR easily
<clever> that sets the variable, and sets up some aliases so vi maps to vim
arahael1 has joined #nixos
<PyroLagus> those are usually per-user, no? xdg-settings
<gyroninja> clever: So in your default.nix you could have "{ hello = import ./hello/default.nix; world = import ./world/default.nix; }"?
tsrt^ has quit [Ping timeout: 248 seconds]
<gyroninja> Though I assume you could write some nix to automate that
<clever> gyroninja: yeah, but you usually want to load <nixpkgs> once and pass it to both of them
<gyroninja> with callpkg?
<clever> gyroninja: yep
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
<gyroninja> *callPackage
<clever> PyroLagus: most of my machines are single-user, so i just set it system-wide
<gyroninja> okay thanks
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
<PyroLagus> clever: fair, but is there a way to set xdg settings as root?
tsrt^ has joined #nixos
<clever> PyroLagus: not sure, havent really looked into it
<Matthieu`> clever: yes, I know that, and for other file types ?
<Matthieu`> I was using galternatives on debian
<clever> Matthieu`: i typically just dont install duplicate tools, so there is only one choice for most file types
<PyroLagus> also xdg-mime obviously
<Matthieu`> well
<Matthieu`> A typical example
<Matthieu`> I want to open a pdf
<Matthieu`> I have zathura installed
<Matthieu`> default app : libreoffice
<clever> i just run evince directly on the pdf file
<clever> i dont really use the gui file browser much
<Matthieu`> I press enter in mc (depending on the cases)
<mac10688> clever: i guess that was it. after running `passwd <user>` and nixos-rebuild switch it worked. I didn't know i would have to rebuild for it to work
<clever> mac10688: it normally shouldnt
<clever> mac10688: if you reboot, does the user still exist in /etc/passwd ?
<mac10688> i don't know. i just rebooted and it worked fine though. The password persisted and everything
<mac10688> that's good enough for me
o1lo01ol1o has joined #nixos
<PyroLagus> xdg-mime default zathura application/pdf
arahael1 has quit [Ping timeout: 248 seconds]
<PyroLagus> eh, zathura.desktop
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62842 → lkl: fix cross → https://git.io/fjzo6
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjgfK
<clever> PyroLagus: you could probably make a systemd one-shot service to just run that on bootup
<PyroLagus> yeah
<PyroLagus> hook it into the dm or whatever
<m1crOman> actually based on the docs it looks like it would be safer and easier to run nixos without ZFS on a memory key. Is it possible to then put the nix store on a different device?
<clever> PyroLagus: session commands are ran before starting the full DM
arahael1 has joined #nixos
<clever> in this example, i have an exec at the end, so i hijacked the script and the real DM never launches
mexisme has joined #nixos
<clever> m1crOman: you can put /nix on any device you want, as long as its present when booting
<m1crOman> interesting ok :)
o1lo01ol1o has quit [Remote host closed the connection]
<PyroLagus> ah yes, that would be the ideal way to do it
<clever> m1crOman: nixos-generate-config will create the right setup in hardware-configuration.nix
o1lo01ol1o has joined #nixos
<clever> m1crOman: my nas just has /nix/store in the same zfs pool as everything else
<clever> m1crOman: and most of my other machines have a tank/nix dataset for /nix
<m1crOman> yeah that's exactly what I want to do :) and do you have the actual OS on a different media?
o1lo01ol1o has quit [Remote host closed the connection]
<clever> m1crOman: all on the same raidz1 array
<PyroLagus> you could either call xdg-mime a bunch of times or write ~/.config/mimeapps.list manually
<clever> m1crOman: currently, the only thing not in the raidz1, is the /boot partition, because i didnt want to mismatch the partition sizes and waste space
<clever> m1crOman: thats plain ext4, on a 64mb usb stick from over a decade ago, lol
<m1crOman> That makes sense yea. I could do the same.
<clever> m1crOman: i have since added an nvme device to the nas, and am considering making it handle /boot duties
<clever> but id need to check if the firmware supports that
<m1crOman> yeah that might be an issue
<clever> my laptop boots with only an nvme
<clever> my desktop has the rootfs on nvme, with /boot on spinning rust
<PyroLagus> since nix actually has an ini generator, you could go crazy and define it as a set, generate ini in store, and then symlink on WM start if not exists
<clever> i currently dont trust grub with /boot on zfs, and my testing in a VM today shows it to be very buggy
<clever> so i always go with an ext4 /boot
<clever> PyroLagus: yep
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62784 → Emacs packages update: 2019-06-06 → https://git.io/fjzGZ
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/fjgf9
<clever> PyroLagus: but then editing it may fail at runtime, maybe copy over it? but then all changes are undone at reboot
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62740 → pythonPackages.spglib: add patch fixing darwin/py27 build → https://git.io/fjudP
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjgfH
<m1crOman> Yeah I don't trust ZFS for boot at all, hence why I'm doing all this
<clever> m1crOman: ive got this script to automate the entire zfs install, it compiles down to a bash script in PATH called justdoit
<PyroLagus> clever: right, that'd only be useful if you want to specify it purely declaratively
<clever> so you simply boot the installer, and type in `justdoit`, and your done, lol
<m1crOman> lol that's class
tsrt^ has quit []
<clever> m1crOman: it currently doesnt support raid though, only single-device setups
<PyroLagus> next-level thinking would be shadowing xdg-mime with a binary that edits the nix expression
<clever> m1crOman: but you are free to edit line 94 before building the installer image
<clever> m1crOman: the only pain point, is that the script is baked into the installed image, and you have to make a new installer for every test
<m1crOman> Yeah I think I will haha. This is very nice
<clever> installer image*
<m1crOman> well I'm hoping for a one shot wonder here ;) installing it onto a Hetzner box
<clever> m1crOman: i had originally written this for installing nixos on remote boxes you lack access to
<clever> so you can boot into any linux rescue shell, upload a tar, kexec into the installer, and then justdoit
<clever> and the automation prevents mistakes
arahael1 has quit [Ping timeout: 245 seconds]
toppler has quit [Ping timeout: 246 seconds]
abaiste^ has joined #nixos
<pie__> so in theory after this sync i should be able to just rebuild switch and boot into the other dataset i just synced
<pie__> clever, ever thought of / seen something to make grub use a previous nixos config if boot failed
<pie__> random quesion
<clever> pie__: ive thought of that, and there is some support for it in grub
<clever> pie__: the loadenv part in the cfg
juliusdeane has joined #nixos
<clever> pie__: read the first 20 lines of grub.cfg
imalison has quit [Ping timeout: 248 seconds]
<pie__> loadenv is just an empty file for me
rfold has quit [Ping timeout: 245 seconds]
<clever> basically, in each menu entry, ou want to mess with the default boot entry
<clever> so when you boot it, it changes the default, and saves it to the grubenv file
__monty__ has quit [Quit: leaving]
<clever> and then if boot sucessfully finishes, it undoes that
<pie__> i was thiking kind of in the other direction, change something if it fails - so if your boot doesnt work anymore for some reason it can retry older boots
<pie__> though i guess a working boot shouldnt normall start failing
arahael1 has joined #nixos
<pie__> and automatically reverting might cause other problems
<clever> its hard to react to something failing like that
<samueldr> and when it fails to boot, how do you manipulate it to boot?
<clever> samueldr: exactly
<pie__> samueldr, oh right good point
Cale has quit [Ping timeout: 248 seconds]
<clever> its much simpler to change the default right as you choose the current option
<samueldr> btw, fedora has a feature relevant
<clever> and then when it successfully boots, undo that
<pie__> watchdog in the first possible stage?
<pie__> (would have to do something about not losing error messages though)
<clever> pie__: it may be broken too badly to be able to safely edit /boot/
<pie__> right
<clever> also, /boot cant be on zfs when doing this
<clever> since grub lacks zfs write support
<pie__> i dont think this is reasonably posible, but thought i might as well ask
<samueldr> I think I was misremembering or it was another article
toppler has joined #nixos
<samueldr> but grub does apparently have a boot_success flag
mac10688 has quit [Ping timeout: 256 seconds]
<juliusdeane> How are bitmap fonts installed on nixOS?
<juliusdeane> I'm trying into install a big repo of bitmap fonts but the instructions are for debian-like systems with a /usr/share/fonts directory
<{^_^}> [nixpkgs] @Ma27 merged pull request #62821 → jgmenu: 1.1 -> 3.0 → https://git.io/fjzB9
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjgfp
<m1crOman> clever, Just gone down a rabbit hole here and discovered the NixOps hetzner support. Now I've never used nixops, but is there any reason I wouldn't use that?
Lears has joined #nixos
<clever> m1crOman: nixops also makes managing remote servers a lot simpler
[Leary] has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #62909 → grab-site: 2.1.15 -> 2.1.16 → https://git.io/fjgv5
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjgfj
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
juliusdeane has quit [Read error: Connection reset by peer]
oborot has quit [Ping timeout: 246 seconds]
wfranzini has quit [Remote host closed the connection]
jackdk has joined #nixos
wfranzini has joined #nixos
mac10688 has joined #nixos
<pie__> doh, im an idiot, clever :D
<pie__> i did the rebuild switch and then switched the mount settings for zfs to the new migrated fs
<m1crOman> clever, Ah I meant more in the sense as why not use it for deployment - but I think from researching more it doesn't support zfs right?
<pie__> of course on reboot the bootloader is now looking for things in the nix store that dont exist in that dataset
<clever> m1crOman: nixops doesnt support using zfs at install time, but if you have an existing install on zfs, and use the "none" backend, you can just shove all the zfs config into your nixops files
<pie__> ah! but rollbacks work at this point!
<clever> m1crOman: i'm managing my nas like that
<m1crOman> Yeah that all makes sense now :) Thanks a mil for answering all my questions ;D
<clever> m1crOman: nixops doesnt know about the remote config, so you have to copy the remote hardware-configuation.nix and configuration.nix over, and merge them all into your nixops files
mexisme has quit [Quit: WeeChat 2.4]
<m1crOman> Right! I see
o1lo01ol1o has joined #nixos
lambda-11235 has joined #nixos
civodul has quit [Ping timeout: 258 seconds]
<mac10688> quit
<mac10688> sorry
mac10688 has quit [Quit: WeeChat 2.4]
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #62627 → strategies: init at 0.2.3 → https://git.io/fjEp7
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjgJO
arahael1 has quit [Ping timeout: 248 seconds]
arahael2 has joined #nixos
mac10688 has joined #nixos
ambro718 has quit [Ping timeout: 252 seconds]
ryantrinkle has quit [Ping timeout: 248 seconds]
o1lo01ol1o has joined #nixos
ryantrinkle has joined #nixos
dansho has joined #nixos
ym555 has quit [Ping timeout: 272 seconds]
Matthieu` has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Ping timeout: 272 seconds]
m0rphism has quit [Ping timeout: 258 seconds]
selfsymmetric-mu has joined #nixos
<mac10688> So to get packages with nix, I've been editing the configuration file and rebuilding. Is there another way?
<PyroLagus> nix-env -i
<clever> mac10688: thats the way i prefer doing it, so you can just save the config file and get everything back in an instant later on
<mac10688> ty both
<selfsymmetric-mu> Yeah, that's the only way I do it. Declarative configuration FTW. Otherwise it feels like I'm back in Arch using pacman.
<PyroLagus> you can also do declarative per-user package management with overlays https://gist.github.com/LnL7/570349866bb69467d0caf5cb175faa74
arahael2 has quit [Ping timeout: 252 seconds]
arahael2 has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #62902 → systemd-networkd: Only generate [Match] if present → https://git.io/fjzhg
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fjgJ8
goibhniu1 has quit [Ping timeout: 245 seconds]
<mac10688> I want to download xmobar and when i search online for nixos packages, it has an attribute name of haskellPackages.xmobar. Do I type out all of that to install xmobar or is something else going on? It feels like it might go somewhere else in the config file.
karetsu has joined #nixos
<mac10688> i've been getting packages and putting everything in environment.systemPackages
schjetne has quit [Ping timeout: 258 seconds]
<clever> mac10688: yeah, just put haskellPackages.xmobar into the systemPackages
<mac10688> ok cool. I wonder why it has such a weird attribute name compared to the others
arahael2 has quit [Ping timeout: 272 seconds]
ericsagnes has joined #nixos
arahael2 has joined #nixos
<karetsu> I seem to have messed something up getting xmonad working, I can't compile my xmonad.hs -- do I have to set it up with a shell.nix/cabal?
<clever> karetsu: you must install xmonad by enabling it here, that will configure xmonad to be able to find XMonad.hs
<karetsu> https://github.com/karetsu/nixOS-configuration/blob/master/services.nix <-- I have enable and enableContribAndExtras
<clever> karetsu: how are you trying to compile xmonad?
<karetsu> but xmonad --recompile cannot find XMonad
<clever> karetsu: what does `type xmonad` return?
<karetsu> xmonad is /run/current-system/sw/bin/xmonad
<clever> karetsu: is xmonad in your systemPackages?
o1lo01ol1o has joined #nixos
<karetsu> https://github.com/karetsu/nixOS-configuration/ <-- I added it to my overlay here (the readme is about 3 generations out of date)
<karetsu> so xmonad is in my nix-env as well as current-system I guess?
<clever> karetsu: its not in nix-env, that would have shown ~/.nix-profile from `type`
<clever> karetsu: is /run/current-system/sw/bin/xmonad a shell script?
<karetsu> yeah
<clever> karetsu: what is it doing?
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
<karetsu> exporting NIX_GHC, XMONAD_XMESSAGE and exec <store>bin/xmonad
<clever> karetsu: and then NIX_GHC should be a shell script that changes the package-db path?
m0rphism has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<karetsu> it defines NIX_{GHC,GHCPKG,GHC_DOCDIR,LIBDIR} and then execs <store>/bin/ghc
<clever> yeah, GHCPKG is doing it
<karetsu> which would be the 'real' ghc
<clever> that should just work
<karetsu> I'm getting all sorts of cannot find XMonad.EverythingEver and I'm loathe to use cabal v1-install
<clever> cabal install wont really help either
<karetsu> it will if I set it up local to xmonad.hs and make some default.nix and shell.nix
<karetsu> but that's a job for tomorrow I guess
<karetsu> 00h30 and brain has finally turned to mush, thanks for the help :)
<clever> karetsu: i notice you you also have plex enabled, one min
<karetsu> kk
<clever> karetsu: i'm running this on a dedicated machine, hooked up to my tv
<clever> karetsu: the --tv --fullscreen, makes it behave like the plex app on a lot of embedded devices
<clever> and it runs that on bootup, without any login prompt
<clever> so you can just set-it, and forget-it
<lambda-11235> Anyone else having trouble updating unstable's libreoffice-fresh? When compiling it can't seem to find mysql.h.
<karetsu> oh nice, this PC is my main work PC so I usually just have some stuff on in the background - but I have another one I can do that to, my child will thank you :D
<clever> karetsu: you can also install the same package and just run it without those flags, to get a windows native player
<karetsu> clever: you have a *lot* of config files :o
<clever> windowed*
<karetsu> stealing that then
<karetsu> tyvm
<karetsu> I've only been using nix and nixOS for 2 weeks so trying to get to grips with everything, I have a feeling your repo is going to inform a lot of mine
m0rphism has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @joachifm pushed commit from @kmein to release-19.03 « maintainers: add kmein »: https://git.io/fjgJ1
knupfer has quit [Ping timeout: 248 seconds]
rprije has joined #nixos
karetsu has quit [Quit: WeeChat 2.4]
arahael2 has quit [Ping timeout: 248 seconds]
mbrgm_ has joined #nixos
arahael2 has joined #nixos
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm_ is now known as mbrgm
<pie__> joepie91, clever im opening more half-thought out github issues https://github.com/NixOS/nixpkgs/issues/62913
<{^_^}> #62913 (by deliciouslytyped, 26 seconds ago, open): Write a guide for debugging (not even WIP)
thc202 has quit [Ping timeout: 248 seconds]
Miyu-saki has joined #nixos
neeasade has joined #nixos
<pie__> clever, anything going to break horribly if i symlink my home directory
<pie__> it *seems* to run ok
ris has quit [Ping timeout: 260 seconds]
<clever> pie__: i would just set home= right in configuration.nix
<pie__> makes more sense >_>
<pie__> clever, presumably tihngs arent hardcoding home directory paths P
<pie__> * :P