<clever>
red[m]: there is basically no difference between configuration.nix and the modules in nixos
<qyliss>
So Discourse is the best place for that. Plenty of people read it, myself included (for the categories I'm interested in, at least).
rsoeldner__ has quit [Ping timeout: 276 seconds]
<clever>
red[m]: the modules are just a handy way to organize things that a service needs to run, and provide a simpler way for a user to enable it all at once
<spiderbit>
what's wrong with mailing lists am a emacs guy and don't like this fancy browser uis :D
<qyliss>
spiderbit: I use it through Emacs
<qyliss>
(and am a fellow mailing list fan)
<qyliss>
it mostly works, although it's not quite as good as a proper mailing list
<qyliss>
but most people like it better
<hpfr[m]>
clever: thanks. with -vvv, I get stuck at "checking substituter 'ssh-ng://builder' for path '/nix/store/hash-foo' for a whole bunch of paths, which message "locking this thread to CPU {1,2,3,4}" "closing daemon connection because of an exception" "killing process xxxxx" for most of the "checking substituter" messages
<qyliss>
spiderbit: make sure to enable Mailing List Mode in settings once you have an account
<spiderbit>
"discourse-view" that?
<spiderbit>
or what did you mean with you use it through emacs (w3m)?
<qyliss>
No, through my mail client
<spiderbit>
gnus?
<qyliss>
Notmuch
<spiderbit>
ahh you get mmails
<spiderbit>
now I get it
<qyliss>
yeah
<qyliss>
If you turn on Mailing List Mode you get mail for every post
<spiderbit>
but spams the mail box :D like nntp therefor better :)
<qyliss>
And you can reply to them (or even start new threads although I've never done that)
<qyliss>
Nobody has implemented NNTP yet
<qyliss>
Just redirect it to a mail folder
<spiderbit>
k I consider it :D
<red[m]>
I miss running innd
<red[m]>
:-D
<qyliss>
red[m]: I got halfway through packaging that a couple of months ago
<qyliss>
but it does all sorts of weird stuff in its make install
<red[m]>
yeah it does - it's pretty crusty.
<qyliss>
I think I got most of the way there, but not quite enough for it to actually start
<qyliss>
And then I discovered public-inbox does read-only NNTP and decided that was good enough for me, and have been packaging that instead
<qyliss>
But innd would still be great to have at some point
<qyliss>
leafnode is in nixpkgs, although there's no NixOS module
drakonis_ has quit [Ping timeout: 276 seconds]
drakonis_ has joined #nixos
wfranzini has quit [Remote host closed the connection]
<red[m]>
clever: I'm not quite sure how "systemd.services.serviceConfig.User = "foo"" can be made to just apply to the one application and user (bacula)
joko has quit [Remote host closed the connection]
<red[m]>
... and something keeps changing /var/lib/bacula to be owned by root
<red[m]>
which then means the application can't write any of its data
<clever>
red[m]: this generates a systemd service, which gets ran as a given user
<red[m]>
bingo - thank you
<clever>
red[m]: i made a typo when i showed the .user earlier
<hpfr[m]>
clever: I responded above about the distributed build issue I'm having, any ideas?
<red[m]>
I'm checking it now
<red[m]>
it looks like it uses multiple services - I guess I'll blat it all and see what happens
<red[m]>
ugh, it writes the pid file to /run so now won't start at all
<clever>
red[m]: directly in /run or a subdir? does it have an option to move it?
<red[m]>
starting to wonder if it would be easier to just start packaging it again
wildtrees has joined #nixos
<clever>
hpfr[m]: not sure what else could be checked, try doing `nix-store -r /nix/store/foo` using something the remote machine has, but the local doesnt, and also not in the binary cache
kleisli has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jel6p
<red[m]>
clever: it
<red[m]>
*
alex`` has quit [Quit: WeeChat 2.6]
<red[m]>
clever: it's hard-coded in the package expression
ris has quit [Ping timeout: 246 seconds]
<red[m]>
huh - I just noticed that someone else is working on the module - there's a WIP PR for it
wildtrees has quit [Quit: Leaving]
red__ has joined #nixos
rsoeldner__ has joined #nixos
<hpfr[m]>
man nix-store doesn't seem to define the -r option for nix-store
<clever>
hpfr[m]: the man page confused me too, it looks more like 5 man pages cat'd together
<red[m]>
Thanks for the advice clever - I don't think there's a clean way to fix this. I'll see how much butchery it takes.
red__ has quit [Client Quit]
alex has joined #nixos
NoctisLabs has joined #nixos
<red[m]>
clever: - one other question - do you know what package su lives in?
<red[m]>
I'm guessing the person who maintains the package has it in their path somehow in an impure form
<red[m]>
I can't follow the symlinks to find it in the store because it's not there
<red[m]>
it's in /run/wrappers/bin
<red[m]>
(can I add it in the systemd.services.*.path?)
<spiderbit>
ok just see that nixos mailing list ist basically dead :D
Okinan has joined #nixos
<spiderbit>
it can be a bit frustrating to use nixos from time to time :D github errors take often several moths or get not fixed at all even after months then you upgrade the system because that fixes the issue but something else breaks then irc nobody that can help you and mailing lists are down, too :D
rsoeldner__ has quit [Ping timeout: 276 seconds]
sk8forether has quit [Quit: Connection closed for inactivity]
shibboleth has quit [Quit: shibboleth]
<red[m]>
Well crap - this package is so broken - it doens't even give the application access to the tape devices.
<red[m]>
I guess I can just remove the "service" and configure it all by hand myself right?
<clever>
spiderbit: the option named path, is also of type path
<clever>
spiderbit: and it must point to a build of nixos (from nix-build '<nixpkgs/nixos>' -A system`) to function correctly
thc202 has quit [Ping timeout: 250 seconds]
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
selfsymmetric-mu has joined #nixos
<AmandaC>
I get the impression the number of these I'm seeing isn't good for this sd image creation: error while reading directory <path>: Cannot allocate memory
<clever>
AmandaC: how much memory does the system have?
<AmandaC>
4G + 8G swap
<clever>
thats weird
<AmandaC>
and according to top cptofs is using 82%
<clever>
free -m ?
<AmandaC>
clever: would free come with the standard nixos package set? either it's taking awhile because command-not-found is trying locate it, or the VM has comepltely filled u
<clever>
AmandaC: yep, so nothing is storing huge things in a tmpfs, id say its all cptofs to blame
smatting has quit [Ping timeout: 246 seconds]
<o1lo01ol1o>
Using `haskell.nix`, does anyone know the recommended way to make `pkgs.llvm` available to a a `stack-to-nix` project so that all dependencies with -fllvm flags can find llvm when they need it?
toppler has quit [Read error: Connection reset by peer]
andi- has quit [Remote host closed the connection]
<jonathan34>
Is there a way to tell nix-env to use a different channel. I have 2 channels, 1 for stable and 1 for unstable. And I would like to be able to specify which one a package is installed from.
laalf has joined #nixos
dbmikus has quit [Ping timeout: 265 seconds]
spacefrogg has joined #nixos
xelxebar has quit [Ping timeout: 260 seconds]
xelxebar has joined #nixos
andi- has joined #nixos
drakonis has joined #nixos
<jonathan34>
Or are channels only part of the declarative package management system?
<clever>
jonathan34: when you do `nix-env -iA nixos.hello`, thats telling it to use a channel named nixos
drakonis_ has quit [Ping timeout: 240 seconds]
<clever>
if each channel has a unqiue name in `nix-channel --list`, then you can refer to it directly with nix-env
<clever>
superbaloo: nix-store doesnt really interact with nix files, only derivations
drakonis_ has joined #nixos
schjetne has quit [Ping timeout: 250 seconds]
drakonis has joined #nixos
<danderson>
So, I was confused by `environment.systemPackages` vs. `programs` in nixos, and could use a sanity check: is it correct that entries in `programs` roughly add an `environment.systemPackages` entry and some other stuff (e.g. setcap wrapper) ?
<superbaloo>
clever: okay
wedens has joined #nixos
rsoeldner__ has joined #nixos
hiratara has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
<clever>
danderson: programs.screen.screenrc is just a helper, to generate /etc/screenrc for you, and since its of type lines, nixos will merge things between multiple files
endformationage has quit [Quit: WeeChat 2.6]
nicks0n has joined #nixos
ebzzry has quit [Read error: Connection reset by peer]
domogled has quit [Quit: domogled]
http is now known as nix0n
<danderson>
clever: got it, thank you!
justanotheruser has quit [Ping timeout: 240 seconds]
ebzzry has joined #nixos
andgate has joined #nixos
<andgate>
I upgraded to 19.09 but I'm having trouble changing my kde settings. Everytime I try to change the monitor config, it resets to defaults when I click "apply". Is this a known issue?
<wedens>
is it possible to somehow copy closure with /mnt/nix/store as nix store path on target?
<{^_^}>
nixops#1189 (by cleverca22, 8 weeks ago, open): plan for supporting custom partition layouts and custom FS's on any backend
<clever>
wedens: that tells the nix on machine1, to first ssh into machine 2
<clever>
then it tells the nix on machine 2, to do what i said earlier, and prefix all paths with /mnt/
<snifffy>
A friend of mine tells me linux is really a tribute to Richard Nixon and Deepthroat
o1lo01ol1o has quit [Ping timeout: 250 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
rsoeldner__ has quit [Ping timeout: 276 seconds]
justanotheruser has joined #nixos
<wedens>
clever: but for more manual way to do it using `nix copy --to local?root=/mnt /nix/store/foo` will work too, right? (with local machine that I can boot from live usb)
<clever>
wedens: if its already in the /nix/store of the live usb, sure
<clever>
wedens: you will also want step 4 of the above issue, to setup the bootloader, once it has been copied
<nicks0n>
Principal Systems Engineer at Amazon Robotics
<nicks0n>
little hottie
doublex has quit [Remote host closed the connection]
palo has quit [Ping timeout: 276 seconds]
palo1 is now known as palo
doublex has joined #nixos
<MichaelRaskin>
clever: at large scale, there is also lowest-bit noise in webcams
* nicks0n
ponders?
<nicks0n>
link webcams
schjetne has joined #nixos
kshi has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<clever>
MichaelRaskin: and that might be part of what the lava lamps are helping with
<clever>
MichaelRaskin: maybe the lava lamps dont even matter? and its just "art" infront of a webcam that only uses the lowest bits! lol
schjetne has quit [Ping timeout: 268 seconds]
<MichaelRaskin>
clever: for lowest-bit entropy you want the webcams to be in a dark room
<MichaelRaskin>
Lava lamps do have unstable dynamics (like weather, but on a more convenient scale)
<clever>
ah
<wedens>
is there an example of dropbear setup with wireless network?
<clever>
wedens: loading firmware requires a full udev (or a lot of hacky bash scripts), and most wifi cards need firmware to function
<clever>
wedens: i know, because i was insane enough to re-implement firmware loading in bash once, to get nfs root over wifi, lol
drakonis has quit [Read error: Connection reset by peer]
<clever>
since lost the code though
toppler has quit [Read error: Connection reset by peer]
<MichaelRaskin>
Should we just provide a covenient option to actually put udev in initramfs, though?
<MichaelRaskin>
On a 4+ GiB RAM having a large initramfs doesn't actually cost that much
<MichaelRaskin>
(That I can confirm from experience)
<clever>
MichaelRaskin: i think its still IO expensive
<clever>
MichaelRaskin: grub has worse IO performance (due to the drivers it has)
<clever>
if your booting via legacy, grub is still using the legacy (dos era) drivers to access the disk
<MichaelRaskin>
IO expensive — yes
kleisli has quit [Ping timeout: 240 seconds]
<MichaelRaskin>
Even with proper drivers there are a few extra seconds to read the hundred-meg-compressed image!
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<MichaelRaskin>
UEFI is widespread enough by now that with opt-in there should be few problems
<clever>
and nix makes a modular initrd so much simpler, compared to when i cobbled one together in raw bash, lol
<clever>
though, your wifi password must now be in /boot, in plaintext
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<clever>
and the whole point of dropbear is usually to enter the luks pw for /, so /boot cant be encrypted
<wedens>
wifi password in plain text is lesser evil than unencrypted root :/
<clever>
wedens: the ssh hostkey for dropbear is also in plaintext, and an evil maid can just backdoor your /boot, or spin up a honeypot with the same keys, and wait for your pw to be typed in
<snifffy>
you can encript your root with truecrypt
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<clever>
snifffy: "Warning: Development of TrueCrypt was discontinued on May 2014"
<snifffy>
i mean veracrypt
<snifffy>
the one with cia backfoor
<clever>
snifffy: how does it differ from regular old luks?
<wedens>
clever: sure. but such attack vector isn't really important to me
<clever>
i should get off to bed, its now 3:30 am!!
<snifffy>
you really should only need encription after you get a girlfriend
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<wedens>
in this case, encryption won't help without protection from social engineering. lol
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<snifffy>
you also need to use security thru obscuracy
<http>
if its "secure" we wouldnt be having all this fun
toppler has joined #nixos
* http
looks for honeybadger
<snifffy>
better just not to get girlfriend its a lot safer
tmaekawa has quit [Ping timeout: 240 seconds]
<http>
get 3
<snifffy>
girlfriend is a lot of an hassell
<snifffy>
and the got holes
<snifffy>
they
<http>
but oh so soft
<http>
black holes
* http
*snickers*
aswanson has quit [Ping timeout: 250 seconds]
<snifffy>
why did you have to go wuining a perfectlly good conversation?
<http>
sorry
<snifffy>
you trying to get me devoiced?
<http>
nosir
<http>
ill add us some olines
<snifffy>
talking to you i can understand why so many people join Islamic terror networks
<snifffy>
YES SIR
<snifffy>
i recon you would prefer extreem right
<snifffy>
well you cant win them all can you its all good to the cause in the end
<snifffy>
it all adddup RIGHT?
<http>
?
<http>
what
<http>
why would they join islamic terror
<http>
im mexican
* http
has logs of everything
<http>
im i scientoligist
johnw has joined #nixos
<http>
ima goto sleep
<http>
ttyl
<snifffy>
did you know that using I repeatedly can be seen as a sign of depression?
smolboye has joined #nixos
<smolboye>
hey um
<smolboye>
i would like to go back to nixos again
<smolboye>
but the thing is i had one issue with firefox
toppler has quit [Read error: Connection reset by peer]
<smolboye>
whenever i started firefox before connecting to any network, it wouldn't load any page even after connecting to a network
<smolboye>
so the only option was to restart firefox
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<teto>
smolboye: I used to have this regularly, almost every day but now that you mention it, I don't think I've witnessed the behavior recently
<{^_^}>
[nixpkgs] @vcunat pushed to master « scylladb: don't build on Hydra; /cc PR #70576 »: https://git.io/Jel1h
sphalerite has joined #nixos
ottidmes has joined #nixos
kshi has quit [Quit: Leaving]
xkapastel has joined #nixos
chloekek has joined #nixos
M-Gregoire49 has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @xfix opened pull request #71020 → step-cli: init at 0.13.3 → https://git.io/JelMJ
<sphalerite>
UGH. There's one bug that _really_ bothers me in 19.09 :(
<sphalerite>
idk what exactly caused it — I'm guessing it's actually new support in the kernel for my laptop or something — but it will now completely drain one of the batteries and turn off, rather than switching to the second battery at 5% >_<
<{^_^}>
[nixpkgs] @vcunat pushed to release-19.09 « Merge #70576: scylladb: fix build under sandboxing »: https://git.io/JelMU
<meatcar>
Anyone running with iwd (as opposed to networkmanager, etc) with an intel wifi card? (AC9260 here). I'm having issues connecting to my phone's wpa2 hotspot, with errors like "association timed out" and "authentication timed out" in `dmesg` and `journalctl -fu iwd` respectively.
M-Gregoire49 has joined #nixos
<{^_^}>
[nixpkgs] @vcunat pushed 2 commits to staging-next: https://git.io/JelMW
<{^_^}>
[nixpkgs] @Lassulus pushed commit from @wucke13 to master « solo-python: init at 0.0.15 »: https://git.io/JelDe
toppler has quit [Remote host closed the connection]
<xfix>
is it possible to have host aliases in NixOps? specifically, i want the server to be possible to refer to as "a.example.com" and "b.example.com"?
<xfix>
the reason why i want this is that the server has multiple HTTP services that can be referred to by Host HTTP header
<xfix>
i was thinking of using `networking.extraHosts = ["${serv} b.example.com"];`, but i have no idea how to get server's IP
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<flokli>
xfix: can't you set networking.hosts = { "127.0.0.1" = ["foo" "bar"]; };
toppler has joined #nixos
<xfix>
i don't the host's IP
<xfix>
and the host is not localhost in this case
<flokli>
and you don't control DNS either?
<xfix>
i can set up a DNS, but i wonder if there is a way to do this without setting up a DNS
toppler has quit [Read error: Connection reset by peer]
<xfix>
maybe it's possible to somehow define multiple hosts with the same IP...
toppler has joined #nixos
<xfix>
> --build-only
<{^_^}>
undefined variable 'build-only' at (string):269:3
<xfix>
> Just build the configuration locally; don’t create or deploy any machines. Note that this may fail if the configuration refers to information only known after machines have been created (such as IP addresses).
<{^_^}>
error: syntax error, unexpected ';', expecting ')', at (string):269:37
<xfix>
this part of documentation suggests it's possible to refer to IP addresses, but i have no idea how
toppler has quit [Read error: Connection reset by peer]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
alex has joined #nixos
<flokli>
I really don't use that, sorry.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<xfix>
it's fine, i'm not privately messaging you after all :), there are other users, maybe somebody will know
<xfix>
(i'm sorta thinking out loud currently)
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
nexgen has quit [Quit: Leaving]
thc202 has joined #nixos
armin has joined #nixos
nexgen has joined #nixos
nexgen has quit [Client Quit]
nexgen has joined #nixos
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
iyzsong has joined #nixos
rsoeldner__ has quit [Ping timeout: 276 seconds]
taylorm has joined #nixos
rsoeldner__ has joined #nixos
<taylorm>
I seem to be having a problem wit inserting allowUnfreePredicate = (pkg: false);}ehen doing a rebuild test i keep getting
<taylorm>
error: syntax error, unexpected '{', at /etc/nixos/configuration.nix:46:3(use '--show-trace' to show detailed location information)building Nix...error: syntax error, unexpected '{', at /etc/nixos/configuration.nix:46:3(use '--show-trace' to show detailed location information)building the system configuration...error: syntax error, unexpected '{',
<taylorm>
at /etc/nixos/configuration.nix:46:3(use '--show-trace' to show detailed location information)
feep has quit [Disconnected by services]
feep_ has joined #nixos
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
zupo has joined #nixos
oida has quit [Remote host closed the connection]
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<rnhmjoj>
do you know if something related to (bitmap?) fonts changed with 10.09? i now have to specify rgstry=iso10646 in the xfontsel string otherwise i get a ridiculously upscaled version (rgstry=iso8859) of the same font, eventhough the pixel size is the same
toppler has quit [Remote host closed the connection]
ixxie has joined #nixos
fendor_ has joined #nixos
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
dycan has joined #nixos
lsyoyom has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
rsoeldner__ has quit [Ping timeout: 276 seconds]
<{^_^}>
[nixpkgs] @vcunat pushed commit from @ambrop72 to release-19.09 « nvidia-x11: Remove patches from the 390 version. (#69851) »: https://git.io/JelDM
toppler has quit [Read error: Connection reset by peer]
anabelian has quit [Remote host closed the connection]
rsoeldner__ has joined #nixos
<{^_^}>
[nixpkgs] @dadada opened pull request #71028 → init: managesieve at 0.6 → https://git.io/JelDA
toppler has quit [Read error: Connection reset by peer]
<infinisil>
ohz71: Nix is very much reproducible, so if you get an error everybody else will get an error too for the same nixpkgs version. So if you have a problem it's best to state the error and nixpkgs version upfront
toppler has joined #nixos
smatting has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 246 seconds]
<ohz71>
ohz71: big thanks
<ohz71>
xwvvvvwx: big thanks
<clever>
infinisil: there is a bug i recently found, that makes that statement non-true on non-nixos!
toppler has quit [Read error: Connection reset by peer]
<AmandaC>
clever: ... something seems fucky with my linux VM, but not sure why. It's saying "Cannot allocate memory" even though it's for ~4G free still (I bumped the VM up to 8G RAM )
<{^_^}>
nix#3142 (by cleverca22, 37 seconds ago, open): NIX_BUILD_TOP not set correctly outside of nixos
<clever>
AmandaC: how much free disk space?
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<AmandaC>
clever: 47G on /
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<clever>
AmandaC: try throwing a 20gig swap file at it, lol
<AmandaC>
clever: might try that, it seems to have finished the image now, going to see if it works dispite the mess of errors, cause why not?
<avn>
btw, any chances using nix/nixos on 2/4g VMs? May be as nixops slaves?
<AmandaC>
my VM started with 4G of RAM, and I'll likely lower it back down to that once this finishes, just becasue I need my RAM for my games on that rig
<AmandaC>
( I threw a VBox VM on my windows gaming rig for this )
<avn>
throw away windows, and use wine for gaming (lol)
<xwvvvvwx>
So I made a nixos container using a config that includes `networking.dhcpcd.enable = true`, but when I boot the container dhcpcd does not seem to be running. Does anyone know why?
<avn>
clever: proton is pre-packaged wine as I guess
<AmandaC>
avn: proton / wine's not quite there yet, so I just have a windows rig I leave hooked up to the livingroom TV and run steam / epic games on and use moonlight or steam IHS to stream the games to my linux laptop. :P
<avn>
clever: I'd like to incorporate their patches to our wine ;)
<AmandaC>
Quite a few of my games don't work under wine
<AmandaC>
( or proton )
<avn>
AmandaC: I kidding ;) Is possible when you play 1-2 games (like me), but it can be painful if you a gamer ;)
<clever>
thats why my main rig is still a dual-boot
<AmandaC>
I wouldn't quite call myself a gamer, but I'm not quite casual either. :P
<clever>
bbl
dansho has joined #nixos
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<AmandaC>
clever: I could never deal with dual-boot, one side always ended up getting neglected, so I opted to buy a gaming rig and treat it as a console that runs windows. It doesn't even permentally have a kb/mouse attacjhed, just a steam controller dongle
<AmandaC>
VNC into it to do desktop-y stuff when nessary
<avn>
I'd like to have switch last non-nixos based machine to nix, but is really low memory VM, run only postfix and few static websites
toppler has joined #nixos
<AmandaC>
I'm planning to switch my Raspberry Pi NAS over to a nixos image.
toppler has quit [Read error: Connection reset by peer]
<AmandaC>
`1.9G/nix/store/8pdl8zrsd2naprppj4xl6566fl1y0mmj-nixos-sd-image-20.03pre194957.bef773ed53f-aarch64-linux.img/sd-image/nixos-sd-image-20.03pre194957.bef773ed53f-aarch64-linux.img` now to find out if those were all warnings, or hard-errors!
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<clever>
dminuoso: `nix-build -A go && ./result` will boot nixos under qemu
<clever>
dminuoso: it forces nixos to be a linux build (only way it works), but it lets the qemu float, and default to whatever the host is
<clever>
dminuoso: so it can generate a darwin qemu binary, that launches nixos
<clever>
but you need a linux build slave to bootstrap, and sshd doesnt run on bootup yet
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
ddellacosta has quit [Read error: Connection reset by peer]
aswanson has joined #nixos
ddellacosta has joined #nixos
idf has joined #nixos
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
orivej has joined #nixos
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
<davidtwco>
Has anyone else had issues with SSL certs in nix-shell (and lorri) since upgrading to 19.09?
<idf>
davidtwco: I'm on NixOS 19.09 for a long time and I haven't had issues with nix-shell
<idf>
sorry
<davidtwco>
idf: I've been finding on one of my hosts that entering nix-shell makes curl/git/wget fail with SSL certs. I updated to 19.09 so figured it might be related, might not be though.
<freedan42x>
if I go inside nix-shell, bash commands in default.nix(https://paste2.org/ch2tzX6I) are not running, but if I set shellHook directly in foo.nix, it works. Why? The problem is that foo.nix is generated by cabal2nix, so I can't just set shellHook there since it rewrites occasionally
toppler has quit [Remote host closed the connection]
Havvy has quit [Ping timeout: 240 seconds]
matthuszagh has joined #nixos
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
cosimone has quit [Quit: Terminated!]
<matthuszagh>
hi. is there a way to change the source directory of a package in a nix build script? i've got a python module that's located in a subdirectory of another repo. this breaks assumptions made by setuptools
<clever>
matthuszagh: the unpackphase will copy $src to ., then set sourceRoot to be the path relative to ., after unpackPhase, it will cd $sourceroot
nuncanada has quit [Ping timeout: 276 seconds]
toppler has quit [Read error: Connection reset by peer]
<matthuszagh>
clever: i've tried with sourceRoot = "${src}/python"; but i'm getting a load of chmod errors. doesn't look like it's making it past the unpackphase
<marusich>
I've heard that Nix may have a feature that allows one to create a "fake" FHS file tree to present as an environment for scripts/programs/etc that expect FHS file paths to exist. I checked the manual, and I'm looking in the source but haven't found anything yet. Does anyone know if this feature exists and what it's called?
<matthuszagh>
also tried with setSourceRoot and couldn't gett that to work either
<clever>
matthuszagh: sourceRoot must remain relative to . via the copy
<clever>
pkgs/default.nix:postUnpack = "sourceRoot+=/socket-io; echo source root reset to $sourceRoot";
<clever>
matthuszagh: you want something like this, to append to it
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
xkapastel has quit [Quit: Connection closed for inactivity]
kenshinC1 has joined #nixos
<kenshinC1>
Hello! I'm trying to use spotifyd, but I get this in the system log: `Home directory not accessible: Permission denied`, coming, apparently, from Pulse. Any hint what the problem could be?
<kenshinC1>
(ah, audio is otherwise working perfectly)
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @marsam opened pull request #71049 → buildGoModule: disable default go module proxy → https://git.io/JeldW
toppler has joined #nixos
kleisli has quit [Ping timeout: 240 seconds]
waleee-cl has joined #nixos
toppler has quit [Read error: Connection reset by peer]
ohz71 has quit [Remote host closed the connection]
nobbo has joined #nixos
nobbo has quit [Client Quit]
xkapastel has joined #nixos
toppler has joined #nixos
<infinisil>
fresheyeball: Why does cabal configure of course fail?
<fresheyeball>
infinisil: because if I am cd'ed into the subproject
<fresheyeball>
cabal configure cannot find the other subprojects and dependencies
toppler has quit [Read error: Connection reset by peer]
<fresheyeball>
as* dependencies
toppler has joined #nixos
<infinisil>
Hm well I thought hie didn't support subprojects
<infinisil>
Let's go to #haskell-ide-engine
<AmandaC>
clever: I'm def. confused. It's still talking about being unable to allocate memory, with a 20G swap file
<isd>
There's no nix-daemon process. /nix/var/db is owned by my current user
<marusich>
I expected ${} to be bash parameter expansion, but it seems like it must be something else.
<marusich>
(function call...?)
<AmandaC>
function call, marusich.
<marusich>
But it occurs within a string - is this string not interpolated as a shell command, then?
<isd>
The bit about creating group for the builders is under the section only for installing to a separate partition
<AmandaC>
or, to be more specific, string interpolation of a nix expression (that happens to be a function call )
<marusich>
Oh, OK. I see that it's using \$ to do shell parameter expansion.
Ralith_ has quit [Read error: Connection reset by peer]
<marusich>
Got it.
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
Ralith_ has joined #nixos
mexisme has joined #nixos
abathur has quit [Ping timeout: 268 seconds]
asheshambasta has joined #nixos
<isd>
--option sandbox false does not fix the issue.
<isd>
I guess I can actually try adding the build group
<clever>
isd: is nix-daemon running?
monsieurp has quit [Ping timeout: 276 seconds]
monsieur1 has joined #nixos
<clever>
isd: it sounds like you dont have a multi-user setup fully configured, /nix/store and /nix/var should be owned by root (along with most of the subdirs), and nix-daemon has to be running as root
wedens has quit [Quit: Connection closed for inactivity]
<isd>
correct. The instructions seem to suggest you don't need this, and I've had success without it before
<isd>
nix-daemon is in fact not running.
<isd>
Is switching over as simple as chown root:root /nix; nix-daemon?
<isd>
s/chown/chown -R/
<clever>
isd: recursive chown, -R
<clever>
yeah
<clever>
and then fixing ownership for profiles
<clever>
you need to own your subdir from /nix/var/nix/profiles/per-user/
<isd>
what needs to happen for the profiles?
<clever>
i just look at the permissions on a nixos machine and copy them over, for any dir that fails
<AmandaC>
clever: how can I get the derevation that's a dependency of the final one, since it's the cptofs step that's falling over, instead of the final image creation?
<AmandaC>
Still curious, but found the derevation in the console history for now.
<infinisil>
AmandaC: You can run `nix-store -r /nix/store/...-foo.drv` to build a .drv file
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<clever>
and if its already built, it will just print the path to the result
doublex has quit [Read error: Connection reset by peer]
doublex_ has joined #nixos
toppler has joined #nixos
<{^_^}>
[nixpkgs] @dasJ opened pull request #71055 → treewide: Switch to system users → https://git.io/JelFX
hmpffff has quit [Client Quit]
doublex_ has quit [Read error: Connection reset by peer]
doublex has joined #nixos
hmpffff has joined #nixos
<AmandaC>
clever: here's the log for the ext4-fs step that keeps spamming the message: https://gitlab.darkdna.net/amanda/nix/snippets/79 -- Nothing imeediately jumps out to me from the top, but it seems to start fairly early.
<clever>
AmandaC: 404
<{^_^}>
[nixpkgs] @tokudan opened pull request #71056 → Update to PR #64267, add missing release notes and documentation [19.09] → https://git.io/JelFM
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to release-19.09: https://git.io/JelF9
<clever>
AmandaC: find the drv for the that path, and run `nix show-derivation` on it, to see the build command, then see if you can reproduce it by manually running the cmd
<clever>
AmandaC: some of the output paths will have to be tweaked
<AmandaC>
clever: how would I go about finding the derevation?
toppler has quit [Read error: Connection reset by peer]
toppler has quit [Read error: Connection reset by peer]
doublex has joined #nixos
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<isd>
After setting up a system wide install (I nuked the old one and installed with --daemon), I go through the process and at the same step get: error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I)
doublex has quit [Ping timeout: 276 seconds]
<clever>
isd: `echo $NIX_PATH` ?
<isd>
Perhaps worth noting: the instructions say to point to a "system" profile (which is included in the paths), but that directory doesn't exist. I don't know that it's supposed to, but that jumped out at me.
<isd>
clever: empty
<clever>
isd: you need to source the profile.d/nix.sh file
ixxie has quit [Ping timeout: 268 seconds]
<clever>
ls ~/.nix-profile/etc/profile.d/nix.sh
<isd>
Ah, it's because I did sudo -s, if I start a login shell it sets the var
<clever>
isd: mine is here
<clever>
isd: i use `sudo -i` to get root shells
knupfer has quit [Ping timeout: 264 seconds]
mexisme has joined #nixos
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<isd>
Anyway, it seems to be working now.
arianvp has quit [Quit: WeeChat 2.6]
<isd>
thanks all
<clever>
isd: in the past, i have converted a single-user nix install on gentoo, into full blown nixos!
<clever>
basically, just nix-build nixos, forcibly update the bootloader config, then rm -rf /lib /bin /usr, and fix the permissions!
arianvp has joined #nixos
ottidmes has joined #nixos
<isd>
Yeah, I've done it with single-user systems before, not sure why it didn't work this time.
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<superbaloo>
when cross compiling, can a package depend on itself with nativeBuildInput?
drakonis has joined #nixos
<clever>
superbaloo: as long as the native version doesnt, it should be fine
<superbaloo>
ha
<superbaloo>
what would be the syntax to do that?
<clever>
not sure, you would need to test a flag somewhere to see if your doing a native or cross build
dansho has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
inkbottle has quit [Ping timeout: 240 seconds]
toppler has quit [Read error: Connection reset by peer]
inkbottle has joined #nixos
nicks0n has joined #nixos
* nicks0n
looks around
Soo_Slow has quit [Remote host closed the connection]
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
isd has left #nixos ["User left"]
toppler has joined #nixos
kp__ has quit [Quit: WeeChat 2.6]
chloekek has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @WilliButz opened pull request #71058 → prometheus-nextcloud-exporter: init at 2019-10-12, with module and test → https://git.io/JelNv
<clever>
leo_: toString is rarely needed, it should still work if you remove that and just ../.;
<ixiqem>
Nixos seems to have completely broken for me, and it seems to be something outside of generations. Kwin is crashing (can't move or resize windows) it can be fixed by nuking ~/.cache, but only temporarily. Network can't connect to eno1 so I have no network, and this is happening on every generation i've tried (from the latest to the first to some inbetween, all of which have historically not had these
<ixiqem>
problems).
<clever>
leo_: ah wait, but in this case, id keep it like you have
<leo_>
Oh. I'll change that.
<clever>
since it would copy the entire dir
<ixiqem>
The only culprit I can think of is secure boot or something that my dual windows (on a different drive) has done. But I can still _boot_ into nixos and windows
<leo_>
Ah! Yeah
ng0 has quit [Quit: Alexa, when is the end of world?]
<clever>
leo_: reading more...
<leo_>
Thanks!
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
<leo_>
I'm waiting on nixops.
toppler has joined #nixos
<{^_^}>
[nixpkgs] @hedning opened pull request #71061 → nixos/lightdm: do not lock up with plymouth → https://git.io/JelNh
<clever>
leo_: so nixops will always unpack that tar to a stable path, and pkgs.path points to that, and no copying happens
<clever>
leo_: but youve got pkgs.path pointing to a symlink, which confuses nix, causing it to copy from store->store, and prefix another hash onto it
<clever>
id say this is a bug in nix, when it decides if it should copy to the store or not
<leo_>
Thank you very much for your help.
toppler has quit [Read error: Connection reset by peer]
isd has joined #nixos
fiddlerwoaroof_ is now known as fiddlerwoaroof
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
fiddlerwoaroof is now known as fiddlerwoaroof_
fiddlerwoaroof_ is now known as fiddlerwoaroof
<isd>
Hello again. So I've got a nixos box up and running, but there's a partition from the old system that I can't figure out how to mount it's an ext4 partion inside of an lvm volume which is on a raid 1 array. The raid array seems to be available as /dev/md127, and lvdisplay and friends can detect the relevant lvm things, but lvdisplay reports LV Status: NOT available, and I'm having trouble figuring out how to go about getting the
<isd>
system to find what it needs and mount it. Any ideas?
<clever>
isd: can you pastebin the output of `pvdisplay ; vgdisplay ; lvdisplay` ?
nicks0n has joined #nixos
leo__ has joined #nixos
stampe has quit [Quit: stampe]
byrn has joined #nixos
toppler has joined #nixos
toppler has quit [Read error: Connection reset by peer]
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
<danderson>
Having a bit of trouble with network configuration using networkd. Does `interfaces.*.ipv4.routes` get ignored when using networkd?
<danderson>
in particular, I'm trying to use that to configure multiple default routes, for a reasonably complicated router setup, but the routes seem to not get propagated into networkd configuration.
selfsymmetric-pa has quit [Remote host closed the connection]
toppler has quit [Read error: Connection reset by peer]
toppler has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
niso has quit [Ping timeout: 268 seconds]
ottidmes has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
niso has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
fusion809 has quit [Remote host closed the connection]