<soysauce>
your battery sends events to udev whenever it (dis)charges by 1%, you can use this udev rule to automatically hibernate the system when battery level is critical, and thus prevent all unsaved work from being lost.
roblabla has quit [Ping timeout: 255 seconds]
<soysauce>
and there is an option in /etc/udev/rules.d/99-lowbat.rules
<infinisil>
Ah yes, you can do it via rules too
<soysauce>
what would be the nixy way of doing the same
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/f4bb4
<soysauce>
also do you mean extraConfig?
igo95862 has quit [Quit: igo95862]
<infinisil>
Not sure, but that's the same for all distros
<infinisil>
extraRules
<infinisil>
> option "services.udev.extraRules"
roblabla has joined #nixos
<{^_^}>
"Additional <command>udev</command> rules. They'll be written\ninto file <filename>99-local.rules</filename>. Thus they are\nread and applied after all other rules.\n"
jmsb has left #nixos ["ERC (IRC client for Emacs 25.2.1)"]
ericsagnes has joined #nixos
myguidingstar has joined #nixos
myguidingstar has quit [Remote host closed the connection]
thang has joined #nixos
ckauhaus has joined #nixos
andreabedini has joined #nixos
silver_ has quit [Read error: Connection reset by peer]
tenten8401_ has quit [Remote host closed the connection]
tenten8401_ has joined #nixos
ckauhaus1 has quit [Ping timeout: 260 seconds]
stepcut has joined #nixos
<dgpratt>
I am a bit confused about the instructions to use fdisk in the manual (https://nixos.org/nixos/manual/index.html#sec-installation) because (a) fdisk does not appear to have an `a` command and (b) the result of following the instructions results in swap being on dev/sda1, which altogether makes me thing I did something wrong
<samueldr>
uh, dgpratt, any previous experience in partitioning for any other linux distro?
<samueldr>
(I, too, feel the instructions for partitioning are lacking)
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<samueldr>
I personally use cfdisk/cgdisk, depending on MBR/GPT (though I think both tools are now merged)
<worldofpeace>
you can use gparted :P
<samueldr>
in any cases, the end-result (partition scheme) is what matters here
newhoggy has joined #nixos
glowpelt has quit [Quit: WeeChat 2.1]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
blonkhart has joined #nixos
roconnor has joined #nixos
<tenten8401_>
samueldr: dang, that looks kinda dumb
<tenten8401_>
I think it might be the only option
<samueldr>
I know there are other tools packaged this way, where you can kind of think the nixos package as a pristine copy for installation
<dgpratt>
samueldr: no experience other than following rote instruction
<samueldr>
well, by tools I mean php software
mahalel_ has joined #nixos
<samueldr>
IIRC tt-rss in nixos is done that way (I would need to look back as I installed that way before I understood this all)
<samueldr>
dgpratt: do you need a bit of assistance with getting the partitioning done?
<tenten8401_>
man this module is gonna be such a pain to write
<dgpratt>
I guess the question I should ask is if it matters at all if swap is on /dev/sda1 and the remainder is what I intend to make the...well I think "boot" partition is the proper term here, but I'm not sure, I confess
<samueldr>
:) pretty sure it doesn't matter for most setups
<tenten8401_>
doesn't matter where any of the partitions are
<samueldr>
for a legacy/mbr boot, the program installed in the MBR does the hard work
andymandias has quit [Ping timeout: 260 seconds]
jackdk has joined #nixos
<dgpratt>
alright, proceeding, thanks guys
<samueldr>
for legacy/UEFI boot, the ESP (on most systems) can be on any disk anwyhere
<samueldr>
and programs on the ESP do the hard work of figuring out your whacky (if so) partitions :)
<tenten8401_>
for GPT partitioning you need to make a seperate BIOS partition if you're using legacy boot
<samueldr>
oops, said legacy/UEFI, only meant UEFI!
<samueldr>
and yes, tenten8401_, good call, if you boot legacy, but want/need GPT, there's that catch
<samueldr>
(why would you need GPT on legacy? for disks bigger than 2 TiB)
<tenten8401_>
yeah, I needed GPT for a server install I was doing and sat there messing around for too long trying to figure out what I was doing wrong
<samueldr>
(or simply to have more partitions)
<soysauce>
hmmmm so i added a udev rule to call systemctl hibernate
<soysauce>
works manually
<soysauce>
however on switch i am getting an error "systemctl is called by udev rules but not installed by udev"
<tenten8401_>
Would it be impossible to just have a systemd service that copies pterodactyl from the Nix store into /var/www/pterodactyl or something?
<tenten8401_>
as a NixOS module
rain1 has joined #nixos
<samueldr>
tenten8401_: using a startup script, yes
<samueldr>
uh, I mean no, as in: it would be possible
<tenten8401_>
do you think it'd be best to only run the systemd script on reboot?
<samueldr>
not really, since updating pterodactly would do... nothing?
<tenten8401_>
or is there a way to activate it only on rebuild?
<samueldr>
write the startup to be idempotent, and not cause issues if ran multiple times
Drakonis has joined #nixos
<tenten8401_>
updating pterodactyl would require a re-copy from the nix store
andymandias has joined #nixos
<samueldr>
best way to ensure state is consistent and coherent at start
imalsogreg has quit [Remote host closed the connection]
<samueldr>
if someone removes a file in /var/www/pterodactly, it's repaired for free
<tenten8401_>
when would I run it? is there a way to trigger it somehow when a file changes? or would it better to keep it exclusively to rebuilds?
<tenten8401_>
the panel already has a systemd service in the form of a queue worker that needs to be online at all times, do you think that'd be a good candidate to link the prestart script onto?
<tenten8401_>
or should I make a seperate service for it
<samueldr>
ah, the startup script is implicitly called as a dependency of the main systemd script
<samueldr>
I mean, systemd service
<samueldr>
so any time the script is started or reloaded (e.g. rebuilds) it would be ran
<samueldr>
I believe it's the way it's commonly done
<tenten8401_>
there's not a "main" systemd service, pterodactyl is run through nginx
<samueldr>
oh, yeah, forgot that it's PHP, so no "main" service
<tenten8401_>
would it be feasible to link it to nginx somehow?
<samueldr>
I'm not a systemd whizz enough to know if there is a better way in that case
<samueldr>
maybe a "dummy" systemd service that "wants" nginx and the queue service and the startup service?
<samueldr>
(you're now in the realm of systemd questions :))
ryantrinkle has quit [Ping timeout: 260 seconds]
<tenten8401_>
that might be good, maybe I'll name it something like pterodactyl-qa or something, qa standing for quality assurance
<tenten8401_>
idk
<tenten8401_>
I'll mess around, thanks for the help
<samueldr>
/srv is the recommendation for such things
<samueldr>
no clear structure
<samueldr>
BUT, one important caveat
RealUnix3385 has joined #nixos
<ldesgoui[m]>
heya, say I have multiple machines on a local network running 18.03 x64, could I make it so they check other machines stores for packages instead of re-downloading/re-building?
<samueldr>
my _opinion_ here is that /srv/ is better suited for manual intervention
RealUnix28200 has quit [Ping timeout: 260 seconds]
<samueldr>
I would hazard a guess that the pterodactyl install should maybe live under /var/lib because it's kind of static stuff that doesn't really get manually managed?
hxrts has joined #nixos
<tenten8401_>
I mean, it looks like nextcloud is going under /var/lib too
<samueldr>
/var/lib is described as being for state, so it kinda make sense as its the state for the running service, the absolute location for the code would be in the store
RealUnix3385 has quit [Client Quit]
<tenten8401_>
I guess that makes sense
<tenten8401_>
./var/lib it is
<samueldr>
though, if you really were managing hosting manually, as in rsync/sftp, I would strongly ague for /srv/
<tenten8401_>
ideally it shouldn't be touched
<worldofpeace>
ldesgoui[m]: Look in the `nix` manual for `nix-serve` I think. This can be done over ssh or http.
<samueldr>
and under /srv/ I strongly argue for /srv/com.example.www/ <- reverse dns :)
<tenten8401_>
also, would it be better to make it as a nginx sub-service, since it's running under nginx?
newhoggy has quit [Remote host closed the connection]
<samueldr>
ldesgoui[m]: for a more hands-on approach, you could also `nix copy` closures or use `nixos-rebuild --build-host $beefy_machine` as other ways to make use of other machines
<samueldr>
tenten8401_: good question. I'm not sure what nginx sub-services there are, if it makes sense probably
<samueldr>
those are good questions for PR time, unless they mean hard changes to implement
hxrts has quit [Client Quit]
jperras has quit [Quit: WeeChat 2.1]
<ldesgoui[m]>
Oooh, I didn't imagine nix-serve was just thag easy to setup, thanks. If my hosting machine is down, will it just carry onto cache.nixos.org?
hxrts has joined #nixos
<tenten8401_>
last question I promise, is there a good way to import a module in my configuration.nix without making a fork of nixpkgs
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
btbytes has quit [Ping timeout: 265 seconds]
<samueldr>
soysauce: adding pkgs.systemd to services.udev.packages?
<samueldr>
that's a total guess
<samueldr>
> option "services.udev.packages"
<{^_^}>
"List of packages containing <command>udev</command> rules.\nAll files found in\n<filename><replaceable>pkg</replaceable>/etc/udev/rules.d</filename> and\n<filename><replaceable>pkg</replaceable>/lib/...
<samueldr>
no, shouldn't be
<samueldr>
> option "services.udev.path" # is the one I'm thinking about
<{^_^}>
"Packages added to the <envar>PATH</envar> environment variable when\nexecuting programs from Udev rules.\n"
guibou has joined #nixos
alp has joined #nixos
<Myrl-saki>
samueldr: XSDL with shmem can play 24 FPS videos. Hype.
<samueldr>
actually not bad
<Myrl-saki>
Ikr?
<samueldr>
considering how the CPU must do much of the work?
<Myrl-saki>
samueldr: Yeah, from decoding to blipping.
<Myrl-saki>
Though, I guess not much on blipping anymore due to shmem?
<soysauce>
services.udev.path and point it to /run/current-system/sw/bin/systemctl?
<samueldr>
ah, just put in pkgs.systemd in there, services.udev.path = [ pkgs.systemd ];
<Myrl-saki>
samueldr: I'll star your project. Hope that you get it working. :D
<samueldr>
looking at the description, it wants (first word) packages, and it will handle PATH
<samueldr>
Myrl-saki: it's already "working"
<samueldr>
what I need is to make it useful :D
<samueldr>
stage-1 works on at least one device
<samueldr>
maybe 2 tonight if I'm lucky
<Myrl-saki>
samueldr: Oh okay. :P
<samueldr>
I have another android device I'll convert back to even handle x86_64 android devices
<samueldr>
qemu-x86_64 boots to stage-2 even (so full system)
<samueldr>
what's missing is the meat, services to make it useful
<samueldr>
like working wifi (which implies firmwares)
<Myrl-saki>
samueldr: Is the idea to use pmOS as a starting idea then change the userspace to NixOS?
<samueldr>
pmos as a source of information, though I'll be looking into halium as another source
<samueldr>
there are things that are harder to know *when you don't know how it works*
<samueldr>
like format for stuff
<samueldr>
I wouldn't have known how to build a boot.img without looking at their build infra
<Myrl-saki>
Right.
<samueldr>
android distros (lineageos and all) own build systems are... impervious to human understanding I think
<samueldr>
working off a project like pmOS (and maybe halium) makes it easier to onboard others in this nixos project
asuryawanshi has joined #nixos
<Myrl-saki>
Interesting. Seems like pmOS does kinda support my device.
<samueldr>
e.g. I don't own a nexus 5, probably never will, but with pmOS and halium describing parts of it, it's much easier for me to help you port it
<samueldr>
and probably even you yourself do it (once a couple devices are implemented in nixos)
<Myrl-saki>
YEp.
<samueldr>
and since cross-compiling now works, woo it's a so much faster development cycle
<Myrl-saki>
samueldr: So excited.
<samueldr>
I'm engrossed in this project, it's been since a day before I announced it that I worked on it almost daily
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/f4bxh
* samueldr
knows nothing about stylii
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #42394 → freeradius : added service to module-list → https://git.io/f4yuE
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/f4bpe
<soysauce>
aaah ok so now systemctl seems to just want to suspend all the time... i seem to be bootlooping into a suspend image, but unable to roll back to the last generation.... i boot to any generation, see my last suspend windows and the machine immedeatly shuts down
<samueldr>
when initially porting my asus-z00t, I found it nice to unpack a known working boot.img and transplant my kernel image to at least know where I had issues
<soysauce>
any ideas?
<soysauce>
at this point i'll be happy to just boot into an older generation from scratch
<{^_^}>
[nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/f4bpU
<Myrl-saki>
samueldr: Fingers crossed that this won't brick my device. I've only owned this for 3 days. :P
<samueldr>
soysauce: I don't know how suspend to disk works on nixos, but looking at what you say, it probably un-suspends what's on-disk whatever generation you're trying to boot
<soysauce>
right!
<samueldr>
soysauce: maybe clear the swap booting something on usb?
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #42343 → appleseed: init at 1.9.0-beta, osl: init at 1.9.9, seexpr: init at 2.11 → https://git.io/flbIz
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/f4bpt
<soysauce>
so boot to usb live image
<soysauce>
and
<soysauce>
restart?
<samueldr>
and uh, I'm not sure how to actually clear the swap
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/f4bpo
<thang>
I can run a python script with this nix-shell -p gst-python gst-plugins-base gst-plugins-good gst-ffmpeg python27Packages.pygtk --run "python my_script"
<eeva>
Can someone point me to some documentation as to why my: `nix-shell ../release.nix -A my-haskell-pgm.env --run ghcid` is fine when this is not: `nix run -f ../release.nix my-haskell-pgm.env -c ghcid`?
periklis` has joined #nixos
<{^_^}>
[nixpkgs] @FRidh merged pull request #42752 → python36: fix version in identifier → https://git.io/f4NeU
<pacman99>
I have a bluetooth keyboard paired via bluetoothctl and bluetooth enabled in configuration, but the keyboard isnt getting connected at startup
humanoyd has joined #nixos
newhoggy has quit [Remote host closed the connection]
blankhart has quit [Ping timeout: 256 seconds]
rschm has quit [Remote host closed the connection]
<mgttlinger>
How do I install git-svn? I tried setting git.svnSupport = true in my global nixos nixpkgs.config and I also tried installing gitAndTools.gitSVN. Both didn't result in git svn or git-svn to be recogniced commands. Any pointers what I am missing?
Jackneilll has quit [Read error: Connection reset by peer]
blankhart has joined #nixos
npmccallum has joined #nixos
blankhart has quit [Read error: Connection reset by peer]
genesis_ has joined #nixos
genesis is now known as Guest9812
genesis_ is now known as genesis
Guest9812 has quit [Read error: No route to host]
blankhart has joined #nixos
<johnae>
Is there a canonical way of managing sets of user packages (including overlays) such that I could install them like "nix-env -iA nixos.some-package-collection"?
<infinisil>
johnae: Using an overlay like `self: super: { some-packages-collection = self.buildEnv { name = "collection"; paths = with self; [ hello git ]; }; }`
<infinisil>
Put that in ~/.config/nixpkgs/overlays/myoverlay.nix
<johnae>
infinisil: Ok I'll try that out. Thx.
<Unode>
hi all, I'm getting http://dpaste.com/03XCAYB when building openjdk from source on a machine with 16G of RAM. Is there any quick way to increase the memory allowed to be used during compilation?
<tilpner>
Unode - Try -Xmx
<ryantm>
With a fetchFromGitHub derivation "d" you can do something like d.rev to get the rev, but d.owner, and d.repo do not work. Is that on purpose?
<Unode>
tilpner: sure but where? :)
<tilpner>
Don't know, pass it to the jvm
<infinisil>
ryantm: Sounds like that could be useful, would approve of a PR that adds this
<ryantm>
infinisil: https://gist.github.com/ryantm/44861c748e1ce2df9af14fdcd89ad36b if I add " ownere repo" to the last inherit expression, it works, but I'm not sure if I'm making everything rebuild or doing something else bad like making the derivation dependent on more stuff.
<{^_^}>
[nixpkgs] @globin pushed commit from @WilliButz to master « grafana: 5.2.0 -> 5.2.1 »: https://git.io/f4N08
iyzsong-x has joined #nixos
iyzsong has quit [Ping timeout: 260 seconds]
garbas has quit [Ping timeout: 260 seconds]
<tilpner>
Unode - What platform are you building on?
<johnae>
infinisil: Strangely what you suggested results in an error I don't understand. So I can do this `nix-env -iA nixos.my-emacs` - that installs emacs the way I want it configured. Its an overlay. But when I try to include it in a collection like you suggested - `self: super: { default-packages = self.buildEnv { name = "default-packages"; paths = with self; [ my-emacs ]; }; }`, that results in:
<johnae>
installing 'default-packages'
<johnae>
error: Package ‘emacs-ac-rtags-20170522.2154’ in /nix/store/libg6623nd08yzzjr5pyyblyzfxi4c36-nixpkgs-18.09pre144598.bf4d1f2c15b/nixpkgs/pkgs/build-support/emacs/generic.nix:30 is marked as broken, refusing to evaluate.
<johnae>
a) For `nixos-rebuild` you can set
<johnae>
{ nixpkgs.config.allowBroken = true; }
<johnae>
in configuration.nix to override this.
<johnae>
b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
<johnae>
{ allowBroken = true; }
<johnae>
to ~/.config/nixpkgs/config.nix.
<johnae>
(use '--show-trace' to show detailed location information)
<tilpner>
:(
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<johnae>
infinisil: what I don't get is why emacs-ac-rtags is even mentioned here, it's as if it's trying to install something completely different from my overlay - I don't use that package and my overlay otherwise installs fine
<tilpner>
You are using -iA to install default-packages, right?
<johnae>
tilpner: yeah, for example this works fine: nix-env -iA nixos.my-emacs, but nix-env -iA nixos.default-packages results in the above error
reinzelmann has joined #nixos
<infinisil>
Hmm.. It sounds as if its trying to install all emacs packages
<tilpner>
Right now, you are installing the attrset containing emacsPackags
phdoerfler has joined #nixos
tenten8401_ has quit [Ping timeout: 248 seconds]
<infinisil>
Indeed
agander has joined #nixos
<johnae>
Interesting. I\m a newbie so bear with me. Why is it that works but not ? I dont see it clearly... Also now it seems to conclude that this package I reference from default-packages is a different package than my-emacs as it starts talking about packages and priorities and how I need to set nix-env --set-flag priority NUMBER INSTALLED_PKGNAME
genesis has joined #nixos
<johnae>
Ok that didn't look nice. So nix-env -iA nixos.my-emacs works but not nix-env -iA nixos.default-packages. And while referencing my-emacs.emacs does seem to work, now nix complains about priorities of packages - are they now seen as two different packages by nix?
andymandias has quit [Ping timeout: 260 seconds]
periklis has joined #nixos
andymandias has joined #nixos
tenten8401_ has joined #nixos
philippD has joined #nixos
andreabedini has joined #nixos
andreabedini has quit [Client Quit]
<tenten8401_>
Would types.string be the best option if I'm having people input an IP address as a variable?
<{^_^}>
[nixpkgs] @NeQuissimus pushed to master « linux-hardened: Adjust for Linux 4.17 »: https://git.io/f4NzC
mji3sm has joined #nixos
johnae has quit [Remote host closed the connection]
sir_guy_carleton has joined #nixos
<{^_^}>
[nixpkgs] @vcunat pushed 7 commits to release-18.03: https://git.io/f4Nza
<infinisil>
tenten8401_: types.str
reinzelmann has quit [Quit: Leaving]
<{^_^}>
[nixpkgs] @jfrankenau opened pull request #42765 → puddletag: install desktop entry and man page → https://git.io/f4NzP
joepie91_to_go has joined #nixos
chreekat has quit [Ping timeout: 260 seconds]
johnae has joined #nixos
asuryawanshi has quit [Ping timeout: 260 seconds]
<tenten8401_>
ah yeah my bad
rprije has quit [Ping timeout: 248 seconds]
<{^_^}>
[nixpkgs] @nonfreeblob opened pull request #42766 → nethack: nethack-x11 package created → https://git.io/f4Ngy
alex`` has joined #nixos
logzet has quit [Ping timeout: 245 seconds]
logzet has joined #nixos
<Unode>
tilpner: CentOS 6.5
<Unode>
tilpner: custom nix location, not /nix
ajs124 has joined #nixos
<{^_^}>
[nixpkgs] @ctheune opened pull request #42767 → Security update for git on 17.09: 2.15.0 -> 2.15.2 → https://git.io/f4N2S
<tenten8401_>
and this is the NGINX config it's spitting out for some reason: http://bin.ptdl.co/4yth7
<tenten8401_>
notice how there's 2 of the "listen *:443" blocks
kiloreux has joined #nixos
<tilpner>
Unode - Good luck? Also check "ulimit -a", just to be sure it looks sensible
hxrts has joined #nixos
blankhart has quit [Ping timeout: 245 seconds]
<kiloreux>
How does nix store optimise work exactly ? What's the theory behind it ?
<kiloreux>
In the nix context.
daveo has joined #nixos
<tenten8401_>
either something is broken in the nginx module or I'm just being dumb... it doesn't look like SSL is being used at all on the second 443 port
hxrts has quit [Remote host closed the connection]
<tenten8401_>
If I remove the listen block all of it works fine
tzemanovic has quit [Remote host closed the connection]
Havvy has joined #nixos
tadni_ has quit [Remote host closed the connection]
isHavvyGhosting has quit [Ping timeout: 260 seconds]
<catern>
is there a way to just add a file to a source derivation, or should I just represent adding the file as a patch?
nschoe has joined #nixos
asuryawanshi has joined #nixos
<chreekat>
What's the sanest way to find out what version of a program is installed on NixOS? Right now I'm doing e.g. "ls /nix/store/*plasma*"
asuryawanshi has quit [Remote host closed the connection]
<aminechikhaoui>
chreekat: `nix-env -q` I guess ?
<chreekat>
aminechikhaoui: That shows only what I've installed with `nix-env -i`, which is a different set of things installed via /etc/nixos/configuration.nix. The latter includes both programs listed explicitly, as well as programs included because of enabling services
<LnL>
that will show you everything that your current system configuration depends on
<chreekat>
LnL: nice, thanks
boogiewoogie has joined #nixos
<LnL>
but doesn't include things from nix-env since that's different, but you could do the same with ~/.nix-profile
ryantrinkle has quit [Ping timeout: 256 seconds]
* chreekat
nods
boogiewoogie has left #nixos [#nixos]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr>
nix path-info $(which bash) may be a good middle-ground?
<samueldr>
works for what's in PATH, always
<samueldr>
though, no information as to why it's in PATH
camsbury has joined #nixos
booglewoogle has joined #nixos
<catern>
is there a way for an overlay to add a Python package for multiple versions of Python? i.e. add the same package so it's build with python27 and python36?
jtojnar has quit [Read error: Connection reset by peer]
<catern>
other than just duplicating the package definition in both a set of py27 overrides and py36 overrides
<{^_^}>
[nixpkgs] @ryantm opened pull request #42771 → fetchFromGitHub: make owner and repo accessible → https://git.io/f4NKF
<booglewoogle>
hey, when trying to install new persistent udev-rules I'm getting an error "tee: /etc/udev/rules.d/51-gcadapter.rules: Read-only file system" -- it's not a read-only filesystem though, I mean configuration.nix is in there and written regularly. anyone got a hunch as to what's going on?
<elvishjerricco>
booglewoogle: udev stuff is managed by configuration.nix I think. Check out the options under `services.udev`
<orbekk>
also rules.d is a symlink into the nix store
mariatsji has quit [Ping timeout: 265 seconds]
blankhart has quit [Ping timeout: 268 seconds]
<booglewoogle>
okay, I'll check that. thanks!
<elvishjerricco>
Anyone know why virtualbox vms would be unreasonably slow? I would have thought `boot.kernelModules = ["kvm-amd" ];` would be all I'd need, which is in my hardware-configuration.nix
jtojnar has joined #nixos
knupfer has joined #nixos
<jtojnar>
what is the correct way to fix the root file system?
<jtojnar2>
Does NixOS have recovery mode like Ubuntu does?
tzemanovic has quit [Ping timeout: 260 seconds]
<elvishjerricco>
For instance, I tried to create a gpg key in a VM and it didn't finish generating random bytes within 15min. That's completely unusable.
<goibhniu>
jtojnar2: what kind of recovery mode does ubuntu have? I presume you know about rolling back to older generations etc.
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #42767 → Security update for git on 17.09: 2.15.0 -> 2.15.2 → https://git.io/f4N2S
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to release-17.09: https://git.io/f4N6H
<sir_guy_carleton>
elvishjerricco: is just virtualbox under nixos that is too slow?
<the-kenny-w>
elvishjerricco: are you sure this is a performance issue and not some "gnupg decides it doesn't have enough entropy yet" thing?
<elvishjerricco>
the-kenny-w: It is a performance issue. Anything that requires any nontrivial amount of CPU takes forever. Though htop on the host doesn't show much CPU usage
<elvishjerricco>
sir_guy_carleton: Yes
<jtojnar2>
goibhniu: IIRC it let's you enter a console without file systems mounted
<jtojnar2>
So you can run fsck etc
<sir_guy_carleton>
so running virtualbox under another os on your machine works fine then?
<the-kenny-w>
elvishjerricco: Did you enable all the virtualization stuff in the vm's config? For me virtualbox is fast.
<elvishjerricco>
sir_guy_carleton: Oh, sorry I misunderstood your question. I do not have another OS on this machine to test that on
<elvishjerricco>
the-kenny-w: The virtual machine was spun up via vagrant. Not sure what specifically I should do for that
<the-kenny-w>
ah. I just use the GUI here. Running a windows vm for photo editing
<acowley>
If I list packages for GUI applications in my environment.systemPackages, my DE (plasma) doesn't seem to know about them (they don't appear in application menus). Is there a way to fix that?
<jluttine>
on nixos-unstable, emacs isn't able to use ksshaskpass anymore. it used to be able to get login information with that
<sir_guy_carleton>
acowley: try resetting your menu settings
logzet has quit [Remote host closed the connection]
blankhart has joined #nixos
aarvar has joined #nixos
<sir_guy_carleton>
acowley: i don't remember exactly, but click on the 'start' menu icon, click edit applications and it will take you to a window. one of the drop downs will have 'reset to system applications' and it will prompt you to confirm
<sir_guy_carleton>
acowley: it will get rid any customization you done, but it will sync your setting with what's on the system
<sir_guy_carleton>
sorry i'm not more specific, i haven't done it in a while and i'm not on plasma 5 right now
roconnor has quit [Ping timeout: 260 seconds]
booglewoogle has quit [Remote host closed the connection]
<mpickering>
anyone seen this error when using fetchGithub before "error: key does not contain a section: .url"
<acowley>
sir_guy_carleton: Thank you, that worked!
<sir_guy_carleton>
acowley: your welcome
<acowley>
sir_guy_carleton: It was worded slightly differently "Restore to System Menu" (which seems like strange wording)
<tenten8401_>
Anyone know if there's a way to evaluate a mkIf statement inside of text, or should I try defining a variable of sorts and calling it from inside the text?
<acowley>
sir_guy_carleton: I was also a bit worried it would be too aggressive in resetting things, but it seems to have limited its effects to application selection menus.
<tenten8401_>
I'm writing to a configuration file and need to put https:// or http:// depending on whether the user has enabled SSL or not
coot has joined #nixos
humanoyd has quit [Quit: WeeChat 2.1]
booglewoogle has joined #nixos
newhoggy has quit [Remote host closed the connection]
<nschoe>
Hi everyone, I was wondering if any of your had experience installing ROS with nixOS?
<acowley>
tenten8401_: I don't think mkIf is (or even can be) used outside of the module system
<tenten8401_>
ah fun, I'll see if I can do a variable then
<acowley>
nschoe: I do
<nschoe>
acowley, nice! Is there a package? I can't seem to find it.
<nschoe>
And I'm not very good at nix packaging either. So I'm reading the thread you linked to get some intel, but I think I'm out of my league here :/
<acowley>
nschoe: Everyone is out of their league there
<acowley>
nschoe: To be fair, ROS coupling itself fairly tightly to old Ubuntu releases provided a pretty radical leap in stability for robotics software.
<nschoe>
:/
<nschoe>
acowley, the FHS things looks promising.
<nschoe>
acowley, yeah :/ I find it sad that for too many things "Linux == Ubuntu" :/
<nschoe>
acowley, for ROS this looks like it's even worse.
asuryawanshi has joined #nixos
<mpickering>
pie_: What do you mean?
<acowley>
nschoe: So if an old Trust install or something has everything you need, it's definitely the easiest way to go. I never do things the easy way, so I've interoperated with ROS from pretty much every inconvenient posture there is.
<illegalprime[m]>
I have an app wanting `libGLX_mesa.so.0` but I can't find any package that provides it, it's also not in `/run/opengl-driver/lib`. What should I do?
lfish has joined #nixos
<acowley>
nschoe: Yeah, it rubs me the wrong way philosophically, but if you see someone who doesn't care just go with the flow it works very smoothly.
<nschoe>
yeah?
<acowley>
nschoe: What parts of ROS do you need, btw?
<nschoe>
I'll first try in a VM then, because I'm new to ROS too so too many new things at the same time isn't too good.
<acowley>
Also, just to be totally clear, I currently run ROS in docker on nixos
<nschoe>
acowley, not sure : I'm actually learning ROS right now.
ryantrinkle has joined #nixos
<nschoe>
acowley, a docker based on Ubuntu?
<acowley>
I have a docker container that integrates AMD's ROCm stuff and ROS. I can use rviz, it's actually okay.
<acowley>
nschoe: Yes
<acowley>
nschoe: But i forward X to it
<acowley>
nschoe: Or the other way around. So I just open terminal windows to interact with ROS, but can launch GUI applications (i.e. rviz), and they work.
<acowley>
nschoe: There are official ROS docker images
<booglewoogle>
hey again. i'm trying to build something -- https://github.com/FasterMelee/FasterMelee-installer, via the curl command -- and getting some errors of missing libraries ( https://pastebin.com/V8Rt8u9A ) that I'm positive are installed via configuration.nix. now I assume I'll have to setup a nix-shell to access those for building, but I'm a little overwhelmed. does anyone have a moment to help me (learn using nix-shell) with this ex
<booglewoogle>
ill new to nixos :p
<nschoe>
acowley, oh okay, so would you recommend this over using a VM?
<acowley>
nschoe: The downside to doing things with docker is that your development environment becomes awkwardly split between the docker image and your NixOS desktop.
<acowley>
nschoe: I wish I had a better answer, but docker will get you started, and it'd be great if you joined the effort to sort out something better
<nschoe>
I'll go with the docker version and if it fails try a VM. Because I think trying to package ROS for nix is too much for me right now.
<nschoe>
acowley, yeah I'd love this, but I'm still struggling with simple nixOS tasks, so I doubt I'll be of any use :/
jperras has joined #nixos
<nschoe>
but I'll try to follow: I really like nixOS, and I think it is very suitable for robots, so beign able to deploy ROS on it would be very nice.
<acowley>
nschoe: It doesn't make it any easier that nixpkgs changes so much, too. I think the trajectory is positive in that we will be able to grab all the particular Python package versions we need using nixpkgs tooling without much fuss soon if not now.
<acowley>
Yeah, I think NixOS for robots makes a ton of sense.
myshoe has quit [Remote host closed the connection]
endformationage has joined #nixos
<gchristensen>
+1
<nschoe>
acowley, indeed.
erasmas has joined #nixos
<slabity[m]>
How can I make a required option in a module?
<slabity[m]>
If I have a module that has a `mkOption` being imported into my `configuration.nix`, I'd like the build to fail if the option is `null`
asymmetric_ has quit [Remote host closed the connection]
<Myrl-saki>
clever: Help meee I'm stupiidd
asymmetric_ has joined #nixos
bollu has joined #nixos
joepie91 has quit [Excess Flood]
lfish has quit [Ping timeout: 260 seconds]
mariatsji has joined #nixos
etu has quit [Ping timeout: 240 seconds]
stammon has quit [Ping timeout: 240 seconds]
jtojnar has quit [Read error: Connection reset by peer]
jtojnar2 has quit [Read error: Connection reset by peer]
<symphorien>
romildo: did you rebase you branch on master when testing locally ?
beaky1 has joined #nixos
jtojnar has joined #nixos
Cypi_ has joined #nixos
<jeaye>
vaibhavsagar: Looks like they require Ubuntu, specifically, and don't even work with any other distro. They specifically install stuff with apt as well, so it'd likely need to run in a pretty Ubuntu-like container.
<slabity[m]>
Is there a function that takes a variable name and returns the name and value in a set? Something like `getVarSet config.myVar` would return `{ name: "myVar", value: ${myvar} }` if that makes any sense
jtojnar has quit [Remote host closed the connection]
<romildo>
symphorien, no
elasticdog has quit [Ping timeout: 264 seconds]
jtojnar has joined #nixos
MercurialAlchemi has quit [Ping timeout: 240 seconds]
<symphorien>
maybe meson changed things since where you branched off
<samueldr>
on the exact commit (not rebased) off your PR I do have the same failure as ofborg
<infinisil>
Myrl-saki: Nobody can help if you don't ask the question..
MercurialAlchemi has joined #nixos
__Sander__ has quit [*.net *.split]
midchildan[m] has quit [*.net *.split]
musicmatze[m] has quit [*.net *.split]
Adev[m] has quit [*.net *.split]
abbafei[m] has quit [*.net *.split]
devr[m] has quit [*.net *.split]
mathis[m] has quit [*.net *.split]
comphez[m] has quit [*.net *.split]
teto1 has quit [*.net *.split]
kp__ has quit [*.net *.split]
abcrawf has quit [*.net *.split]
mtjmullen has quit [*.net *.split]
russiancow[m] has quit [*.net *.split]
jack[m] has quit [*.net *.split]
aaronc[m] has quit [*.net *.split]
trubii[m] has quit [*.net *.split]
jgl[m] has quit [*.net *.split]
r3mfKm[m] has quit [*.net *.split]
rnhmjoj[m] has quit [*.net *.split]
tokudan[m] has quit [*.net *.split]
Obscurity[m] has quit [*.net *.split]
thefloweringash[ has quit [*.net *.split]
wzy8L-B2[m] has quit [*.net *.split]
hendrik[m]1 has quit [*.net *.split]
Naughtmare[m] has quit [*.net *.split]
rszibele[m] has quit [*.net *.split]
gh0st[m] has quit [*.net *.split]
M-ms has quit [*.net *.split]
lycium[m] has quit [*.net *.split]
tamwile[m] has quit [*.net *.split]
darkestmeson has quit [*.net *.split]
adisbladis[m] has quit [*.net *.split]
vorot93[m] has quit [*.net *.split]
mgttlinger[m] has quit [*.net *.split]
happyente[m] has quit [*.net *.split]
bkchr[m] has quit [*.net *.split]
tet[m] has quit [*.net *.split]
darkmeson has quit [*.net *.split]
sudoreboot[m] has quit [*.net *.split]
WilliamHamilton has quit [*.net *.split]
dywedir[m] has quit [*.net *.split]
attero has quit [*.net *.split]
offlinehacker[m] has quit [*.net *.split]
willghatch[m] has quit [*.net *.split]
dtz has quit [*.net *.split]
herzmeister[m] has quit [*.net *.split]
smrtak[m] has quit [*.net *.split]
nh2[m] has quit [*.net *.split]
ok2 has quit [*.net *.split]
Khetzal has quit [*.net *.split]
PolarIntersect has quit [*.net *.split]
jasom has quit [*.net *.split]
Cypi has quit [*.net *.split]
mightybyte has quit [*.net *.split]
himmAllRight has quit [*.net *.split]
lewo`` has quit [*.net *.split]
cruxeternus has quit [*.net *.split]
pyvpx has quit [*.net *.split]
bgamari has quit [*.net *.split]
arbxs has quit [*.net *.split]
Profpatsch has quit [*.net *.split]
sphalerite has quit [*.net *.split]
beaky has quit [Ping timeout: 255 seconds]
<Myrl-saki>
infinisil: It's not exactly a question. More like a huge oversight of mine. :P
<Myrl-saki>
infinisil: Basically, I just remembered right now, after spending like 3-4 days on this. That I can't compile x86 for NixOps on my ARM tablet.
<Orbstheorem>
Hi, is there a way to install NixOS on a remote machine which has no internet access? I built the system with `nix build` in my machine, but when I try to run `nixos-rebuild switch --target-host ...`, It copies the closure, but the other host tries to contact the nixos.org cache and keeps increasing the timeout: https://paste.gnugen.ch/raw/vAm2
<cocreature>
should I be able to disable signature requirements using "--option require-sigs false"? I still get an error about signatures being invalid (for a cache served using nix-serve -p 8080)
szicari_ has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
<samueldr>
getting from here to there is a bit pricey
szicari has joined #nixos
<clever>
Orbstheorem: try manually copying with nix-copy-closure first?
hxrts has joined #nixos
phdoerfler has joined #nixos
<jtojnar>
Orbstheorem: would `--option substituters ''` work?
szicari has quit [Client Quit]
szicari has joined #nixos
phdoerfler1 has quit [Ping timeout: 276 seconds]
szicari has quit [Client Quit]
szicari has joined #nixos
orivej has joined #nixos
Deluvi has quit [Quit: Page closed]
<Orbstheorem>
Something might have happened. It's not responding anymore :)
booglewoogle has left #nixos [#nixos]
<Orbstheorem>
The server it's in my place, I was connected via SSH
<Orbstheorem>
the VPN seems to be down, maybe there's an outage x)
init_6 has quit [Ping timeout: 276 seconds]
kiloreux has quit [Quit: Leaving]
hxrts has quit [Ping timeout: 245 seconds]
beaky1 is now known as beaky
szicari has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
szicari has joined #nixos
Piece_Maker has quit [Quit: byeeeeeeeeeeeeeee]
ipj[m] has joined #nixos
Acou_Bass has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fgaz has quit [Ping timeout: 260 seconds]
dkibi has quit [Ping timeout: 256 seconds]
knupfer has quit [Remote host closed the connection]
<romildo>
jtojnar, samueldr, I have been using "nix-build --option build-use-chroot true" without problems for sandboxing for a long time, since I started contributing. By then it was in the PR template.
<romildo>
The nix manual says: All "chroot"-containing strings got renamed to "sandbox". In particular, some Nix options got renamed, but the old names are still accepted as lower-priority aliases."
<grp>
I'm trying to keep different concerns in separate files or sections in the conf. For example, services.udev.extraRules is hardware specific, so I put it in the hardware section, but then I tried to define services = { openssh.enable = true; } but this is treated as an error since 'services' is already defined. How can I append these so they don't conflict while still keeping separate definitions?
<romildo>
The nix manual also says: Many configuration options have been renamed, either because they were unnecessarily verbose (e.g. build-use-sandbox is now just sandbox) or to reflect generalised behaviour (e.g. binary-caches is now substituters because it allows arbitrary store URIs). The old names are still supported for compatibility.
<samueldr>
grp: split it into different files, or look into mkMerge
<samueldr>
for different files, the config `imports` can be used `imports = [ ./file.nix ./file.nix ];`
<grp>
I see. Good! thanks a lot
<grp>
:D
<samueldr>
I would argue that multiple files is the saner solution for using in your configuration
<tenten8401_>
Is there a way to convert a potentially null value into a string?
<samueldr>
mkMerge is more for conditionals in the modules implementations
<romildo>
jtojnar, samueldr, I do not see a reason for "nix-build --option build-use-chroot true" (or "nix-build --option sandbox true") stop working.
<samueldr>
(I was corroborating that I do reproduce ofborg's failure, though I have no idea about sandbox and CLI options)
<tenten8401_>
Trying to add a potentially null value into a configuration (it's alright to be null) but I can't coerce a null to a string
<infinisil>
> let val = null; in if val == null then "Is null!" else "Not null" # tenten8401_
<{^_^}>
"Is null!"
<samueldr>
> toString null
<{^_^}>
""
<samueldr>
depending
<tenten8401_>
toString is what I was looking for I'd like to say
<samueldr>
infinisil's is good if you want to do something else depending on null values
<tenten8401_>
yeah, currently I just want to echo nothing if it's null
<tenten8401_>
which that would work
<infinisil>
> let val = null; in optionalString (val != null) "Some string"
<{^_^}>
undefined variable 'optionalString' at (string):150:20
<infinisil>
> let val = null; in lib.optionalString (val != null) "Some string"
<{^_^}>
""
<infinisil>
> let val = 10; in lib.optionalString (val != null) "Some string"
<{^_^}>
"Some string"
<infinisil>
If you need some other thing than the value itself as the string (if it's not null)
<tenten8401_>
In my string, could I just ${toString my.config.value}?
<samueldr>
looks fine depending :)
<tenten8401_>
I wish it'd give me a line number on a multi-line string where the error is
<tenten8401_>
keeps throwing that same cocering null error
hxrts has quit [Ping timeout: 240 seconds]
<tenten8401_>
oh found it
<tenten8401_>
I'm dumb
<tenten8401_>
the original value I was meaning to "toString" I forgot
<tenten8401_>
but I got basically every other value
<leo60228>
network-online.target is adding a good 15 seconds to my startup time, and IMO should not be waited for by the display manager. However, I can't figure out how to change this, even for my own services. How do I fix this?
<qyliss^work>
Can I tell nix-build to always build a package from source rather than using the cached version? So I can watch it build for debugging.
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
szicari has joined #nixos
graphene has quit [Remote host closed the connection]
adam-6520493 has joined #nixos
ryanartecona has joined #nixos
igo95862 has joined #nixos
romildo has quit [Quit: Leaving]
<slabity[m]>
Does anyone know if there's a builtin/lib function that lets you build up a list by supplying a list of values and a list of booleans to decide if it goes in the list or not? Something like `buildList [ true false true] [ 1 2 3] => [1 3]`?
graphene has joined #nixos
ihar has joined #nixos
phdoerfler has quit [Quit: Leaving.]
PolarIntersect has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
hxrts has quit [Ping timeout: 240 seconds]
graphene has quit [Remote host closed the connection]
igo95862 has quit [Client Quit]
<samueldr>
tenten8401_: Mic92's approach will get you going quickly if you want to do your thing
<Guest74446>
Working on a Rails project, I'm trying to do a `bundle update rails` - but because Nokogiri is required, it's trying to build Nokogiri. I could change my shell.nix to make this work, but it seems like it should be possible to just update the Gemfile.lock without installing everything.
Guest74446 is now known as judson
<judson>
(good grief with NickServ)
<judson>
Did folks see my question (as Guest74446)?
<judson>
Oh: bundle lock --update rails
Tobba has joined #nixos
<samueldr>
or work under a nix-shell where nokogiri's dependencies are met judson?
<samueldr>
oh, mis-read
<Myrl-saki>
Oh, fixed it. I needed a current load env variable.
<{^_^}>
[nixos-channel-scripts] @twhitehead opened pull request #19 → Jobsetevals is sorted assending so index from end (closes #18) → https://git.io/f4AJA
Tobba_ has quit [Ping timeout: 256 seconds]
drewr has joined #nixos
tmaekawa has joined #nixos
<Myrl-saki>
Is there a builders-use-substitutes for Nix 1?
<catern>
if you strace idris, you will see for yourself that even if those are both unset, it will still use an ld pulled from who knows where
<infinisil>
Hmm
<infinisil>
My idris is wrapped with Nixos' gcc
<catern>
presumably somewhere at compile time or something
<infinisil>
in PATH
<catern>
oho!
<catern>
yes
<catern>
I see
<infinisil>
catern: Check out cd $(dirname $(realpath $(which idris)))
<catern>
the same for mine
<catern>
oops :)
<catern>
so, hm
<catern>
what's the real solution here?
<catern>
presumably people usually don't want to use ld from PATH for idris
<infinisil>
Try to gist the error? ix.io should really work
<catern>
again, I can't do that
<infinisil>
You can't pipe into a curl?
<catern>
no.
<infinisil>
.. alright, um
leat has joined #nixos
leat has quit [Remote host closed the connection]
<infinisil>
How do you know it uses not the cc from nix?
<catern>
what do you mean?
<infinisil>
According to the source this can't really happen due to the wrapping
leat has joined #nixos
<infinisil>
You say you get compiler errors because it uses the ld/cc from your system
<infinisil>
and not from nix
<catern>
the wrapping sets PATH=$PATH:/nix/store/...-gcc-wrapper/bin
<catern>
that will be overridden if ld appears in the existing value of PATH
<infinisil>
Ohhh right
<infinisil>
sorry
<catern>
maybe the right thing to do is set IDRIS_CC in the wrapping
<{^_^}>
[nixpkgs] @svanderburg pushed to release-18.03 « nodePackages: regenerate with node2nix 1.6.0 »: https://git.io/f4Amp
<catern>
I think that would make a lot of sense
<infinisil>
Yeah
<infinisil>
But why is PATH postfixed and not prefixed..
<catern>
then a user could stil override it but they would be less likely to do so unintentionally
<infinisil>
Hmm right
<infinisil>
Can you make a PR for that?
<catern>
infinisil: because that way a user can override it - though unfortunatey it's really easy to unintentionally override PATH with all kinds of extra things
NinjaTrappeur has joined #nixos
hellrazor_m has joined #nixos
<catern>
(regarding why PATH postfixed not prefixed)
<infinisil>
Yeah
<catern>
where is the actual idris compiler derivation?
<infinisil>
It's in hackage-packages.nix, but that's auto-generated
<infinisil>
mpickering: Ah, you need `-I nixpkgs=/path/to/nixpkgs`
<infinisil>
-f is for when it should actually eval a specific file, which of course doesn't work with an expression on the command line, because it can't eval 2 things at once
<infinisil>
mpickering: Or you can just use `nix build '(with import /path/to/nixpkgs {}; hello)'`
<mpickering>
The second option won't work because the path is actually a url
<mpickering>
I think the first might though?
<infinisil>
Yeah
goibhniu has quit [Ping timeout: 256 seconds]
<mpickering>
I don't really want nix-build at all do I
fractal has joined #nixos
<infinisil>
Well, I keep using nix-build because I haven't heard much good about the nix commands :P
seppellll has quit [Remote host closed the connection]
hellrazor_m has quit [Quit: "I fear the day at which our technology surpasses our humanness. On the world there will only be a generation of idiots." - Albert Einstein]
blankhart has quit [Read error: Connection reset by peer]
seppellll has joined #nixos
blankhart has joined #nixos
tzemanovic has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @ambrop72 opened pull request #42787 → kmod-blacklist-ubuntu: Fix typo from commit "do not blacklist i2c_i801" → https://git.io/f4AOg
lord| is now known as usr_bin_zsh
usr_bin_zsh is now known as lord|
crmlt has quit [Ping timeout: 256 seconds]
hexagoxel has quit [Quit: ZNC 1.6.5+deb1 - http://znc.in]
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « lxqt.compton-conf: 0.3.0 -> 0.4.0 (#42513) »: https://git.io/f4AGP
jperras has quit [Quit: WeeChat 2.1]
<grp>
and that's the root of the issue: I've been writing virtualisation confs and my brain constantly raises this spell flag
<gchristensen>
aye, yeah
camsbury has quit [Ping timeout: 276 seconds]
phdoerfler1 has joined #nixos
phdoerfler has quit [Ping timeout: 240 seconds]
chreekat has quit [Ping timeout: 256 seconds]
<infinisil>
mpickering: (Reminder that you might want to update the discourse issue, just saw it in my open urls)
<mpickering>
There are still unresolved quesions on there
<samueldr>
unrezolved quezions
* samueldr
ducks
<Unode>
tilpner: :)
hxrts has quit [Ping timeout: 245 seconds]
blankhart has quit [Ping timeout: 268 seconds]
bennofs has joined #nixos
<infinisil>
mpickering: You mean the "Is there some official documentation which explains how all the new nix commands work? Am I supposed to be using the old ones or the new ones."?
<mpickering>
Yes
<infinisil>
There is only the --help outputs
<infinisil>
And you can use either one of them, it's just that the new ones don't support everything (yet?)
<infinisil>
The old ones are totally fine to use and probably won't even be deprecated
<infinisil>
s/even/ever
<mpickering>
I would hope they are deprecated
<infinisil>
nix-shell can't get deprecated because the new command can't replace the shebang behaviour
<infinisil>
And probably most people still use nix-* commands everywhere
<infinisil>
And the new commands can't even do all the things the old commands could
<infinisil>
Yes they might be deprecated, eventually, that will take a long time I think
<tilpner>
infinisil - Importing /profiles/minimal.nix gets it to 698M
<infinisil>
Oh nice, although that's not usually what users do
<infinisil>
I used an empty configuration.nix for my test
<LnL>
there are a couple of options that can be disabled that might influence the size, like programs.man.enable and programs.info.enable if most of the base packages put those in a separate output
<infinisil>
tilpner: Hmm, but I guess people who want to minimize it should import it
joepie91_to_go has quit [Ping timeout: 260 seconds]
ryanartecona has joined #nixos
msci3 has quit [Quit: leaving]
grp has quit [Quit: box shutting down...]
andymandias has quit [Ping timeout: 260 seconds]
ryanartecona has quit [Ping timeout: 256 seconds]
dbmikus has quit [Quit: WeeChat 2.1]
mkoenig has quit [Ping timeout: 256 seconds]
mkoenig has joined #nixos
drewr` has joined #nixos
andymandias has joined #nixos
drewr has quit [Ping timeout: 240 seconds]
drewr` is now known as drewr
drewr has quit [Changing host]
drewr has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
bennofs has quit [Ping timeout: 265 seconds]
Guest31311 has quit [Remote host closed the connection]
sbdchd has joined #nixos
ariutta has joined #nixos
npmccallum_ has quit [Quit: npmccallum_]
tadni has joined #nixos
tadni_ has joined #nixos
tadni_ has quit [Remote host closed the connection]
<Guanin>
Hi, are there any good documents that describe switching from arch (or any other distro, basically) to nixOS, besides the apt-get vs. nix comparison?
<hlolli>
I'm on unstable and did nix-channel --update && nixos-rebuild switch and got error, what do you peeps do in such a situation, the stacktrace is here: https://pastebin.com/RZCAPwFf
joepie91_to_go has joined #nixos
<hlolli>
looks like the package once-1.3.3.tgz failed, and I don't know which packages are depending on it, of which I have declared in my nix config
<ariutta>
I'm creating a Nix package for a tool that uses one or more of about 15 different pre-built, portable databases. These databases can be up to 176M zipped, 717M unzipped. I'm assuming it'd be bad to include these databases in the Nix package?