<iqubic>
How hard is it to switch from Gentoo to Nixos? And is it worth making the switch?
<hyper_ch>
never used gentoo
<iqubic>
Is running Nixos worth switching to?
<hyper_ch>
depends on how you measure the "worth"
<iqubic>
What benefits does NixOS have that other OSes don't
<iqubic>
And how hard is the nixos install?
<hyper_ch>
it's pretty robust
<hyper_ch>
harder to install than ubuntu
<iqubic>
I have installed Arch several dozen times.
<equalunique[m]>
iqubic: Nixos install is pretty easy if you just follow the basic steps in the manual
<equalunique[m]>
iqubic: easier than Arch
<iqubic>
equalunique[m]: How hard is it to switch from a distro like arch, to nixos?
<iqubic>
Because I'd want to keep all my configuration files and such.
<hyper_ch>
never used arch
<hyper_ch>
user config or system configs?
<iqubic>
user configs.
<hyper_ch>
those are no issues
<equalunique[m]>
iqubic: user configuration files shouldn't be difficult, but OS configuration would all have to be re-done in nix
<iqubic>
I have like a dozen or so dot files that I want to save.
<iqubic>
equalunique[m]: I know that I'd have to learn nix.
<hyper_ch>
only thing is, unlike debian etc. the default group for a new user on the system is "users".... on debina, ubuntu etc it's usually username:username$
<hyper_ch>
everything else from the user config should work ootb I think
oida has joined #nixos
<iqubic>
Also, I'd want to keep my Windows10 Dual boot setup around.
<iqubic>
hyper_ch: I have no idea why the default group would matter at all.
<hyper_ch>
just saying
<hyper_ch>
on debian and debian-based systems it's username:username
<hyper_ch>
not so on nixos
<hyper_ch>
no idea on other systems
<iqubic>
I don't have any reason to care about that.
oida_ has quit [(Ping timeout: 246 seconds)]
<hyper_ch>
why not just set it up in a vm at first?
nslqqq has joined #nixos
<MP2E>
I used arch for a long time, gentoo for about a year or so, then moved to nixos and have been here ever since. What I find great about NixOS is that you can interrupt a system rebuild at almost any point without breaking things. The rollback feature is also very useful. And finally, I just like packaging better with the Nix language than with PKGBUILD or other solutions.
<MP2E>
in terms of ease of use, I think it falls behind, because in practice, you're going to have to dig through nixpkgs a fair bit to get things done
<hyper_ch>
no, "or other solutions." was the last thing you said :)
<MP2E>
ah nice! it didn't then
<MP2E>
thanks
<MP2E>
but in reality for me all this means is running ripgrep every once and a while
<MP2E>
figuring out the flag i need, adding it ot a config
<MP2E>
usually pretty easy
<hyper_ch>
(except when they break something with a new release)
<MP2E>
haha yeah.. but then you can just rollback til the problem is figured out
<MP2E>
provided you didn't jump the gun and run the garbage collector anyway
<MP2E>
i've done that before :P
<hyper_ch>
I don't run garbage collector... I run my clean script :)
<iqubic>
MP2E: How hard was it to switch from gentoo to nixos?
<MP2E>
haha neat! that's convenient. I find myself forgetting the flags I need for the gc sometimes
<hyper_ch>
I just run that out of lazyness when a generation has worked well for some time :)
<MP2E>
at first pretty hard. it's a bit strange at first, configuring almost your entire system through a configuration file, I kept trying to reach for the application specific ways of doing things.
<hyper_ch>
(also I'm constantly low on diskspace... updated my 500GB ssd to 1 TB in may but now I'm almost out of diskspace again)
<MP2E>
I think it was definitely worth it though and I was at a pretty profient level about 2 weeks in or so
<MP2E>
proficient*
<iqubic>
MP2E: I'm more wondering about how hard it was to get the initial system up and running.
<hyper_ch>
a basic system with a DE?
<hyper_ch>
not very hard
<MP2E>
yeah not very hard.
<hyper_ch>
you use a DE or just WM?
<iqubic>
I use the XMonad WM
<hyper_ch>
you could always upgrade to KDE ;)
ryantrinkle has joined #nixos
<iqubic>
Does Nixos use rc files to configure each application, or no?
<hyper_ch>
shouldn't be too hard to get that running though
<MP2E>
i'm running xmonad here, not too bad to use. just enable it, put your config in ~/.xmonad/ as usual, and make a .xsession file that ends with 'exec xmonad'
<iqubic>
So does nixos let each application use their own .foorc file, or is it all done from a centralized place?
<MP2E>
for system level configuration you want to use /etc/nixos/configuration.nix for all programs
<MP2E>
generally speaking if there isn't an option you want there's usually an additional option that lets you append exactly the text you want to the config upon running nixos-rebuild again
<hyper_ch>
I put eveything into the configuration.nix
<iqubic>
How does that differ from something like .vimrc
<tilpner>
hyper_ch - Are you running your clean script as root?
<MP2E>
can still use a regular .vimrc file for that, too.
<hyper_ch>
tilpner: yes, why?
<MP2E>
for the example of .vimrc
<hyper_ch>
tilpner: it will clean out all generations but the current/last one
<iqubic>
I'm not sure I understand the differnce between configuration.nix and .vimrc
<MP2E>
in general, if the configuration occurs in the users home folder, you can just use application specific config files, but if it involves anything else, you'll probably want to use your configuration.nix file
<tilpner>
hyper_ch - If you didn't, it wouldn't clean everything. And that would give you more disk space
<tilpner>
hyper_ch - Have you looked at the automatic gc and decided it wasn't suitable?
<hyper_ch>
tilpner: yes
S0rin has joined #nixos
ixxie has joined #nixos
<hyper_ch>
iqubic: configuration.nix is to configure the system... not user specific stuff (except the users, their passwords, groups)
<tilpner>
Huh, okay
<hyper_ch>
tilpner: why do you ask?
<tilpner>
I don't see what your clean script does more than the automatic gc, except giving you control over when it runs
<tilpner>
(And I used the gc without root for a while and wanted to make sure you didn't make the same mistake)
<iqubic>
Does nixos require you to have a seperate root and home partition?
proteusguy has joined #nixos
<etu>
iqubic: no
<iqubic>
So I can partition my drive however I want?
pxc1 has quit [(Quit: WeeChat 1.9)]
<etu>
Mostly, what will limit you the most is the boot related stuff depending on UEFI or not and likes, but that's not unique for nixos
<iqubic>
I see.
<iqubic>
What I need to do is copy over my current /home, and then install nixos, then learn how to use nixos.
<iqubic>
copy over to another machine I mean.
xd1le has joined #nixos
koserge has joined #nixos
orivej has quit [(Ping timeout: 240 seconds)]
orivej has joined #nixos
rauno has joined #nixos
jensens has joined #nixos
akaWolf has joined #nixos
ixxie has quit [(Quit: Lost terminal)]
koserge has quit [(Ping timeout: 246 seconds)]
<richierich_>
Hi all, I'm new to NixOS and just new to diving this deep into how all the pieces of Linux fit together to give you a workspace (in the past I've only used distros that handle most of it for you -- like Ubuntu and Debian). I figure diving into NixOS is a good way and having to declare everything by myself from scratch is a good way to learn these things. Right now, I'm struggling with understanding window/desktop/tiling managers, and I'm making the
<richierich_>
(probably crazy) attempt at trying to do Xmonad+XFCE+NixOS config (despite never having used any of the three). Could someone help guide this noob through the motions?
jensens has quit [(Ping timeout: 240 seconds)]
<hyper_ch>
I could help with kde... never used xmonad.... been a long time since I used xfce
endformationage has quit [(Quit: WeeChat 1.9)]
nslqqq has quit [(Ping timeout: 260 seconds)]
<richierich_>
hyper_ch: used kde before, but trying to go for a cleaner, more minimalist environment this time around. But could you maybe help explain how the organization/structure of display/window/desktop managers? I'm having difficulty seeing how they fit together in general...
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 1 new commit to release-17.09: https://git.io/vdYwb
<tilpner>
richierich_ - I have not used xmonad with NixOS, and never used XFCE, but from a quick search you want to services.xserver.desktopManager.xfce.enableXfwm = false; and either hope enabling xmonad starts it automatically or launch it from services.xserver.desktopManager.xfce.extraSessionCommands
<hyper_ch>
that's how I setup x11 nd kde/sddm
<hyper_ch>
you'd just need to adjust that for what you need
<tilpner>
hyper_ch - Why "{mySecrets.user}" instead of mySecrets.user?
<MP2E>
richierich_ : haven't tested it but this should be all you need for your /etc/nixos/configuration.nix http://lpaste.net/358765
<richierich_>
tilpner: I've googled a few configs that have xfce and/or xmonad, but the thing is I want to understand how the pieces fit together rather than just copy the line and hope it works
<hyper_ch>
for the same reasony what ${var}iable isn't the same as $variable
<MP2E>
however in addition to that you'll likely need some things added to your ~/.xmonad/xmonad.hs to get xmonad to play nice with xfce
<MP2E>
and i don't really know about that
<MichaelRaskin>
5B
<hyper_ch>
tilpner: for the same reasony what ${var}iable isn't the same as $variable
<tilpner>
Well, yes, $variable isn't a thing at all
<MP2E>
basically the config I sent tells Nix that you want XFCE but you want to disable the regular window manager. Then we set the default window manager to xmonad, and make sure that when xfce starts, it runs xmonad.
<MP2E>
As for the pieces fitting together, that would be in the xmonad contrib documentation most likely
<MP2E>
whichever module has functions for xfce integration
<richierich_>
MP2E: thank you for the explanation! So I see how you disable the WM-aspect to xfce and force it to use xmonad instead. Any chance you could explain how the display manager fits into all of this (since XFCE is a...desktop manager I think?)
phreedom has quit [(Ping timeout: 246 seconds)]
<MP2E>
displayManagers are typically used to handle login, for instance, slim would be an example(and is actually the default)
ebzzry_ has quit [(Ping timeout: 240 seconds)]
<hyper_ch>
and what's the difference between a desktop environment and a window manager?
athan has joined #nixos
<etu>
hyper_ch: A DE usually handles panels, maybe icons on the desktop, maybe widgets and so on. A WM just handles the windows and maybe window decorations.
<MP2E>
a desktop environment is a window manager and a bunch of other programs bundled together, basically.
<MP2E>
if we take a look at how the option for xfce is implemented
<MP2E>
it basically enables a few options for us, brings in a bunch of xfce packages into the systemenvironment
<MP2E>
and sets the services.xserver.desktopManager.session value to a string that starts xfce on login
koserge has quit [(Ping timeout: 260 seconds)]
numerobis has joined #nixos
<woffs>
It seems to me that buildPythonApplication is broken. Every package based on it is getting "error: while evaluating the attribute ‘buildInputs’"
<woffs>
can someone confirm or disprove that?
<woffs>
e.g. "nix-build ~/git/nixpkgs/ --show-trace -A pdfshuffler"
<woffs>
ah, no, was apparently my fault.
JosW has joined #nixos
<woffs>
my fault was naming my package "unicode" - it seems already to be used elsewhere.
hotfuzz_ has joined #nixos
<tilpner>
Really? I don't see one
athan has quit [(Ping timeout: 240 seconds)]
civodul has joined #nixos
hotfuzz has quit [(Ping timeout: 246 seconds)]
<woffs>
Me neither, but really.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] mbrgm opened pull request #29890: nullmailer: fixes and `remotesFile` option (master...nullmailer-fix) https://git.io/vdY6z
NixOS_GitHub has left #nixos []
athan has joined #nixos
kakashiAL has joined #nixos
MP2E has quit [(Remote host closed the connection)]
<hyper_ch>
wohoo, gigabit internet@office :)
MP2E has joined #nixos
periklis has joined #nixos
numerobis has quit [(Ping timeout: 264 seconds)]
kakashiAL has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] MP2E pushed 1 new commit to master: https://git.io/vdY65
<tilpner>
callPackage autofills the unicode argument to ncurses
Itkovian has quit [(Ping timeout: 260 seconds)]
<tilpner>
The right solution here would probably be to pull ncurses into two stages, first auto-calling for the dependencies, then calling in all-packages manually for the config, without callPackage
<tilpner>
But this probably applies to other packages too and might end up being a lot of effort
<joepie91>
manveru: is this a known issue? if yes, do you have an issue thread about it? it seems like a very strange failure mode
FRidh has joined #nixos
numerobis has quit [(Ping timeout: 246 seconds)]
koserge has joined #nixos
kier has joined #nixos
<manveru>
joepie91: it's not really an issue, it was the behaviour of the old bundix, so i reimplemented it... removed the flag in the last release because there's pretty much no use-case for not having dependencies in the gemset
goibhniu has joined #nixos
koserge has quit [(Ping timeout: 246 seconds)]
joko has quit [(Remote host closed the connection)]
aneeshusa has quit [(Ping timeout: 252 seconds)]
<joepie91>
manveru: ah. but do you have any idea why it's failing without the dependencies? :P
<woffs>
tilpner: thanks for revealing
<joepie91>
like, I don't know what the purpose of the dependencies key is
<joepie91>
(or why it was ever optional in the first place)
<manveru>
those are gems present while building the gem
<manveru>
i never used bundix without -d either
Yotam has joined #nixos
<manveru>
it's useful for gems with extensions that have dependencies on other gems during build phase
<Yotam>
Is there a way to change resolution in terminal mode (on a VM)?
koserge has joined #nixos
MP2E has quit [(Quit: leaving)]
takle has joined #nixos
goibhniu has quit [(Ping timeout: 246 seconds)]
andrewmcveigh has joined #nixos
Itkovian has joined #nixos
civodul has quit [(Remote host closed the connection)]
S0rin has quit [(Ping timeout: 260 seconds)]
civodul has joined #nixos
goibhniu has joined #nixos
kakashiAL has joined #nixos
sellout- has joined #nixos
<joepie91>
manveru: right, thanks
aloiscochard has joined #nixos
S0rin has joined #nixos
bjpbakker has joined #nixos
kakashiAL has quit [(Ping timeout: 240 seconds)]
MercurialAlchemi has joined #nixos
hotfuzz has quit [(Ping timeout: 240 seconds)]
joehh has quit [(Ping timeout: 248 seconds)]
hotfuzz has joined #nixos
mudri has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 4 new commits to master: https://git.io/vdYDQ
<NixOS_GitHub>
nixpkgs/master ac7673e Frederik Rietdijk: python.pkgs.pyblake2: init at 0.9.3
<NixOS_GitHub>
nixpkgs/master 1bf5fca Frederik Rietdijk: python.pkgs.requests-toolbelt: 0.7.1 -> 0.8.0
<NixOS_GitHub>
nixpkgs/master a6d2058 Frederik Rietdijk: python.pkgs.twine: 1.8.1 -> 1.9.1
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
nschoe has quit [(Quit: Program. Terminated.)]
thc202 has joined #nixos
mudri has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vdYyA
<NixOS_GitHub>
nixpkgs/master 82667fe Sukant Hajra: hdf5: remove references to stdenv.cc...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to release-17.09: https://git.io/vdYSJ
<NixOS_GitHub>
nixpkgs/release-17.09 3b83be9 Sukant Hajra: hdf5: remove references to stdenv.cc...
<globin>
lewo`: I'm reverting the skopeo stuff for now.. I generally think it's a good idea but creates too many incompatibilities right now.. sorry and I really hope you don't feel discouraged by that as you have been doing awesome work on the dockerTools! But having a clean release is a priority there.. I really hope we can improve this to make this compatible as it is definitely superior otherwise..
<NixOS_GitHub>
nixpkgs/master 5c6dc71 Robin Gloster: Revert "dockerTools.pullImage: use skopeo to pull the image"...
<NixOS_GitHub>
nixpkgs/master 20677fc Robin Gloster: dockerTools: fix hash to accomodate the pullImage revert
NixOS_GitHub has left #nixos []
peti_ has joined #nixos
xd1le has quit [(Quit: Toodaloo padawans! 👣)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 38 new commits to release-17.09: https://git.io/vdOUi
<NixOS_GitHub>
nixpkgs/release-17.09 d6a9d78 Nikolay Amiantov: glfw2: don't use mesa...
<NixOS_GitHub>
nixpkgs/release-17.09 29810ae Nikolay Amiantov: glfw3: cleanup dependencies, propagate mesa_noglu...
<NixOS_GitHub>
nixpkgs/release-17.09 7ae5135 Nikolay Amiantov: mupdf: cleanup dependencies...
NixOS_GitHub has left #nixos []
Wizek_ has quit [(Ping timeout: 255 seconds)]
jellowj has quit [(Ping timeout: 258 seconds)]
bjpbakker has quit [(Ping timeout: 258 seconds)]
bkchr has joined #nixos
<bkchr>
Hi, does can someone explain to me what the variable NIX_CC is doing?
koserge has joined #nixos
<infinisil>
bkchr: That's the C compiler for compilation
joehh has joined #nixos
<bkchr>
infinisil: hmm, for nixpkgs? I currently try to compile openwrt and it somehow picks this variable which is set to clang, but I set CC=gcc and CXX=g++
<gchristensen>
are you on macos?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vdOT7
<NixOS_GitHub>
nixpkgs/master 990b5a5 Robin Gloster: release.nix: add mesos test back...
NixOS_GitHub has left #nixos []
<bkchr>
No
<bkchr>
I have clang installed in a nix-shell that is one level above my nix-shell for openwrt^^
<sphalerite>
nesting nix-shells generally doesn't work very well I think
<sphalerite>
Any reason not to just use the openwrt shell outside any other nix-shell?
erictapen has quit [(Ping timeout: 240 seconds)]
revtintin has quit [(Read error: Connection reset by peer)]
<bkchr>
I'm using direnv and most of my directories have a .direnv file and a default.nix file. So for my work I have a main default.nix that contains the common parts and as openwrt is a sub dir of my work dir, both default.nix files are loaded
<bkchr>
I can work around this
<viric>
Dezgeg[m]: clever: do you know any commodity arm board with GigE?
davidak_ has joined #nixos
<bkchr>
But, I was just curious why this happens^^
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
peti_ has quit [(Ping timeout: 240 seconds)]
jellowj has joined #nixos
peti_ has joined #nixos
mortum5 has joined #nixos
orivej has quit [(Ping timeout: 246 seconds)]
orivej has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
bjpbakker has joined #nixos
revtintin has joined #nixos
bjpbakker has quit [(Ping timeout: 264 seconds)]
peacememories has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 7 new commits to master: https://git.io/vdOLm
<NixOS_GitHub>
nixpkgs/master 16012ff xd1le: guile-gnome: remove taktoa and amiloradovsky from maintainers and add...
<NixOS_GitHub>
nixpkgs/master f1b7d0a xd1le: guile-gnome: fix build by building gwrap with guile-2.0...
NixOS_GitHub has left #nixos []
nadley has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 12 new commits to master: https://git.io/vdOLs
<NixOS_GitHub>
nixpkgs/master 6dd6f10 Franz Pletz: libbson: 1.6.1 -> 1.8.0 for CVE-2017-14227
<NixOS_GitHub>
nixpkgs/master cc258a6 Franz Pletz: mongoc: 1.7.0 -> 1.8.0
<NixOS_GitHub>
nixpkgs/master 8a5b8ae Franz Pletz: libtiff: use patches from newer debian revision
NixOS_GitHub has left #nixos []
orivej has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 12 new commits to release-17.09: https://git.io/vdOL0
<NixOS_GitHub>
nixpkgs/release-17.09 9e2e252 Franz Pletz: libbson: 1.6.1 -> 1.8.0 for CVE-2017-14227...
<NixOS_GitHub>
nixpkgs/release-17.09 d9b4e70 Franz Pletz: mongoc: 1.7.0 -> 1.8.0...
<NixOS_GitHub>
nixpkgs/release-17.09 c680d7f Franz Pletz: libtiff: use patches from newer debian revision...
NixOS_GitHub has left #nixos []
orivej has joined #nixos
jellowj has quit [(Ping timeout: 264 seconds)]
infinisil has quit [(Ping timeout: 258 seconds)]
peti_ has quit [(Ping timeout: 264 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 10 new commits to release-17.09: https://git.io/vdOtv
<NixOS_GitHub>
nixpkgs/release-17.09 debc5a9 xd1le: guile-modules: rename top level attributes to be consistent...
<NixOS_GitHub>
nixpkgs/release-17.09 8530b3a xd1le: guile-modules: add vyp as maintainer to unmaintained guile modules...
<NixOS_GitHub>
nixpkgs/release-17.09 0aa13f1 xd1le: guile-modules: stylistic nix expression changes to modules with sole...
NixOS_GitHub has left #nixos []
Acou_Bass has quit [(Ping timeout: 240 seconds)]
Acou_Bass has joined #nixos
takle has quit [(Remote host closed the connection)]
xdelv has quit [(Remote host closed the connection)]
vod has joined #nixos
xdelv has joined #nixos
<vod>
Hello gentlepeople! Perhaps someone would be able to point me to the right direction: i'm trying to query a nix store served over ssh like so 'nix-env -qa --option use-ssh-substituter true --option ssh-substituter-hosts nix-ssh@10.0.0.1' and have no success, i don't see any traffic hitting the nix-store machine... what am I doing wrong?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vdOqL
<NixOS_GitHub>
nixpkgs/master bc5ec7b Franz Pletz: mongoc: don't use bundled zlib & snappy
NixOS_GitHub has left #nixos []
bjpbakker has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/vdOq3
<NixOS_GitHub>
nixpkgs/release-17.09 9418365 Franz Pletz: mongoc: don't use bundled zlib & snappy...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vdOqs
<NixOS_GitHub>
nixpkgs/master 09fa385 Tom Hunger: flake8-future-import: Add patch to fix tests.
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/vdOqn
<NixOS_GitHub>
nixpkgs/release-17.09 ec24d2b Tom Hunger: flake8-future-import: Add patch to fix tests....
NixOS_GitHub has left #nixos []
jellowj has joined #nixos
infinisil has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vdOOw
<NixOS_GitHub>
nixpkgs/master 3ec05d6 Joachim Fasting: tor-browser-bundle: feature parity with the binary bundle...
<NixOS_GitHub>
nixpkgs/master 387f1c7 Joachim Fasting: tor-browser-bundle: minor refactorings
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
oida has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
oida_ has quit [(Ping timeout: 260 seconds)]
reinzelmann has quit [(Quit: Leaving)]
Infinisil_ has joined #nixos
<viric>
goibhniu: Dezgeg: I'd like to know of a stable board with a stable kernel. That is not always the case. Not that I have any suspicion about these, but I wondered if you had experience with them.
oida has quit [(Read error: Connection reset by peer)]
oida has joined #nixos
Willi_Butz has quit [(Ping timeout: 252 seconds)]
infinisil has quit [(Disconnected by services)]
Infinisil_ is now known as infinisil
Willi_Butz has joined #nixos
* goibhniu
has no experience, but would love to get something that will work well with NixOS
<fearlessKim[m]>
now that's weird, "cat file" prints nothing even though file contains a line of 34 characters. If I add a line, cat displays teh file xD
<hyper_ch>
you're just doing it wrong
mortum5 has quit [(Ping timeout: 246 seconds)]
peti has joined #nixos
peti has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl opened pull request #29898: clp: init at 1.16.11 (master...clp-1.16.11) https://git.io/vdOs3
justanotheruser has quit [(Ping timeout: 264 seconds)]
<fearlessKim[m]>
sphalerite: when doing "nix-shell -p lua52Packages.cjson" with this WIP buildLuaPackage, I would expect the shellHook to be run but doesn't seem the case, is there sthg special to support shellHook ? https://transfer.sh/oqLhU/mk-lua-package.nix
Infinisil is now known as infinisil[m]
jsgrant has quit [(Client Quit)]
jsgrant has joined #nixos
dieggsy has joined #nixos
infinisil[m] has quit [(Client Quit)]
<dieggsy>
:noh
<dieggsy>
lmao
Infinisil has joined #nixos
<iqubic>
I want to install NixOS on my laptop.
<Mic92>
good choice
<iqubic>
However, I require an ISO that boots in UEFI mode. Which NixOS ISO should I get?
<sphalerite>
fearlessKim: what does `nix-instantiate --eval '<nixpkgs>' -A lua52Packages.cjson.shellHook` say?
<Fare>
I believe all NixOS ISOs should work with UEFI
<iqubic>
Also, I need to learn how to use rsync to save the data currently on my computer.
Infinisil has quit [(Client Quit)]
<iqubic>
How can I use rsync over ssh?
revtintin has joined #nixos
<Mic92>
the nixos isos come with sshd
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] yegortimoshenko opened pull request #29899: yabause: Qt4 -> Qt5, disable emu-compatibility.com in About menu (master...yabause/0.9.15) https://git.io/vdOZn
NixOS_GitHub has left #nixos []
<Fare>
iqubic, do that *before* you install nixos. Yes rsync over ssh is great
<Mic92>
you only need to start systemctl start sshd
<fearlessKim[m]>
sphalerite, it returns the hook I've configured
<fearlessKim[m]>
like I have 2 git worktrees ~/nixpkgs and ~/nixpkgs2
<fearlessKim[m]>
IIRC I think it's a bug
<fearlessKim[m]>
I had already witnessed that it chops of the last number
peti_ is now known as peti
<fearlessKim[m]>
if I rename my worktree to ~/nixpkgsbis than it should work
jellowj has quit [(Ping timeout: 258 seconds)]
cement has quit [(Ping timeout: 248 seconds)]
detran has joined #nixos
<fearlessKim[m]>
sphalerite ? how do you use -I ? I've tried -I nixpkgs=~/nixpkgs2 and -I ~/nixpkgs2 without success (it keeps using ~/nixpkgs). If I set NIX_PATH=nixpkgs=~/nixpkgs2 it works.
erictapen has joined #nixos
cement has joined #nixos
Fendor has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
<sphalerite>
fearlessKim: nix doesn't expand the ~, so you need to use something like -I nixpkgs=$HOME/nixpkgs2
pie_ has joined #nixos
<sphalerite>
or you could do something like nix-shell -p '(import ~/nixpkgs2 {}).lua52Packages.cjson.shellHook'
<fearlessKim[m]>
I want to write a patch for that (if I get feedback on my first nix patch xD)
<sphalerite>
Yeah, it's annoying that it expands ~s in nix expressions but not in NIX_PATH
<sphalerite>
fearlessKim: seems sensible to me, but IME PRs to nix or other nix-related projects that aren't nixpkgs just tend to sit there and be ignored :(
<sphalerite>
hyper_ch: neat, although I think the idea in the template is to replace the instructions for obtaining the information (the stuff in parens) with the information itself
<hyper_ch>
sphalerite: that's what I'm unsure about
<sphalerite>
at least that's how I interpret it, and I find the results easier to read
<hyper_ch>
hence I used printf that can be modified at any time
<hyper_ch>
up to now I always put the results below
<sphalerite>
also, since all of those things are single lines, inline code (single backticks) would probably be visually neater than code blocks (triple backticks)
<hyper_ch>
sphalerite: well, my github-fu is very weak :)
ThatDocsLady has joined #nixos
<hyper_ch>
will change that, my master :)
<sphalerite>
hm, I'd probably just write it as a writeScriptBin expression since the script is so tiny
<hyper_ch>
writeScriptBin?
<sphalerite>
lol, just suggestions :p
<hyper_ch>
yes, my master, you're suggestions will be heeded - immediately
<fearlessKim[m]>
sphalerite: as I read "nix 2.0 is already a lot better" my fear is that there is a hidden/ghost branch with all I ever dreamt of , hence the disdain for the PRs xD
<S0rin>
Hey, I have hard time setup munin on a nixos server did someone did it ?
<hyper_ch>
what's writScriptBin?
<sphalerite>
fearlessKim: no, the master branch is where that's all happening.
rtjure has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
<pie_>
sweet jesus firefox finally loads my tabs quickly
detran has quit [(Remote host closed the connection)]
<sphalerite>
hyper_ch: takes two strings, a name and a script, and writes the script to $out/bin/<name> and sets it executable
<fearlessKim[m]>
well my firefox with treestyletab extension refuses to let me drag & drop the slidebar
<fearlessKim[m]>
scrollbar*
<sphalerite>
pie_: servo stuff?
<hyper_ch>
sphalerite: hmmm....
<hyper_ch>
why didn't you tell me that sooner?
<sphalerite>
Because I didn't know that (you needed it && you didn't know about it)
<hyper_ch>
you still can't mind-read over the internet? :(
ebzzry_ has joined #nixos
<fearlessKim[m]>
ha I created a shell script to achieve the same xD
<pie_>
sphalerite, i have no idea, but someone told me a couple weeks back that new firefox has severe improvements, and i just updated to 55 and that seems to have them
<sphalerite>
hyper_ch: nope. There's this KDE telepathy thing in nixpkgs but turns out that's only for chat :(
<sphalerite>
pie_: oh nice
<joepie91>
sphalerite: and not even that anymore apparently...
<hyper_ch>
fearlessKim[m]: did you show me yours the other day?
<fearlessKim[m]>
"self" seems to be some kind of interpreter. I've no idea why I got this installed. Any (easy) way to see all packages that depend on "self" ?
<catern>
hey #nixos
Fare has quit [(Ping timeout: 248 seconds)]
<catern>
is there a way, given a Nix derivation, to prefetch all the fixed-output fetchurl derivations for sources within it?
<catern>
using nix-prefetch-url or something else outside the sandbox?
erictapen has quit [(Remote host closed the connection)]
<iqubic>
And then it will be time to learn the DD command so I can make a bootable ISO.
erictapen has joined #nixos
pie_ has quit [(Ping timeout: 255 seconds)]
<iqubic>
I need to make a bootable usb so that I can get NixOS installed.
Jackneill has quit [(Quit: Leaving)]
leat has quit [(Ping timeout: 264 seconds)]
erasmas has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Willi_Butz is now known as WilliButz
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] yegortimoshenko opened pull request #29902: fakenes: mark as broken (master...fakenes/break) https://git.io/vdORs
NixOS_GitHub has left #nixos []
infinisil has joined #nixos
<iqubic>
where is NixOS_GitHub getting its data?
peti has joined #nixos
<clever>
iqubic: github has hooks where it will push out an http request to a configured url, when certain events happen
<iqubic>
Yes, but how does the bot know which github repos to track?
<clever>
github will only inform the bot about the repo's that are set to send it events
<clever>
the hooks are per-repo
<makefu>
iqubic: it is the other way round. you configure the github repo to enable the IRC hook
<globin>
iqubic: in this case it is GitHub's own IRC integration which is enabled for nixpkgs
<fearlessKim[m]>
my nix skills lead me to do lua=self, thinking that self referenced the current set { } whereas I was including the "self" package which doesn't compile on nixpkgs-unstable. Might be good to rename it to sthg else than "self"
jellowj has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vdO03
<NixOS_GitHub>
nixpkgs/master dfdfb97 Jan Tojnar: nixos/tests/gnome3-gdm: Increase memory limit...
NixOS_GitHub has left #nixos []
ryantrinkle has quit [(Ping timeout: 255 seconds)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vdO04
<NixOS_GitHub>
nixpkgs/master 9aae605 Yegor Timoshenko: fakenes: mark as broken
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vdO02
<NixOS_GitHub>
nixpkgs/master 8fb9d37 Robin Gloster: amtterm: fix build
NixOS_GitHub has left #nixos []
yegortimoshenko has joined #nixos
Jackneill has joined #nixos
<yegortimoshenko>
meta.license accepts a list of licenses. is it only appropriate for dual/multi licensing or is it ok for a case where different files are under different licenses?
ertes-w has quit [(Ping timeout: 248 seconds)]
bjpbakker has quit [(Ping timeout: 264 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 7 new commits to release-17.03: https://git.io/vdOEL
<NixOS_GitHub>
nixpkgs/release-17.03 d377659 Franz Pletz: mpg123: 1.25.4 -> 1.25.7 for multiple CVEs...
<NixOS_GitHub>
nixpkgs/release-17.03 4733986 Franz Pletz: postfix: 3.1.3 -> 3.2.3...
<ocharles>
error: value is null while a list was expected, at /home/ollie/.config/nixpkgs/overlays/nixpkgs-mozilla/firefox-overlay.nix:40:18 # so evaluation time, as I thought
<ocharles>
ok, this one seems to be doing something
<ocharles>
is this the fancy new Super Fast TM Firefox?
<tilpner>
I think so
<johnw>
Plasmafox
<ocharles>
seems to be firefox 58, which seems to be the one
<ocharles>
hi johnw !
<johnw>
hi ocharles!
<johnw>
I missed you at ICFP; I was certain you'd be there
<ocharles>
Nope, not this year
<ocharles>
It's too expensive for me :(
<johnw>
but... so close!
<ocharles>
Yea, I probably should have come at least for dinner :)
<johnw>
and... want see ocharles!
pie_ has joined #nixos
<hyper_ch>
I thought the codename for super fast firefox is "chromium"
sary has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 closed pull request #29039: treewide: Properly depend on autoreconfHook and pkg-config (staging...deps-reorg) https://git.io/v52WB
NixOS_GitHub has left #nixos []
Neo-- has quit [(Ping timeout: 264 seconds)]
ThatDocsLady has quit [(Quit: Leaving)]
<johnw>
ugh, speak of firefox, just upgraded to 56 and now even with all addons disabled, every link I visit takes me to a page saying "Your tab just crashed"
<ocharles>
Wow, this is impressive
andymandias has quit [(Ping timeout: 255 seconds)]
<tilpner>
ocharles - Oh, I should have mentioned to use a fresh profile
<tilpner>
(You can't go back once you let it use your old profile)
Fare has joined #nixos
<Judson>
PR for kafka seems happy now, except Travis barfs on the size of the log output.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vdO6I
<NixOS_GitHub>
nixpkgs/master 595c8fa Robin Gloster: openrw: 2016-06-29 -> 2017-09-17...
NixOS_GitHub has left #nixos []
bjpbakker has joined #nixos
<iqubic>
Time to install NixOS
Fendor has quit [(Ping timeout: 240 seconds)]
iqubic has quit [(Remote host closed the connection)]
<ocharles>
tilpner: no problem, it was practically unusable before this
andymandias has joined #nixos
sigmundv has quit [(Ping timeout: 246 seconds)]
bjpbakker has quit [(Ping timeout: 240 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
aloiscochard has quit [(Quit: Connection closed for inactivity)]
fendor has joined #nixos
iqubic has joined #nixos
vod has quit [(Remote host closed the connection)]
<iqubic>
Can I get some help getting wifi up and running on this live image?
<iqubic>
I don't know how to use ifconfig.
<iqubic>
I can tell that my wireless driver is being found, I just don't know how to connect to the internet
<hyper_ch>
why not just start kde?
<hyper_ch>
the command is shown after bootup
<hyper_ch>
start display-manager something
<iqubic>
Because I downloaded the command line only ISO.
<iqubic>
I thought I could do this without a DE.
<hyper_ch>
then just plug it into ethernet
drakonis is now known as Drakonis_
<iqubic>
I don't have an ethernet cable around
ona has quit [(Read error: Connection reset by peer)]
<iqubic>
I need to use WIFI
<hyper_ch>
use a printer's ehternet cable for the moment
<iqubic>
My printer is also wireless.
Acou_Bass has quit [(Ping timeout: 240 seconds)]
<hyper_ch>
sucks to be you then :)
<iqubic>
Why, all I need to do is learn ifconfig
* johnw
takes a moment to recall when printers used their own, special parallel cables that interfaced with nothing else
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 8 new commits to release-17.09: https://git.io/vdOia
<NixOS_GitHub>
nixpkgs/release-17.09 5faf5c2 Robin Gloster: treewide: mark batch of packages broken for 17.09
<NixOS_GitHub>
nixpkgs/release-17.09 373dc7a Jan Tojnar: nixos/tests/gnome3-gdm: Increase memory limit...
<NixOS_GitHub>
nixpkgs/release-17.09 6a0d99f Yegor Timoshenko: fakenes: mark as broken...
NixOS_GitHub has left #nixos []
<hyper_ch>
johnw: parallel port :)
<hyper_ch>
those really big ones
<johnw>
yep
<infinisil>
hyper_ch: a lot of people are saying they're considering switching from chrome to FF because it's so fast now..
<hyper_ch>
infinisil: and it gets even faster
<iqubic>
screw this.
<infinisil>
I haven't used chrome before, but FF58 definitely is a lot faster
<iqubic>
I'm getting the DE version of the live image
<hyper_ch>
<bagder> ... so we have this new feature in Firefox "race-cache-with-network" (RCWN) that makes it try the network and the cache in parallel...
<hyper_ch>
@infinisil
<hyper_ch>
not sure if that's already in ff58
<infinisil>
interesting
peti has quit [(Ping timeout: 240 seconds)]
<infinisil>
i actually just switched from the stable ff (55 or so i think) to 58 yesterday
peti has joined #nixos
<hyper_ch>
also, one thing FF always had was the sync server
shawndomniti has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<hyper_ch>
that you can run your own sync server
ebzzry_ has quit [(Ping timeout: 248 seconds)]
<iqubic>
Does the NixOS install require an ethernet cable?
<CrazedProgrammer>
you need a separate /boot partition if you use UEFI
<Leo`_>
Hey. I'm trying to setup an OpenVPN in a Nix container. On startup, or if I run systemctl start, it fails saying that it's not allowed to open the tun device, but if I invoke manually the openvpn binary with the exact same arguments as in the systemd unit file, it works...
<infinisil>
Seems like you can't hide the tab bar anymore :(
<Leo`_>
Are systemd units not ran as root...?
<MichaelRaskin>
Wait. you can recolour it but not force its width?
<infinisil>
MichaelRaskin: yup
<hyper_ch>
nah.... got rid of /var/log being tmpfs because there were timeout issues shutting down I think
<hyper_ch>
still /tmp and /var/tmp are tmpfs
nh2 has quit [(Read error: Connection reset by peer)]
<infinisil>
(and vim highlights my css correctly, i don't think there's a typo)
<hyper_ch>
Leo`_: in a nix container?
<MichaelRaskin>
Do we have 58 in NixPkgs in a sensible way?
<Leo`_>
hyper_ch: Well a nixos-container.
<hyper_ch>
no idea what you mean by that
<iqubic>
So, here's what I want to do: Shrink root (/dev/sda3) and then add a home partition.
<iqubic>
Will that be alright, even if /dev/sda3 is not the last partition on the disk?
<MichaelRaskin>
Ah.
<CrazedProgrammer>
yes
<iqubic>
Cool.
<MichaelRaskin>
Yes, I know of this, but too lazy so far.
<infinisil>
MichaelRaskin: Clone this and symlink its firefox-overlay.nix into ~/.config/nixpkgs/overlays, then nix-env -iA nixos.firefox-nightly-bin
<iqubic>
And I know shrinking might cause data loss, but I'm wiping the partition anyways.
<hyper_ch>
iqubic: there's gparted in the live cd
<iqubic>
Is it possible to shrink swap too?
<MichaelRaskin>
infinisil: first, I don't use nix-env
jsgrant has joined #nixos
<hyper_ch>
I don't use swap
<iqubic>
hyper_ch: I'm using that right now.
<infinisil>
MichaelRaskin: Same (mostly), just used it for demonstration purposes
<MichaelRaskin>
But I understand it is an overlay
<iqubic>
hyper_ch: Why don't you use swap?
<hyper_ch>
16gb ram on my notebook... don't need swap
<iqubic>
How do I check ram size?
<hyper_ch>
you just know your hardware
<hyper_ch>
or run top or htop
<schoppenhauer>
iqubic: cat /proc/meminfo
<MichaelRaskin>
Ah, it's bin-only
<CrazedProgrammer>
MichealRaskin: you can use nix overlays without using per-user overlays, just import the firefox overlay with pkgs pkgs and then .firefox-nightly-bin
<iqubic>
schoppenhauer: Were do I look in that list?
<infinisil>
clever: Soo, you're using tabs as bookmarks? And chrome doesn't lazily load them does it
<hyper_ch>
clever: maybe you haven't noticed, but the tabs do have a small "x"... when you click there, it gets closed ;)
<kkini>
yeah, chrome doesn't
<CrazedProgrammer>
firefox 57 is so fast and slick i love it
<kkini>
firefox does, thankfully
<kkini>
also people say "using tabs as bookmarks" but they're rather different
<clever>
i find chrome uses the cpu cores better (firefox is heavily single-threaded)
<catern>
it's weird
<clever>
kkini: but what if i find 5 threads in a forum, that i want to read
<CrazedProgrammer>
not anymore
<infinisil>
and chrome does'nt even have tree style tabs
<catern>
when I used firefox, I had 1000 tabs
<infinisil>
how the hell do you manage tabs clever
<kkini>
with tabs you also get data about how far down you were scrolled in the page, possibly text in forms, and most importantly, navigation history in the tab and information about from which parent tab that tab was spawned
<catern>
but now that I use Chrome, I only have like 50
<kkini>
you can't get any of that with bookmarks
<clever>
kkini: i dont want to bookmark them, and the list of threads is ever-changing and finding the links again will be tricky
<catern>
in multiple windows
<clever>
kkini: middle click * 5
<kkini>
clever: yes, I agree :) I use hundreds of tabs as well
<clever>
and sometimes i dont get back to them
<clever>
and it builds up
<hyper_ch>
some people are just weird :)
<kkini>
yeah, once in a while I go and prune my tabs
<kkini>
but I save a session before doing so just in case I want to do some tab archaeology later :)
<infinisil>
Umm, why is the github bot called SEXAABYBP/07IA7PE2?
<iqubic>
So, 25G of space on /root is fine?
<hyper_ch>
iqubic: /root and / are different things
<clever>
kkini: i have one addon for archiving entire windows, and a second that saves snapshots of all open tabs constantly
<clever>
infinisil: and why did it connect twice at once/
<CrazedProgrammer>
/root is the home directory of user "root"
<clever>
infinisil: it probably collided with a 3rd instance of itself
<iqubic>
Well my root partition (to be mounted on /) how much space do I give it?
<iqubic>
CrazedProgrammer: I was not thinking straight than.
<hyper_ch>
I'd give it more than 25gb to have enough space for a few generations
<MichaelRaskin>
I use Firefox and almost do not use tabs.
<iqubic>
So like 50G?
<CrazedProgrammer>
if you can 40G, but 25G would still work
<infinisil>
iqubic: How much do you have?
<kkini>
oh hi MichaelRaskin, thanks for packaging ACL2 btw
<kkini>
for nixpkgs
<hyper_ch>
I have no idea what you're going to install... so hard to give an estimate
<iqubic>
I have 104.56GiB to share between root and home.
<hyper_ch>
I'd go for 40 instead of 25
<CrazedProgrammer>
40/64
<iqubic>
cool
<infinisil>
I have 60GB in /home and 24GB in other parts of /
<infinisil>
of which /nix takes up 23.7GB
<iqubic>
now, how much is that in MiB? That's the only unit gparted will accept.
<iqubic>
the 40 I mean.
<clever>
* 1024
shawndomniti has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
nh2 has joined #nixos
<joepie91>
infinisil: the random-character nicks occur when you connect under a registered nickname and don't identify to nickserv successfully in time
<hyper_ch>
my /nix is 30GB
<joepie91>
infinisil: (freenode will force-change your nick then)
<infinisil>
joepie91: I just enabled SASL yesterday, the github bot should use that too
<CrazedProgrammer>
my /nix/store can be as small as 9.4G when i garbage collect it, but i usually fill it up to 30G before i do that
shawndomniti has joined #nixos
<clever>
Filesystem Size Used Avail Use% Mounted on
<clever>
amd/nix 69G 65G 4.8G 94% /nix/store
<Dezgeg>
why create multiple partitions in the first place, you're just guaranteed to run into Murphy's Law of Partitioning aka you are guaranteed to end up in a case with one partition out-of-space with dozens of gigabytes free on the others
<infinisil>
(SASL can authenticate before connecting, eliminating the timeout problem)
<clever>
and i just ran a GC today
<CrazedProgrammer>
whuut
<clever>
Dezgeg: thats one of the reasons i use zfs on everything now
<hyper_ch>
/dev/dm-0 938G 835G 56G 94% /
McLovin_ has joined #nixos
<hyper_ch>
Dezgeg: that's why I have a 500mb /boot and rest goes to /
<iqubic>
I'm using ext4 for all my linux stuff
Acou_Bass has joined #nixos
<equalunique[m]>
Dezgeg: you have zfs setup with NixOS? Isn't that difficult to accomplish?
<Dezgeg>
I don't have zfs
<infinisil>
It's pretty easy
<clever>
equalunique[m]: zfs is pretty easy to setup, and i use it on every new install
<infinisil>
Same ^^
<hyper_ch>
everybody is saying zfs is so cool
<iqubic>
Is it fine that my partitions are now numbered out of order?
<kkini>
AFAIUI, ZoL is a friendly fork of OpenZFS, i.e. they upstream their changes
<edef>
you can split a pool that way, yes
ryanartecona has quit [(Quit: ryanartecona)]
<edef>
kkini: yes, everyone's upstream is illumos
<kkini>
and yeah, the native encryption patch that landed a few weeks ago is pretty exciting
<hyper_ch>
edef: that way I don't only have backups, but I also have a hotcopy :)
<edef>
kkini: OpenZFS is the umbrella project
<edef>
hyper_ch: you can also zfs send snapshots over
<hyper_ch>
for nightly backups I use rsync
<edef>
hyper_ch: I have a script that roughly does `zfs send -R rpool@foo | ssh target zfs receive rpool/laptop`
<kkini>
hyper_ch: resilvering is basically repopulating redundancy info, for example if you're using two drives as mirrors of each other and one fails and you replace it, you need to "resilver" to get all the data mirrored onto the new drive
<edef>
hyper_ch: which sends over a diff, essentially
<kkini>
or if you're using a parity-based redudancy setup, recomputing parity info and saving it to the new disk
<hyper_ch>
edef: but can you then browse the files at each snapshots time?
<clever>
hyper_ch: and the blocks remain encrypted when you zfs send
<CrazedProgrammer>
equalunique[m]: no, this is an unofficial wiki
<infinisil>
equalunique[m]: Community maintained this time, but yes
<kkini>
it remains encrypted on the far end and there's no key over there
<hyper_ch>
clever: how does that compare to dm-crypt?
<kkini>
so you don't have to trust aws or whoever you're using
<infinisil>
yeh unofficial
<edef>
hyper_ch: you can do per-filesystem encryption
<hyper_ch>
sending blocks doesn't mappter... it's all vpned anyway
<clever>
hyper_ch: it can be turned on/off on a per-dataset level, and i think you can unlock/lock per-dataet
<edef>
hyper_ch: you can have as many filesystems in one pool as you want
isidore has joined #nixos
<hyper_ch>
no idea what a dataset is
<kkini>
dataset is a filesystem basically
pie_ has quit [(Ping timeout: 248 seconds)]
<equalunique[m]>
clever: Awesome script too
<kkini>
or what you'd think of a filesystem coming from ext4
<hyper_ch>
I like to use luks because then everything is encrypted and I don't have to worry if something important is encrypted or not
<clever>
hyper_ch: with zfs, you have a pool of blocks, then you have multiple filesystems and block-devices, that share the pool
<infinisil>
iqubic: Just something that's working, doesn't need to be much, you can change anything you like later
<iqubic>
infinisil: does NixOS use the fstab? Or no?
<hyper_ch>
clever: so, again to my notebook: single-disk raid1
<kkini>
I believe nixos generates the fstab from configuration.nix, doesn't it?
<hyper_ch>
clever: can I with zfs easily expand it to raid2, and mirror to external usb?
<hyper_ch>
sorry, raid1 with 2 disks
<infinisil>
iqubic: Nope, you mount the stuff you need to /mnt/whatever, then run nixos-generate-config --root /mnt and it generates the nixos config you need for the fs for you
<clever>
hyper_ch: yeah, zfs does have options to convert a single-disk into a mirror, and then undo
<iqubic>
infinisil: So you mount everything first, then make the config?
<infinisil>
iqubic: to /mnt/etc/nixos/hardware-configuration.nix that is, check it out after generating
<edef>
hyper_ch: I'd create another pool
<hyper_ch>
clever: the reason I do that currently is if the notebook gets lost/stolen or the ssd breaks
<edef>
hyper_ch: and zfs send to it
<hyper_ch>
I still have my external usb drive
<iqubic>
infinisil: So you mount everything first, then make the config?
<hyper_ch>
so I can boot up from there and then just rsync back from the last backup
<edef>
hyper_ch: it's a lot easier, although your thing works
<hyper_ch>
so restoration is short
<kkini>
hyper_ch: one advantage of the upcoming native encryption on zfs feature is that you'll be able to have all your filesystems locked but still be able to see and manage them
<kkini>
I mean, as opposed to dmcrypt
<hyper_ch>
iqubic: yes, mount everything first as you want, then generate the default config files....
<infinisil>
iqubic: Yeah, but you only need to rerun this when you want to change something
<iqubic>
I see.
<edef>
I'm a lil worried about having that metadata exposed
<hyper_ch>
kkini: what do you mean by "locked"
<edef>
so I'll probably still use dm-crypt
<clever>
hyper_ch: the contents can not be read
<kkini>
metadata like filenames etc. is still encrypted
<iqubic>
So I should get my partitions working now, shouldn't I?
oida_ has quit [(Ping timeout: 240 seconds)]
<edef>
but my threat model includes legit forensics
<kkini>
it's just metadata like zfs pool properties or zfs dataset properties
<kkini>
oh, so you want plausible deniability?
<hyper_ch>
ok, if I use the upcoming encryption and make a snapshot and send that snapshot to my backup server
<kkini>
your disk looking like random bits?
<hyper_ch>
can I then just browser the files at the time of that snapshot?
<infinisil>
iqubic: nixos-generate-config also generates a standard configuration.nix in /mnt/etc/nixos/configuration.nix, if there's not one there already, it contains some comments, i recommend reading them
<hyper_ch>
even when it's encrypted?
<edef>
no
<iqubic>
infinisil: I will do that.
<edef>
you can't mount it
<iqubic>
infinisil: And what about the boot partition, shall I mount that too?
<hyper_ch>
so it's useless as I can't restore a single file from a given snapshot then?
<infinisil>
iqubic: yup
<edef>
hyper_ch: well, if you're willing to expose the key to the remote machine
<edef>
hyper_ch: then you can
<hyper_ch>
edef: right now, the backupserver is also using raid1 (3 disk), dm-crypt, ext4
<edef>
hyper_ch: so you could keep the key somewhere safe and only expose it to the backup machine in a disaster recovery scenario
<hyper_ch>
and I just rsync the stuff there
<LnL>
infinisil: ok great :)
<edef>
right, but now it's encrypted at rest, but if you pwn the backup box, everything is right there
<hyper_ch>
and then e.g. I need to restor /path/to/some/file from 3 months ago
<clever>
iqubic: and you must mount all filesystems before running nixos-generate-config
<hyper_ch>
so when is raid and encryption ready for zfs?
<edef>
raid has been ready for about a decade
<hyper_ch>
would be interested to try
<hyper_ch>
(so not well tested since it's only been a decade..)
<iqubic>
clever: Is it fine to run nixos-generate-config a second time?
jtojnar has quit [(Quit: jtojnar)]
<clever>
iqubic: yeah
<edef>
like, ZFS is the most reasonable way to run like, multi-TB storage pools
<edef>
I had a dope redundant 12TB backup pool, I got rid of it because I straight up don't have that much data
<hyper_ch>
all I need is a more or less recent hotcopy and daily backups and an easy way to restore if needed
tmaekawa has joined #nixos
<edef>
yeah, I have both of those done with snapshots
<hyper_ch>
I mean at the office we only use 3x 4TB disks
<edef>
like, this server I'm IRCing from, in about eight minutes
<hyper_ch>
that's enough for all the data
<edef>
it'll take a snapshot, zfs send it from France to Germany
<edef>
the snapshots are tiny because hardly anything changes on this box
<edef>
it does that every 15 minutes
<hyper_ch>
servers run debian ;)
shawndomniti has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<edef>
debian has ZFS support too
<hyper_ch>
well, and there's proxmox
<edef>
it's not as smooth as NixOS, because DKMS
<iqubic>
What if I have a partition that contains data that I need to share between widows and Nixos? It's partitioned with the ntfs file-system. Will that be an issue at all?
<hyper_ch>
a vm for email server, a vm for vpn server, a vm for voip server, a vm for data server, a tiny vm for the CA
<edef>
hyper_ch: lol, I replaced my friend's proxmox with SmartOS
jtojnar has joined #nixos
<edef>
hyper_ch: (illumos virtualisation distro)
<iqubic>
It needs to be ntfs or Windows won't read it.
<clever>
iqubic: ive had no trouble mounting ntfs and reading files
<iqubic>
clever: good.
<hyper_ch>
and inside every vm also runs debian
<edef>
this VM runs Arch
<iqubic>
Where should I mount this partition?
<edef>
for… historical reasons
proteusguy has joined #nixos
<edef>
if it breaks too badly, I pull an older version of the system out of the snapshots
<hyper_ch>
iqubic: could also be exFAT...
<schoppenhauer>
hm. can somebody please help me how to use enableLibraryProfiling?
<iqubic>
I had it mounted at /mnt/shared on gentoo, but I'm not sure nix will understand what to do if I mount the partition to /mnt/shared now.
<edef>
no, that'll work
<hyper_ch>
although, all but the email server and voip server could be replaced by nixos
<edef>
as long as you do it inside the new root
<schoppenhauer>
I don't really understand how to use it
<edef>
hyper_ch: lol so
<edef>
hyper_ch: I used to have this hypervisor for like all the things, separate machines running conventional distros
oida_ has joined #nixos
<iqubic>
so mount it to /mnt/mnt/shared?
<edef>
hyper_ch: and… it's mostly fallen out of use
<edef>
iqubic: yes
<iqubic>
Alright then
<edef>
hyper_ch: because I've consolidated it all onto one NixOS machine
<hyper_ch>
edef: good for you :)
<hyper_ch>
does nixos even provide a way to remote reboot an encrypted server?
<hyper_ch>
with debian it's easy
<edef>
in what way
<hyper_ch>
encrypt /
<hyper_ch>
reboot
<hyper_ch>
login
<hyper_ch>
give encryption password
<edef>
oh
<hyper_ch>
let server continue to boot
<edef>
like, over the network?
<hyper_ch>
yes
<edef>
I don't know that we have that
<hyper_ch>
debian makes it simple
<Leo`_>
Each time I run nixos-rebuild switch it spends a lot of time on ‶setting up tmpfiles″, does anyone know what that means?
<hyper_ch>
by putting dropbear into the initrd
<hyper_ch>
so as soon as network is up you also have a ssh server
<edef>
there's definitely an SSH-in-initramfs option
<iqubic>
And programs.zsh.enable is a boolean I presume?
<clever>
yeah
<k0001>
Folks, is anybody here interested in a full-time DevOps job involving Nix in a functional programming team using a lot of Haskell? Ideally in San Francisco, but remote might be OK for the right person. Reach out to me if you are interested :)
chessai has joined #nixos
<Mic92>
too bad there is now build-vm for nixops yet
<hyper_ch>
k0001: I have no skills in that area but SF Area sounds nice :)
<clever>
Mic92: i'm writing something very close to that right now
<clever>
Mic92: i'm making it possible for hydra to build the entire deployment
<Mic92>
clever: sounds interesting
<hyper_ch>
or maybe I could just load the actual work off on some indians or chinese ;)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/vdONT
<NixOS_GitHub>
nixpkgs/master d84d8af berdario: Rhino: enable on Darwin (#29824)...
NixOS_GitHub has left #nixos []
<hyper_ch>
gcj still building... wondering if it'll fail
Itkovian has quit [(Quit: Textual IRC Client signing off)]
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar has joined #nixos
<iqubic>
So for users.users I can either define the values in a list in curly braces or use users.users.<username here>.field = ... ?
<clever>
iqubic: a list is defined with [ and ]
<clever>
iqubic: { and } are just another way of setting attributes
<iqubic>
I see.
<iqubic>
I mean the second thing
<Mic92>
hyper_ch: It was broken some days ago
<clever>
iqubic: foo.bar.baz = 5; is identical to foo = { bar = { baz = 5; }; };
<hyper_ch>
but I've seen that unstable got updated and it's building :=
<iqubic>
nix seems like it'd be really easy to install on another machine with the same config.
<gchristensen>
nixos is :)
<hyper_ch>
it is
<hyper_ch>
just need to make sure that hardware-configuration.nix file is up-to-date for the new system
<hyper_ch>
e.g. the uuids
<iqubic>
Right. I'm just doing the initial config now.
Itkovian has joined #nixos
<gchristensen>
speaking of which I need a new hard disk :/
<hyper_ch>
s/hard/solid state/
<gchristensen>
as long as it isn't a fluid I'm ok
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/vdONb
<NixOS_GitHub>
nixpkgs/release-17.09 1f3087b berdario: rhino: enable on darwin...
NixOS_GitHub has left #nixos []
<hyper_ch>
gcj still fails to build in unstable
<clever>
Mic92: i now have a single .nix file, $ nix-build -I nixops=/nix/store/mb4rfbkliwjvcdcnqzgg4bgi45i8pb3s-nixops-1.6pre0_abcdef/share/nix/nixops nixops.nix -A machines
<clever>
Mic92: which builds every machine in the deployment
<gchristensen>
looking for a new SSD is going to result in me replacing my whole system isn't it :|
<hyper_ch>
gchristensen: those sasmung 960 pro are yummy
<gchristensen>
I don't have M.2
<hyper_ch>
neither have I :)
<gchristensen>
looking for a new SSD is going to result in me replacing my whole system isn't it :|
<clever>
ive got an nvme in my main desktop, but i'm only using it for L2 and log
<iqubic>
How do I tell Nix that users in the wheel group have access to sudo?
<gchristensen>
clever: slog?
sigmundv has quit [(Ping timeout: 248 seconds)]
<clever>
gchristensen: yeah, let me see what exactly i did
<Guest15042>
how do I get around "waiting for locks or build slots ..." ?
<tilpner>
You wait or increase the number of build users
<iqubic>
hyper_ch: Why do you use grub over systemd-boot?
<Guest15042>
how do I do that? I've been waiting, and I'm in the middle of an install.
<tilpner>
Huh, maybe I'm wrong. The description of nrBuildUsers mentions another error
ryantrinkle has quit [(Ping timeout: 258 seconds)]
globin has quit [(Quit: WeeChat 1.9)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/vdOpq
<NixOS_GitHub>
nixpkgs/master 1449141 volth: mosquitto: fix darwin build (#29851)
NixOS_GitHub has left #nixos []
oida_ has joined #nixos
jellowj has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/vdOpn
<NixOS_GitHub>
nixpkgs/release-17.09 8133dbf volth: libmicrohttpd: fix darwin build...
NixOS_GitHub has left #nixos []
globin has joined #nixos
aristid has quit [(Quit: WeeChat 1.9)]
phreedom has joined #nixos
gandreani has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/vdOpo
<NixOS_GitHub>
nixpkgs/release-17.09 bd0b1fe volth: mosquitto: fix darwin build (#29851)...
NixOS_GitHub has left #nixos []
<iqubic>
Can I tell NixOS to just auto login for me?
<iqubic>
And send me straight to the WM.
<tilpner>
iqubic - Search (man configuration.nix) for autologin
aristid has joined #nixos
erictapen has joined #nixos
globin has quit [(Ping timeout: 258 seconds)]
shawndomniti has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Wizek_ has joined #nixos
Itkovian_ has joined #nixos
Itkovian has quit [(Ping timeout: 240 seconds)]
<Guest15042>
tilper error during nixos-install --show-trace if that helps
<iqubic>
How do I install a program on the live environment?
<clever>
iqubic: the same way as on gentoo and nixos, with nix-env
<iqubic>
Ah, right, I see.
Wizek_ has quit [(Ping timeout: 240 seconds)]
<iqubic>
And is it supposed to print any output, or no?
<clever>
it should give output saying what its doing
<iqubic>
It didn't do that.
<clever>
what args did you run it with?
phreedom has quit [(Remote host closed the connection)]
<iqubic>
-i
<clever>
and only -i?
<iqubic>
yeah.
<clever>
that told it to install EVERYTHING
<clever>
please wait while it downloads about 80gig of data,lol
<iqubic>
How do I install just a single package?
<gandreani>
clever: Wait are you serious?
<clever>
nix-env -iA nixos.single-package-name
<gchristensen>
gandreani: is not the friendliest of commands
<clever>
gandreani: i think a full eval of nixpkgs is 80gig, and nix-env when given a set, will install everything in the set
<gchristensen>
iqubic: are you on nixos?
<gandreani>
OMG I'm laughing so hard right now. That's amazing
<MichaelRaskin>
I think a full eval of NixPkgs is larger than 80 GiB
<iqubic>
gchristensen: Yeah
<MichaelRaskin>
A very much not full installation can reach 50 GiB or so.
<gchristensen>
iqubic: most people just put the stuff they want to install in to `systemPackages` in the configuration.nix, because it is friendlier than nix-env
<MichaelRaskin>
(It has a lot of stuff, but NixPkgs as a whole has even more!)
<clever>
gchristensen: i think he is still on the livecd
<gchristensen>
services.xserver.windowManager you need to select a window manager :)
<iqubic>
derp
ryantrinkle has joined #nixos
Fare has left #nixos ["Leaving"]
<gandreani>
MichaelRaskin: That's crazy. And the build servers have to rebuild these packages pretty often right?
Fare has joined #nixos
<gchristensen>
wait, do you? maybe not
<gchristensen>
I use displaymanager / desktopmanager
<iqubic>
that should say services.xserver.windowManager.xmonad
yegortimoshenko has quit [(Read error: Connection reset by peer)]
<iqubic>
But the options in the curly braces are fine.
<gchristensen>
iqubic: users.defaultUserShell = "pkgs.zsh"; should just be users.defaultUserShell = pkgs.zsh;
<MP2E>
if you're a poor soul running off nixpkgs master, you have to rebuild pretty often too :P
<MP2E>
don't even get me started about rebuilding chromium
<MP2E>
happens like twice a week
<gchristensen>
MP2E: sshhhh they're not :)
<infinisil>
MP2E: You're using master??
<gchristensen>
iqubic: looks great!
<iqubic>
gchristensen: no quotes around defaultShell?
<MP2E>
yeah I prefer running off master, even if it involves some recompiling :P
<MP2E>
i like directly hacking on the nixpkgs tree
<gchristensen>
iqubic: no, because it is referring to the package not a string
<infinisil>
MP2E: but you can do that with unstable too
<gandreani>
MP2E: Your poor poor processor lol
<iqubic>
the xkboptions line was just stolen straight from my gentoo xkb options file
<iqubic>
And it worked on Gentoo.
<gandreani>
Btw where is the source of nix-env? I can't find it in the nixpkgs repo :/ I was tempted to hack in a message to confirm installing everything
<gchristensen>
gandreani: github.com/nixos/nix
<MP2E>
true I could probably just use unstable now. Beforehand I was running off of the gcc-6 branch, then staging. but now that's all merged
<gchristensen>
gandreani: specifically the 1.11-maintenance branch
<iqubic>
Now. time to nixos-install and cross fingers
<gchristensen>
go go go!
<MP2E>
also while it's a pain, it's not *too* bad when you have a bunch of pcs running nixos and only one has to rebuild and distribute the binaries to everyone else
<MP2E>
usually in practice it just means my desktop is busy for the day
chessai has quit [(Quit: Page closed)]
<Guest15042>
in the middle of nixos-install --show-trace, how to I increase build slots?
<iqubic>
well, the nix manual says that "nix-env -i w3m" installs the w3m browser.
<iqubic>
Whoops.
<MichaelRaskin>
gandreani: most of the stuff doesn't change every commit, of course.
<gandreani>
gchristensen: Brilliant thank you! Does that correspond with release 16.09?
jellowj has joined #nixos
<infinisil>
Guest15042: I tihnk that should be the option nix.nrBuildUsers (default 10)
<gandreani>
MichaelRaskin: Yeah but you could change something depended by a lot of things and get a nice little chain reaction, no?
<MichaelRaskin>
This thing is called stdenv
<infinisil>
Guest15042: Or nix.maxJobs, or nix.buildCores, not sure which one's for what
<MichaelRaskin>
And if you change it on master without a good reason, people start asking questions.
joko has joined #nixos
<gchristensen>
gandreani: do you mean 17.09?
<MP2E>
maxJobs is the amount of concurrent compiles nix can run, as in, if your library needs 8 dependencies and you set maxJobs to 8, then it will build all 8 of them concurrently with 1 thread each
<MP2E>
buildCores means assign # of threads to each individual process
<gandreani>
MichaelRaskin: I can only imagine XD
Wizek_ has joined #nixos
<MP2E>
maxJobs doesn't necessarily saturate as many threads as you specify if there aren't enough seperate jobs
<MP2E>
buildCores pretty much will always use that many threads unless the package disables parallel building
<gandreani>
gchristensen: Ummm...sure. I'm not running NixOS yet so I don't know off the top of my head which is the latest version
<gandreani>
I thought 17.09 was the next release
<joko>
Hello, I would like to create a minimal in disk usage NixOS installation, is it possible? I've just set up a minimal VM with ext4 and it got already 900+ MB of storage
<edef>
MP2E: I just rebase onto channels/nixos-unstable from time to time
<MichaelRaskin>
The previous one is 17.03
<infinisil>
edef: Same
<MP2E>
hmm might have the start doing that, myself
<edef>
the useful part of tracking a channel isn't even that it has been built already
<edef>
it's that it has been built and had the tests run
shawndomniti has joined #nixos
sary has joined #nixos
<iqubic>
well nix has an issue.
<iqubic>
You cannot use networking.networkmanager with networking.wireless
<iqubic>
Why is that even an issue?
<sphalerite>
Yeah, wireless is supported by network-manager
<sphalerite>
Set wireless.enable to false and it will work
<MP2E>
yep
<gchristensen>
that error could be better
<sphalerite>
Not really a technical issue but definitely a UX problem
<sphalerite>
The option for WPA supplicant shouldn't be called networking.wireless.enable
<iqubic>
Yeah, I know/
<iqubic>
When do I set root and user passwords?
pxc has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vd3vg
<NixOS_GitHub>
nixpkgs/master 80c57fd Vladimír Čunát: gcj, gccgo: port fixes for 4.9 to 6...
NixOS_GitHub has left #nixos []
<infinisil>
joko: You can see what's taking up the most space with e.g. `du $(nix-store -qR /run/current-system) -hsc | sort -h | tail`
<infinisil>
4.3GB total for me
<infinisil>
Am interested to see what this outputs for other people here ^^
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/vd3vQ
<iqubic>
Now, I really don't think NixOS found my windows 10 partition.
<infinisil>
iqubic: Haven't tried this, but there's boot.loader.grub.useOSProber which seems like it should detect other OSs and put them in grub's menu
MercurialAlchemi has quit [(Ping timeout: 252 seconds)]
<infinisil>
(only when you use grub of course)
<disasm>
it looks like iqubic is using systemd-boot
<iqubic>
disasm: I want to use grub actually.
<iqubic>
Or actually stuff does just work right out of the box
<joko>
infinisil: ok, I see that glibcLocales takes up most of the space, around 100M
jensens has quit [(Ping timeout: 240 seconds)]
rui has joined #nixos
<rui>
Is Docker something that could allow me to get into a standard linux environment where I could install and run robustly any software that I still haven't found a way to get working on NixOS?
<rui>
or is there any way to handle those cases, short of having a full virtual machine in VirtualBox?
<iqubic>
Alright, how the hell do I remove gentoo from the list of boot options in the bios menu?
ebzzry_ has quit [(Ping timeout: 246 seconds)]
<disasm>
rui: I'm playing with a systemd-nspawn debian container right now
<MichaelRaskin>
Docker may be fine, or maybe even a straightforward chroot with Debian would work.
<disasm>
iqubic: is it the bios menu or the boot loader?
Acou_Bass has joined #nixos
<iqubic>
It was the bios menu. But I fixed that.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/vd3JZ
<NixOS_GitHub>
nixpkgs/release-17.09 75fe950 volth: collectd: fix darwin build (#29841)...
NixOS_GitHub has left #nixos []
<rui>
disasm: Thanks, I'll try to decypher that
<rui>
MichaelRaskin: Thanks
<iqubic>
how do I reload my configuration.nix?
<MichaelRaskin>
nixos-rebuilt
<MichaelRaskin>
nixos-rebuild
<infinisil>
switch
<MichaelRaskin>
or test
<MichaelRaskin>
Depends on how careful you are
python476 has joined #nixos
<infinisil>
man nixos-rebuild for more info
<iqubic>
Running it with no options just pulls up the man page.
<iqubic>
Is that normal?
<infinisil>
it's just what it does apparently, didn't know that
<MichaelRaskin>
Well, some tools print usage.
<iqubic>
yes, but this one throws me into a man page with the less pager/
<sphalerite>
iqubic: fwiw it would have just been `wpa_passphrase ssid psk | wpa_supplicant -i interface -c /dev/stdin`
<MichaelRaskin>
But many Nix tools lack --help, so they just show the manpage (they lack --help in terms of it being the same as manpage)
<sphalerite>
Substituting SSID, PSK and interface name as appropriate
<infinisil>
i hate it when a tool only provides a --help but no manpage
<MichaelRaskin>
Would you prefer being shown that text _without_ pager?
<iqubic>
MichaelRaskin: No.
<MichaelRaskin>
Well, both options can be slightly annoying
<sphalerite>
The installer image (and the default nixos config too afaik) has DHCP enabled on all interfaces by default
<MichaelRaskin>
But even --help without manpage is better than --help, manpage and the tool itself being pairwise out of sync
<infinisil>
that would be bad yes
<iqubic>
So when I tell my machine to reboot it hangs on "a stop job is running for X11 Server" and then it prints a time stamp for how long the stop job should take.
<iqubic>
Is that normal?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] MP2E pushed 1 new commit to master: https://git.io/vd3UI
<iqubic>
What's this thing with nixos generations?
<infinisil>
probably after that time you'll be dropped into a nixos shell, without X11
<infinisil>
then you can inspect what went wrong with journalctl -xe
McLovin_ has left #nixos []
<iqubic>
No, actually the stop job ended and the machine rebooted.
<MichaelRaskin>
infinisil: and remember NixOS manual, NixPkgs manual and Nix manual are three different texts, and each of them is larger than the manpages.
<iqubic>
Now, what's with the generations thing
<infinisil>
MichaelRaskin: Yeah but those don't really tell you about the CLI tool usage
<MichaelRaskin>
iqubic: NixOS supports rollback. Generations are the instances you have built, so you can activate any of them.
<iqubic>
Ah,
<iqubic>
Can I clean out the old generations?
<MichaelRaskin>
infinisil: Nix manual and NixOS manual do tell you about the corresponding CLI tools.
Guest15042 has quit [(Quit: Page closed)]
<iqubic>
How can I clean out the old generations?
<MichaelRaskin>
iqubic: nix-collect-garbage -d kills all unused generations and runs a GC (removes Nix packages not referenced from any GC root, like generation of NixOS or profile or something)
mudri has quit [(Ping timeout: 260 seconds)]
<infinisil>
MichaelRaskin: It's in no way as detailed as the manpage
<infinisil>
iqubic: No need to ask questions twice every minute
<iqubic>
I want to check if this actually is what I want it to be.
<infinisil>
you must know yourself what vm you're using, nixos can't know that
<infinisil>
how do you run the vm?
<sphalerite>
iqubic: please try reading some documentation, we're all glad to help people but we're not here to do everything for you
<gchristensen>
google is your friend and when that fails we're happy to help
<sphalerite>
iqubic: MichaelRaskin's reference to the nix and nixos manuals was in response to your question about cleaning old generations
civodul has joined #nixos
phreedom has quit [(Ping timeout: 248 seconds)]
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar has joined #nixos
<iqubic>
Looks like the GC didn't remove any entries from my bootloader
<MichaelRaskin>
That's true, unfortunately. You need to rebuild or reactivate to update the bootloader menu
<iqubic>
how do I rebuild?
<MichaelRaskin>
With nixos-rebuild
<gandreani>
Look at the nixos manual
<gandreani>
Doh...you were just telling him to google stuff more!
kakashiAL has quit [(Ping timeout: 248 seconds)]
<gandreani>
him/her*
<MichaelRaskin>
Technically, I wasn't.
<gandreani>
Trur
<MichaelRaskin>
And I honestly do not know how to find the information about this bug quickly.
<MichaelRaskin>
It
<MichaelRaskin>
is a bug «everyone experienced» knows about, so the issues about it discuss finer points.
k0001_ has joined #nixos
k0001 has quit [(Ping timeout: 248 seconds)]
<infinisil>
Ohh, now I understand why /run/current-system/bin/switch-to-configuration boot fixes this
<infinisil>
and it makes sense
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 5 new commits to master: https://git.io/vd3TN
<NixOS_GitHub>
nixpkgs/master f9d64a0 Marius Bergmann: nullmailer: fix relative -> absolute path in preStart script
<NixOS_GitHub>
nixpkgs/master 02e89de Marius Bergmann: nullmailer: use proper description for `remotes` option
<NixOS_GitHub>
nixpkgs/master e741cc4 Marius Bergmann: nullmailer: add `remotesFile` option...
NixOS_GitHub has left #nixos []
<sphalerite>
yeah that is a question that comes up frequently but then "how do I rebuild"...
<MichaelRaskin>
Well, I can give benefit of doubt, my phrase looks like «rebuild the boot menu» with the same likelyhood as «rebuild NixOS instance»
<pstn>
Does somebody know how the postgresql permission system works? Is it UID or username based? If I just share the socket between two containers, do I have to create the same user in both containers?
<MichaelRaskin>
Won't they have different UID namespaces, so PostgreSQL will fail to ask for the other-side-UID?
<lejonet>
pstn: the in-db user system is OS agnostic iirc, so if the containers share the db content, they should know about the users
<MichaelRaskin>
I would just read hba.conf documentation and setup username+password auth
<joko>
Any idea how to track which derivations depend on a certain /nix/store path?
<sphalerite>
joko: nix-store -q --referrers
<MichaelRaskin>
lejonet: PostgreSQL does support authentication via system username if you enable this. This seems to be on by default.
mudri has joined #nixos
vinymeuh has joined #nixos
jellowj has joined #nixos
<joko>
sphalerite: many thanks!
<MichaelRaskin>
joko: also --referrers-closure
<lejonet>
MichaelRaskin: yeah, for access to the unix socket it utilizes normal unix perms for that
<lejonet>
but further access inside the dbs and such, iirc it uses its own users
<MichaelRaskin>
Not even that: it asks for remote uid and verifies it
<MichaelRaskin>
It is not simple socket write permission.
<lejonet>
oh? My experience with unix socket and postgres must be very old then (or just had that turned off)
<lejonet>
(I haven't used unix socket for postgres in ages tho)
<MichaelRaskin>
lejonet: true, and you _can_ make them independent, but there is built-in on-by-default support for letting every user log in as namesake.
sellout- has quit [(Read error: Connection reset by peer)]
<lejonet>
MichaelRaskin: that I was not aware of
<pstn>
MichaelRaskin: Exactly and my question was whether this system is also based on UID. The docs I found didn't talk about it, just names but I find that somewhat strange.
<NixOS_GitHub>
nixpkgs/release-17.09 89b75ba Marius Bergmann: nullmailer: fix relative -> absolute path in preStart script...
<NixOS_GitHub>
nixpkgs/release-17.09 e9356fd Marius Bergmann: nullmailer: use proper description for `remotes` option...
NixOS_GitHub has left #nixos []
<pstn>
But I guess I'll save myself a lot of headache if I just use username+password.
<pstn>
(like I do for mysql)
<gandreani>
pstn: Maybe you can share the socket between the containers and see which user the db container recognizes
<gandreani>
pstn: And see which user owns the socket the db container sees*
<sphalerite>
kkini: as Infinisil says, no it doesn't. I'd really like for it to exist though, and it's one of many (many many!) projects I'd like to do one day...
<kkini>
Thanks for the answers. That's too bad, but oh well :)
<gandreani>
sphalerite: Maybe a quick solution would be to show download numbers from the CDN cache?
jellowj has quit [(Ping timeout: 240 seconds)]
kkini has quit [(Remote host closed the connection)]
<sphalerite>
gandreani: that would be nice, although I don't have any say in the matter. I don't even know what sort of stats cloudfront provides
<clever>
pstn: where is the postgress daemon running?
<clever>
pstn: the host, or one of the containers?
<pstn>
In one of the containers
<clever>
ah, not sure then
jellowj has joined #nixos
<clever>
what does ls -lh say is the uid, from both ends?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] cstrahan pushed 1 new commit to master: https://git.io/vd3Lg
<NixOS_GitHub>
nixpkgs/master b93ba5d Charles Strahan: envoy: fix by reviving bazel 0.4...
NixOS_GitHub has left #nixos []
vinymeuh has joined #nixos
<gandreani>
sphalerite: Me neither. I was thinking all CDNs offer to download a report of at least cache misses and hits, which could be parsed, dumped into a db and exposed as a simple website...but I don't know anything about cloudfront either lol
<clever>
gandreani: also, those hits are all hashes, and nothing more
<clever>
gandreani: so you need to cross-reference it with every eval of nixpkgs that has ever been done on hydra
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] cstrahan pushed 1 new commit to master: https://git.io/vd3LN
<NixOS_GitHub>
nixpkgs/master bb005d1 Charles Strahan: envoy: unmark as broken
NixOS_GitHub has left #nixos []
<gandreani>
clever: Ah so a bit more complicated then...
simukis has quit [(Quit: simukis)]
_ris has quit [()]
_ris has joined #nixos
aszlig has quit [(Ping timeout: 248 seconds)]
<pstn>
I'm planning my deployment. I don't have containers right now.
<pstn>
(clever )
<pstn>
I must be getting old^^
<lejonet>
pstn: :O
<lejonet>
:P
davidak_ has joined #nixos
<davidak_>
fpletz: would you add a list of all new packages (alphabetical) and contributors (number of commits) to the release-notes?
<fpletz>
davidak_: we will make some stats for the release announcement but listing all new packages in the release notes is probably too much text that nobody reads :)
iqubic has left #nixos []
iqubic has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 3 new commits to master: https://git.io/vd3m8
<NixOS_GitHub>
nixpkgs/master 57ed9e7 Robin Gloster: gitlab: 9.5.5 -> 10.0.2
<NixOS_GitHub>
nixpkgs/master 8340579 Robin Gloster: 17.09 release notes: update information on gitlab
<NixOS_GitHub>
nixpkgs/master f0fa565 Robin Gloster: qpid-cpp: fix build
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 3 new commits to release-17.09: https://git.io/vd3mS
<NixOS_GitHub>
nixpkgs/release-17.09 f349c23 Robin Gloster: 17.09 release notes: update information on gitlab...
<NixOS_GitHub>
nixpkgs/release-17.09 be9cd9a Robin Gloster: qpid-cpp: fix build...
<NixOS_GitHub>
nixpkgs/release-17.09 23fdbaa Robin Gloster: treewide: mark a bunch of failing builds as broken
NixOS_GitHub has left #nixos []
civodul has quit [(Ping timeout: 240 seconds)]
sellout- has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
JosW has quit [(Quit: Konversation terminated!)]
gandreani has quit [(Quit: leaving)]
goibhniu has joined #nixos
<davidak_>
fpletz: any idea when the release will be ready? i'm very excited :)
<fpletz>
davidak_: globin and me have been testing and fixing the last few small issues for a few days and are planning to tag 17.09 in a few hours if all works according to plan :)
<iqubic>
Why are so many nix packages on github?
maralorn[m] has left #nixos ["User left"]
kungfukenny has quit [(Ping timeout: 240 seconds)]
goibhniu has quit [(Ping timeout: 240 seconds)]
<infinisil>
you mean nixpkgs?
<iqubic>
Yeah/
<iqubic>
Also, what's the right way to lock the screen when using NixOS and LightDM?
<infinisil>
you have all of those in your local nix
<infinisil>
nixpkgs is the repository used to aggregate all nix packages
<iqubic>
I see.
<iqubic>
Do I usually want to install packages in /etc/nixos/configuration.nix, or per user?
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vd3se
<NixOS_GitHub>
nixpkgs/master 169a344 Robin Gloster: python.pkgs.futurist: dontCheck
NixOS_GitHub has left #nixos []
amir has quit [(Ping timeout: 276 seconds)]
<infinisil>
home-manager isn't official and not polished up, but it's coming along nicely and I love it
<MP2E>
neat! I had been manually using nix-env in a 'psuedo-declarative' environment. As in, every time I update I remove all of my environment with "nix-env -e '*'" and reinstall every package from a list, which zsh has in its history
<MP2E>
so home-manager looks right up my alley
bkchr has quit [(Ping timeout: 248 seconds)]
amir has joined #nixos
<infinisil>
Can definitely recommend it. It could use some PR's though
davidak_ has quit [(Ping timeout: 260 seconds)]
<bgamari>
I am trying to use nix-shell to enter an environment with an expression in my local nixpkgs fork in scope
<bgamari>
with nix-shell -f ~/trees/nixpkgs/pkgs
<bgamari>
I'm seeing the error,
<bgamari>
error: Typesafe Activator was removed in 2017-05-08 as the actual package reaches end of life.
<bgamari>
I'm not entirely sure what I am supposed to do with this information
<infinisil>
that would put all of nixpkgs in scope
<bgamari>
I'm clearly misusing nix-shell, but it's not clear how
<lucasOfBesaid>
I'm just trying to get z3 to build with ML bindings. I made a nice fresh copy of its default.nix, added ocaml, findlib, and core to its buildInputs, and added the --ml flag to its configure script options. The error I'm getting suggests I'm severely misunderstanding the way ocaml builds work. I'm hoping someone here is more familiar with ocaml and findlib than I am?
dieggsy has joined #nixos
<lucasOfBesaid>
Specifically, during configuration, the script complains that, "The destdir reported by ocamlfind (/nix/store/drz31ypgxzc06f4vb0z1bv9xdn9y4gw8-z3-4.5.0/lib/ocaml/4.02.3/site-lib/) does not exist"
kwork has quit [(Quit: No Ping reply in 180 seconds.)]
zeus_ has quit [(Ping timeout: 258 seconds)]
erictapen has quit [(Ping timeout: 248 seconds)]
kwork has joined #nixos
pie_ has joined #nixos
erictapen has joined #nixos
zeus_ has joined #nixos
zeus_ has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] shlevy pushed 2 new commits to master: https://git.io/vd3lJ
<voice_ftp>
How can I install unstable i3 into the stable nixos? I've added `unstable.i3` to my `environment.systemPackages`, but `/run/current-system/sw/bin/i3` still points to the stable version. I suppose `services.xserver.windowManager.i3.enable = true` won't let me pull i3 outside of default channel