<slack1256>
you can probably solve it putting `programs.zsh.enable = true;` but that won't solve the issue of why aren't the environment variables set correctly
MightyJoe has quit [Ping timeout: 255 seconds]
cyraxjoe has joined #nixos
sinner has joined #nixos
Guest42861 has quit [Write error: Connection reset by peer]
sinner is now known as Guest65469
Guest65469 has quit [Read error: Connection reset by peer]
<slack1256>
siraben: you don't have zsh installed system wide though
orivej has quit [Ping timeout: 246 seconds]
<siraben>
slack1256: what's the difference between putting programs.zsh.enable = true and adding it to system wide packages?
<{^_^}>
[nixpkgs] @volth closed pull request #57223 → strace: download source from github instead of strace.io (the domain is down) → https://git.io/fhhDJ
<slack1256>
siraben: I don't know the detail, but some extra config can be done programs.zsh if you want
o1lo01ol1o has quit [Remote host closed the connection]
lassulus has quit [Remote host closed the connection]
lassulus has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
ddellacosta has quit [Ping timeout: 250 seconds]
<{^_^}>
[nixpkgs] @veprbl merged pull request #57663 → fix: csound-manual by using newer git revision → https://git.io/fje6A
<{^_^}>
[nixpkgs] @veprbl pushed commit from @hlolli to master « fix: csound-manual by using newer git revision (#57663) »: https://git.io/fjJ64
<{^_^}>
[nixpkgs] @veprbl pushed commit from @hlolli to release-19.03 « fix: csound-manual by using newer git revision (#57663) »: https://git.io/fjJ6B
<hyper_ch>
Mic92: been using zfs trim patch now for about a month. All works fine so far. Just updated my local system to latest trim patch and zfs master
<DigitalKiwi>
hyper_ch: how do you do that?
linarcx has quit [Quit: WeeChat 2.4]
<Mic92>
hyper_ch: I suggest to publish your zfs packae override in the nixos.wiki. I would not want to include this patch into our zfsUnstable since this can make it difficult to upgrade the package.
linarcx has joined #nixos
linarcx has quit [Client Quit]
linarcx has joined #nixos
linarcx has quit [Client Quit]
linarcx has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
logand has quit [Read error: Connection reset by peer]
<linarcx>
Gyus. what is the job of `makeWrapper`?
<linarcx>
Someone ask me this:
logand has joined #nixos
<linarcx>
`instead if the program should use makeWrapper to include aria and libnotify in the PATH?`
pointfourone has joined #nixos
chreekat has quit [Quit: quitting]
<etu>
linarcx: Makewrapper creates a shellscript that wraps the actual binary, in this script you can add things to the environment variable PATH to make additional programs available for this program that you wrap even if the user haven't installed this program in their global path.
<{^_^}>
[nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjJPu
abathur has joined #nixos
<{^_^}>
[nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/fjJPV
vincentpants has joined #nixos
<{^_^}>
[nixpkgs] @srhb closed pull request #58149 → haskellPackages.hfsevents: Fix eval on Darwin → https://git.io/fjJn3
pointfourone has quit [Quit: Leaving]
silver has joined #nixos
abathur has quit [Ping timeout: 245 seconds]
vincentpants has quit [Ping timeout: 245 seconds]
Ariakenom has joined #nixos
<linarcx>
srhb: How?
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
<srhb>
linarcx: grep wrapProgram -r pkgs/development/python-modules or something like that :)
<linarcx>
srhb: How?
<srhb>
linarcx: Huh?
<linarcx>
etu: Thank you for explanation.
dnlkrgr has joined #nixos
vincentpants has joined #nixos
vincentpants has quit [Ping timeout: 246 seconds]
fendor has joined #nixos
<fendor>
someone persuaded me to use btrfs for my partition. Second later, I was told that it is horrible idea. Any experience with having btrfs with NixOS? Should I reinstall?
lostman has quit [Quit: Connection closed for inactivity]
<Yaniel>
not necessarily but you definitely should have proper backups
<linarcx>
srhb: Sorry, i'v been disconnected!
<linarcx>
Guys, what this mean: `Builder called die: Cannot wrap '/nix/store/60pw8zadixdlf1nyb8g1nxy3v0p7f7xy-persepolis-3.1.0/bin/persepolis' because it is not an executable file`
<linarcx>
Backtrace:
fusion809 has joined #nixos
<srhb>
fendor: I'm one of the people who had bad experiences with btrfs.
<srhb>
fendor: As in, it ate my datas. :)
<srhb>
fendor: In my experience, btrfs is really great until it isn't.
<fendor>
srhb, yeah, my friend told me the same. But i want to be lazy :(
<srhb>
I'll be waiting a bit longer and then switching to bcachefs, fwiw.
<srhb>
fendor: Using zfs is much the same experience with the same advantages.
<fendor>
Yaniel, funny, everyone says the same :D i suppose I should reinstall
<srhb>
fendor: But without the suddenly datas are gone.
<AlexRice[m]>
fendor: remember its very easy to reinstall nixos
<fendor>
srhb, thought zfs is more suitable for servers?
<fendor>
AlexRice[m], it is, but copying my home directory still takes several hours
<srhb>
fendor: It's perfectly suitable for laptops and desktops as well, for the same reasons.
<AlexRice[m]>
fair
<srhb>
fendor: It's a bit more involved than ye olde ext4 setup, so expect a learning curve initially. But it's not bad.
<srhb>
And it has a ton of features I wouldn't live without..
<Yaniel>
fendor:no seriously you should have backups in every case
<srhb>
True true.
<fendor>
I am still struggling with nixos, I dont know if I can handle another learning curve
<Yaniel>
but yeah btrfs is new and has had lots of problems
<fendor>
Yaniel, I know... but I am stupid CS student, and it is a great way to clean your notebook every 2 years
<srhb>
xD
<Yaniel>
supposedly many of them are fixed now but idk and I don't have the energy to find out
<gchristensen>
this reminds me, nix doesn't support writing a store on pingfs :(
Makaveli7 has joined #nixos
<srhb>
gchristensen: ...
<fendor>
also, nix doesnt solve all my problems, like automatically backing up my data, securely and reliable
<fendor>
*joke*
<gchristensen>
yes, srhb? =)
<fendor>
failed to deliver that joke
<srhb>
gchristensen: pingfs sounds terrifying. :P
<{^_^}>
[nixpkgs] @rycee pushed commit from @srhb to staging « perlPackages.FileSlurp: remove obsolete patch (#58135) »: https://git.io/fjJPp
<MichaelRaskin>
I use btrfs for /nix/store and it has been quite a while (in years) since I last had an actual problem
<gchristensen>
maybe I can find you one which isn't trying to sell you its product
<MichaelRaskin>
Well, the article is actually quite OK slaes-wise.
b has joined #nixos
<fendor>
gchristensen, thanks :) I dont think more explanations are necessary
<MichaelRaskin>
I mean, they are quite neutral in their explanation — of course it is clear that they would be happy to sell you services for that remote storage part, but not too pushy.
<gchristensen>
an older solving of offsite backups would be a safety deposit box at your bank
vincentpants has quit [Ping timeout: 246 seconds]
<gchristensen>
or sending a hard drive to a sibling
<fendor>
gchristensen, I would never dare to send a hard drive to one of my siblings... thats worse than no back up
<gchristensen>
haha
<aanderse>
i have 2 trusted friends who are located on different parts of the continent, all 3 of us making a good spread
<aanderse>
we have a backup agreement with each other
<gchristensen>
do you encrypt, so you don't need to trust each other _too_ much? :)
<MichaelRaskin>
Note that without encryption it would be trusting each other not to ever let people who can catch malware near the machines in question.
<aanderse>
i only backup truly important data with these friends, family photos
<aanderse>
encryption only adds another point of failure, so no
<gchristensen>
ah, and not so secret
<aanderse>
i do not store other information offsite as i hadn't deemed it important enough
<MichaelRaskin>
… until you understand that fingerprints of the entire family can be deduced from the photo archive …
<aanderse>
locally 3 pcs, 2 of which are always in sync, and the third is synced whenever it is turned on
<aanderse>
had a 4th pc in the mix.... but it is collecting dust in the basement
<aanderse>
oh yeah and nm i had to scavage its main hard drive
<aanderse>
so it is out of the mix
<aanderse>
also, usb hard drive which i try to plugin monthly...
<MichaelRaskin>
All my three actually-updated compies of some stuff do meet in the same place quite often. On the other hand, I am not sure how realistic it is for them to become unrecoverable without _me_ becoming unrecoverable as well…
vincentpants has joined #nixos
<MichaelRaskin>
(Destroying an off HDD is not completely trivial, after all)
vk3wtf has quit [Ping timeout: 250 seconds]
<noonien>
hmm, i remember reading something about testing with nix
<MichaelRaskin>
I _should_ actually abuse my privilege of having a job with a personal office and keep one copy there. I guess the fourth one (laptop, nightly home backup, office backup, backpack backup)
<MichaelRaskin>
noonien: testing what?
<noonien>
is there something that facilitates testing with nix?
ym555 has quit [Ping timeout: 250 seconds]
<noonien>
apart from doCheck, etc
<MichaelRaskin>
Hydra as CI? Although there is an upfront setup/learning effort
<LnL>
I suspect what you heard about is the nixos vm testing
<noonien>
hmm, i believe so, it had nothing to do with hydra
<noonien>
is there a log for why the test was run? so for example, which of its direct dependencie has changed?
<gchristensen>
no, because nix doesn't track dependencies having *changed*
<gchristensen>
all Nix does is know given these inputs I haven't created its result yet
<LnL>
you could diff the inputs between the 2 builds, but you'd have to do that yourself
<betawaffle>
gchristensen: what should i do to try and debug why nothing is showing up on the screen after grub?
<gchristensen>
LnL: we could teach hydra nix-diff =)
<LnL>
yeah, that would be super cool
<noonien>
that makes sense, but, on a higher level, a nix expression imports a variable, not a hash. so it might be useful to see what has changed. this seems to be as easy as diff-ing the .drv and resolving to proper package names
<noonien>
perhaps it wouldn't be as usefull, if it wasn't needed so far
<aanderse>
you ever write code in another language, then quickly switch to nix, and wonder why you get weird errors... then notice you used "//" as a comment line? -_-
<JosW>
Is there someone who can point me to an examaple setup to provide a couple of NixOs vm's for pen testing?
<JosW>
I want to try to get my friend who teaches IT classes to use NixOs for spinning up vm's but have troubel to confince him because I'm still very new to using NixOs
<gchristensen>
noonien: at a high level, Nix creates everything from scratch every time -- this is why it isn't so trivial
<gchristensen>
noonien: the idea of comparing two builds would be bolted on top
<noonien>
yup, it would be part of hydra tooling
<noonien>
but, i guess, since hydra just evaluates a single nix experssion, which turns to a set of build tasks, the reason why a package needs to be rebuilt is kind of outside its scope
<gchristensen>
yeah. I mean, it does already have *some* comparison features
rfold has joined #nixos
<linarcx>
Guys, what this mean: `Builder called die: Cannot wrap '/nix/store/60pw8zadixdlf1nyb8g1nxy3v0p7f7xy-persepolis-3.1.0/bin/persepolis' because it is not an executable file`
Soo_Slow has joined #nixos
jasongrossman has quit [Remote host closed the connection]
<buffet>
hey, how do i get access to a perl cpan package? i tried both `nix-shell -p perlPackages.package` and `nix-shell -p '<nixpkgs>' -A perlPackages.pkgs` and both times perl gave me a "can't locate"
o1lo01ol1o has joined #nixos
<betawaffle>
is it possible to have the nix store on a separate partition from the rest of root? how big would root need to be in that case?
<buffet>
oh i cant rely on perl being in my system by default (with no-one knowing why), i actually have to `nix-shell -p perlPackages.package perl` for some reason
<buffet>
this just seems broken
<offlinehacker>
betawaffle: Yes, you can have it on separate partition as long as it's mounted under /nix. I would go with 100G if you are developing, but if you are just using it for your packages around 50G should be fine
<betawaffle>
100G for this nix store? i mean how big for the rest (the non-nix-store root partition)
<noonien>
buffet: yes, you should not rely on perl being in on your users systems
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<noonien>
or anything other than /usr/bin/env and /bin/sh
<noonien>
nix-shell is pretty awesome because it allows your script to specify its own dependencies
<offlinehacker>
betawaffle: yes for nix storage
endformationage has joined #nixos
<offlinehacker>
for root it depdends how much data you want to store, as most of the stuff will be in nix store anyway
<buffet>
noonien: im referring to the fact that perl gets implicitly installed in every nixos installation
<buffet>
for whatever reason
<betawaffle>
so, let's say i had /home on a separate partition too? are we pretty much just talking about log files, symlinks, etc for the root partition?
<infinisil>
offlinehacker: For getting a specific hackage version you can just use callHackage or callHackageDirect
<offlinehacker>
yes
<offlinehacker>
betawaffle: 20G should be safe i guess if you have nix store and home on separate partitions
<offlinehacker>
i guess even half that, but i'm not rly shure
<noonien>
buffet: oh, yeah, that has been asked here before, i'm unsure why myself
<buffet>
noonien: yeah, i was the one asking before :p
<buffet>
i opened an issue on nixpkgs about it, got no reply yet
<offlinehacker>
infinisil: hmm thx interesting, what a magic, will try that :)
<buffet>
yet apperently its not even properly usable
<infinisil>
callHackage is indeed very magical
<noonien>
i would guess because some packages rely on it, but that's really no reason to install it systemm-wide
<betawaffle>
is it also sane to share the nix store partition with multiple OSes on the same machine?
<{^_^}>
[nixpkgs] @worldofpeace pushed 4 commits to gnome-3.32: https://git.io/fjJ1K
Makaveli7 has quit [Quit: Leaving]
<buffet>
noonien: there is some nixos stuff that depends on it (the "The program 'x' is currently not installed." thing in your shell for example is perl), but the store *should* be enough
<noonien>
yeah, it should contain the full path to perl, like all other programs
<infinisil>
offlinehacker: Ah yeah that means you need to use callHackageDirect
vincentpants has quit [Ping timeout: 246 seconds]
inquisitiv3 has joined #nixos
<infinisil>
offlinehacker: callHackage's magic works by it referencing a package called all-cabal-hashes, which literally contains all cabal hashes, so you don't need to supply one. But it doesn't work for packages that are too new, because it doesn't contain those hashes yet
<inquisitiv3>
I've probably missinterpreted some information, but it seems I can't uninstall applications? E.g. installed git with `nix-env -iA nixpkgs.git`, but when I try to remove it with `nix-env -e git` and `nix-env -e nixpkgs.git` nothing happens. Have Nix installed on a Fedora system.
agander has joined #nixos
<infinisil>
,fancyUninstall inquisitiv3
<{^_^}>
inquisitiv3: Fancy way to uninstall packages, needs fzf installed: nix-env -q | fzf | xargs -I{} nix-env -e {}
<{^_^}>
infinisil: Did you mean fancy-uninstall?
<offlinehacker>
infinisil: i'm trying callHackageDirect now but i guess i'm confused how to use it?
<offlinehacker>
error: anonymous function at /nix/store/976sqj36gwxyaf0pyahbg56h91ywbhb4-cabal2nix-hnix/default.nix:1:1 called without required argument 'hnix-store-core'
<infinisil>
Hmm, try finding the callHackageDirect PR
<offlinehacker>
i did manage to build it directly from hnix by running nix-build
<infinisil>
A bit disappointing that it doesn't seem to work as easily :/
cyraxjoe has quit [Ping timeout: 250 seconds]
MightyJoe has joined #nixos
<offlinehacker>
infinisil: will try to figure it out later, still thanks. I have zero haskell knowledge and how package managment and all the stuff works,
<infinisil>
Oh can you show the code how you called it!
<infinisil>
?*
st4ll1_ has joined #nixos
<infinisil>
Oh you did
<infinisil>
Haha sry
<infinisil>
Ahhh
st4ll1 has quit [Read error: Connection reset by peer]
<infinisil>
offlinehacker: I should've looked at the error more closely, hnix-store-core must be a new dependency, also not present in nixpkgs yet
<infinisil>
So callHackageDirect { ... } { hnix-store-core = callHackageDirect { ... } {}; } could work then
<offlinehacker>
is hnix "--parse --expr" the only usable pretty printer for nix?
<infinisil>
They seem to take down older versions when newer ones get released..
Glider_IRC_ has joined #nixos
<infinisil>
But I'm not sure why it isn't in hydra's cache
<siraben>
infinisil: what do you suggest I do in the meantime?
abathur has quit [Ping timeout: 255 seconds]
<infinisil>
If you wanna give it a try, update it to the latest version
<infinisil>
Shouldn't take long to build since it's just a patchelf'd version
<infinisil>
But considering how complicated the patches are, this might not work in the end
o1lo01ol1o has quit [Ping timeout: 250 seconds]
Glider_IRC has quit [Ping timeout: 245 seconds]
<infinisil>
Otherwise open an issue in nixpkgs for that and ping maintainers or other relevant people
<siraben>
Alright.
fenedor has joined #nixos
fendor has quit [Ping timeout: 272 seconds]
<das_j>
Is there a packge with a glibc that support static builds?
<{^_^}>
[nixpkgs] @xaverdh opened pull request #58209 → Add dunst service → https://git.io/fjJMX
<slabity>
Anyone know how I can make a nixos-container with xserver services? Like have the container open a window of another desktop on my main system?
<das_j>
infinisil: Is there a way to override that in stdenv? I currently do stdenv.mkDerivation, so I need a way to tell stdenv to use the other libc for this build
<siraben>
infinisil: what's weird is that the latest release is 8.02
<{^_^}>
#58210 (by siraben, 42 seconds ago, open): tor-browser-bundle-bin fails to build due to broken curl
<simpson>
das_j: I *think*, but can't confirm or corroborate, that `dontDisableStatic = true;` is the important part for making stdenv understand your desires.
<simpson>
Haven't really done anything with it myself.
ixxie has quit [Ping timeout: 250 seconds]
<infinisil>
siraben: That github one is just an unofficial thing it seems
<infinisil>
Oh it's not
<infinisil>
So it's just unmaintained
<das_j>
simpson: Seems like it's enough to override stdenv and add glibc.static to the extra inputs
<siraben>
It would be better to use the Tor Project's website.
<das_j>
Thanks you two :)
<siraben>
Since especially for an application like Tor it wouldn't be a good idea to get older version from unmaintained repos.
<infinisil>
Yes
o1lo01ol1o has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
<laas>
Does anyone here know how to use pacman? I'm trying to build a PKGBUILD
<Yaniel>
IIRC you have to use makepkg for that?
o1lo01ol1o has quit [Remote host closed the connection]
<elvishjerricco>
Anyone using running a plex server on nixos? I'm using `services.plex.enable = true;` and the server starts up but just instantly exits
<elvishjerricco>
Ah, I wanted to set `services.plex.dataDir = "/media/plex";` to store it in a particular ZFS data set. But plex is just assuming it should use /var/lib/plex for some reason, and failing because that dir doesn't exist.
<pbb>
elvishjerricco: you could set up a bind-mount
<elvishjerricco>
tilpner: Ah, that looks like it's probably it. The NixOS module probably ought to handle that
<elvishjerricco>
pbb: That was gonna be my fallback plan :P
o1lo01ol1o has joined #nixos
<tilpner>
At the very least, the module should probably create that directory on prestart instead of just failing
neminis has joined #nixos
drakonis has joined #nixos
<elvishjerricco>
tilpner: It does create the dataDir that you set with `services.plex.dataDir`. It just doesn't also override the plex package to use that dataDir
<tilpner>
Oh, okay
drakonis_ has quit [Ping timeout: 250 seconds]
mmlb97745 has quit [Ping timeout: 250 seconds]
baum_ has joined #nixos
<baum_>
since wvdial was deprecated, what are alternatives?
<makefu>
baum_: i am currently using network-manager, but i can definitly see how people like to avoid it. for me it sets the metrics correct (umts < wifi < lan) and i really like that :)
tertl3_ has joined #nixos
<{^_^}>
[nixpkgs] @andir merged pull request #57897 → nixos/containers: create veths if only IPv6 is configured → https://git.io/fjfeJ
<baum_>
makefu: alright, thanks, i'll give it another try :)
<elvishjerricco>
Welp, just learned that plex is basically useless if you don't sign up and pay them money. Guess I'll find another media server
baum_ has quit [Remote host closed the connection]
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
drakonis_ has joined #nixos
<noonien>
elvishjerricco: what's youre usecase?
<noonien>
your*
JosW has quit [Ping timeout: 258 seconds]
drakonis1 has joined #nixos
<elvishjerricco>
noonien: Just generically streaming videos / photos / music from my desktop to my laptop (which is always connected via tinc, so no middle man for remote access)
drakonis has quit [Ping timeout: 268 seconds]
<mdash>
elvishjerricco: no, definitely not true
<mdash>
i used plex for several years without signup or paying
<elvishjerricco>
mdash: Maybe it's just the ios app
<noonien>
elvishjerricco: oh, plain old http might be enough for what you need
<mdash>
i have only used the web and android versions
<mdash>
elvishjerricco: you might also look at emby, which is similar to plex
<elvishjerricco>
I also don't like that plex's server is closed source
<mdash>
sure
<mdash>
some folks were working on an open source clone but I can't recall the name immediately
<elvishjerricco>
there's one called streama that people are saying is pretty good
<noonien>
in case you might want to stream to a tv or something, you can just plug a chromecast and give it a http url, assuming the media format is supported
<elvishjerricco>
Eh, I'd like there to be a browse UI
drakonis_ has quit [Ping timeout: 268 seconds]
<noonien>
you can do that with a simple http server, sure, plex does much more than just listing files
<mdash>
plex + chromecast has been my main use case yeah
<noonien>
i used my plex server with my ps4 in the past, however, i also dislike that it's closed source
talqu has joined #nixos
drakonis has joined #nixos
periklis has joined #nixos
schneid3306 has quit [Quit: ZZZzzz…]
rauno has joined #nixos
<mdash>
ah, "jellyfin" was the thing I saw last.
hakujin has joined #nixos
Jackneilll has quit [Read error: Connection reset by peer]
talqu has quit [Quit: Leaving]
<Irenes>
hm
<Irenes>
is anybody else using NixOS on an ARM7 platform?
<Irenes>
I know it's not an officially supported architecture
rcshm has quit []
<Irenes>
I'm getting some test failures when building LLVM, in x86-specific DWARF tests
<Irenes>
that was on nixos-unstable; I'm currently retrying with 19.03
<Irenes>
I know it's expected that tests may break on an unsupported platform, so the main thing I'm wondering is whether there's been discussion of making it supported, and what it would take
<Irenes>
I can imagine the main constraint is simply that builds take forever because these aren't exactly powerful chips...
<{^_^}>
[nixpkgs] @hedning pushed 157 commits to gnome-3.32: https://git.io/fjJSW
schneid3306 has joined #nixos
<noonien>
Irenes: build time shouldn't matter, if crosscompilation works
<Irenes>
that's good to hear. I'm not certain that it does, since I haven't tested it myself, but I would expect it does.
<samueldr>
cross-compilation isn't a good way for NixOS to be "supported" since cross-compiled outputs aren't a replacement for the native builds (due to dependencies not being the same)
Zer000 has joined #nixos
<Irenes>
huh. right.
<samueldr>
Irenes: AFAIK the main issues is (1) humanpower to put into making things work, but mainle (2) having a build infrastructure for armv7
<samueldr>
mainly*
<Irenes>
I would imagine also that in a case like what I'm seeing, where the test failure is probably due to cross-compilation in the other direction, using cross-compilation as the only way things are built could cause trouble
<samueldr>
it's kind of a combination of both, it wouldn't do good to have an infra setup if no one would work on it being a first-class citizen, and vice versa
<Irenes>
that makes sense. I have to admit that I'm not sure how much of my own time I can realistically volunteer for that.
<Irenes>
I'd certainly be willing to do some initial research at least
<Irenes>
is there documentation on how the official build infra for other platforms is set up?
<Irenes>
like I know how Hydra works but I guess I mean in terms of who runs the hardware and stuff
<srhb>
Irenes: Nothing that has all the information, I think. Different people and organizations provide hardware though.
<Irenes>
I see
<srhb>
Irenes: Most/all of the actual setups are provisioned via nixops. I'm not sure of darwin, I think it's sort of special cased, running on containers somehow(?) don't quote me though.
<Irenes>
heh, yeah, Darwin can be difficult that way
<srhb>
I think it's actually simpler than the real darwin machines, in some ways.
<Irenes>
anyway, Darwin is an interesting topic but beside the point at the moment
<srhb>
Sure.
<Irenes>
okay, I'm going to do some reading and probably have more questions later
<Irenes>
thanks all, that was helpful
JosW has joined #nixos
ambro718 has joined #nixos
<{^_^}>
[nixpkgs] @P-E-Meunier opened pull request #58212 → buildRustCrate: overridable stdenv, and propagatedBuildInputs → https://git.io/fjJSA
knupfer has quit [Ping timeout: 250 seconds]
erasmus has quit [Ping timeout: 246 seconds]
wfranzini has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @srhb opened pull request #58216 → haskellPackages.hfsevents: Fix eval on Darwin hackage2nix config and temporarily → https://git.io/fjJ91
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjJHk
<noonien>
symphorien: awesome! didn't know about nix-bundle!
jtojnar has quit [Read error: Connection reset by peer]
rycwo has joined #nixos
jtojnar has joined #nixos
selfsymmetric-mu has joined #nixos
dStut has joined #nixos
<dStut>
Hi, quick question. Is there a way to boot NixOS headlessly and run SSH? I have a PCEngines APU2C4 coming in the mail, but no serial adapter to control it.
<MichaelRaskin>
dStut: you can probably prepare a USB drive that does what you need. And test it in Qemu with Tianocore
<MichaelRaskin>
(assuming UEFI by default)
<gchristensen>
dStut: my best recommendation is to just buy a serial adapter.
<dStut>
Do I need to build from source or can I just unpack the official ISO or something and edit a config?
<dStut>
Thanks @gchristensen but I'm a starving student and i'd rather trade some time for some money lol.
<gchristensen>
it was sooo frustrating without, but fair enough.
<gchristensen>
if you *do* try to buy one which is genuine FTDI
ilmu has quit [Ping timeout: 246 seconds]
sinner has joined #nixos
<MichaelRaskin>
dStut: I think you will end up doing a NixOS-install onto the drive
<dStut>
Will do
sinner is now known as Guest24302
<dStut>
Although that does get me thinking if I can use an arduino FTDI chip as a hacky serial adapter
<MichaelRaskin>
Maybe using a VM to boot the official ISO (and connect USB drive to that VM)
goibhniu1 has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
goibhniu1 has joined #nixos
jtojnar has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
jtojnar has joined #nixos
ddellacosta has quit [Quit: WeeChat 2.2]
<gchristensen>
dStut: maybe yes, but make sure your voltages match
rycwo has quit [Ping timeout: 258 seconds]
dStut_ has joined #nixos
<dStut_>
Hi again, think I lost connection somehow
<andi->
Finally updating an 18.03 device (hasn't been powered on for a year) to 18.09... lots of HTTP 200 "errors" where only partial data was transmitted :/
Soo_Slow has joined #nixos
inquisitiv3 has quit [Ping timeout: 245 seconds]
dStut has quit [Ping timeout: 256 seconds]
lassulus has quit [Ping timeout: 245 seconds]
<dStut_>
@gchristensen, can I ask what made it so hard? Once you get ssh up is there anything peculiar about the boards? I thought they were fairly standard x86 boards.
ddellacosta has joined #nixos
samrose has quit [Remote host closed the connection]
<srhb>
andi-: We spoke about that yesterday, apparently it's usually caused by broken ipv6 routers?
<andi->
srhb: I doubt it is in this case.. I know every device from here to basically Fastly and all the other machines are working fine
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<andi->
might be the "older" kernel? 4.16-devSomething is running there
<dStut_>
gchristensen: Sorry, forgot the correct way to mention with IRC. As above, can I ask what made it so hard? Once you get ssh up is there anything peculiar about the boards? I thought they were fairly standard x86 boards.
<{^_^}>
[nixpkgs] @Ericson2314 opened pull request #58223 → Make sure the manual doesn't need recursive nix → https://git.io/fjJHW
agander has quit [Ping timeout: 250 seconds]
goibhniu1 has quit [Ping timeout: 250 seconds]
agander__ has joined #nixos
selfsymmetric-mu has quit [Ping timeout: 246 seconds]
<MichaelRaskin>
dStut_: you need to make sure boot recognizes the device correctly, and network gets up properly and ssh gets up (the easy part)
<MichaelRaskin>
This might be annoying to debug if _something_ goes wrong, as you don't know which part
<MichaelRaskin>
On the other hand, there are some tricks you could use to debug, so if you want to learn more than you want comfort, or if you are lucky, you can do it blindly
<MichaelRaskin>
Once SSH server is up and you scan for it, life is good
<dStut_>
Yeah, I was also thinking the specs list a JTAG header and I do have a Segger debugger so I might be able to use that. Not sure what the JTAG header is hooked up to though.
agander_ has quit [Ping timeout: 250 seconds]
fenedor has quit [Read error: Connection reset by peer]
ng0 has quit [Quit: Alexa, when is the end of world?]
emptyflask has joined #nixos
<emptyflask>
having a problem with a polybar service under home-manager -- when it runs, it can't find `sed` or `free`. it works fine if I launch it manually
zupo has quit [Client Quit]
<emptyflask>
I realize it's because of a limited PATH setting, but how do I append to it?
<tilpner>
systemd.user.services.<name>.path
<rycee>
emptyflask: I think something like `export PATH=${lib.makeBinPath [ pkgs.gnused pkgs.procps-ng]}${PATH:+:}$PATH` should do it.
<rycee>
tilpner: I think that won't work since HM service defintion is very dumb :-)
<tilpner>
Oh, right
slack1256 has joined #nixos
<rycee>
I'm thinking of redoing the systemd module to support such things. Probably by leaving `systemd.user` as is and instead putting them directly under `systemd`. So `systemd.services.<name>.path`, for example.
<rycee>
Then it wouldn't break old configs.
<emptyflask>
prepending that to services.polybar.script seems to work. Thanks! now I need to find what provides dbus-monitor...
<samueldr>
,locate bin dbus-monitor
<{^_^}>
Found in packages: dbus_daemon
<samueldr>
,locate
<{^_^}>
Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended)
<emptyflask>
thanks all. polybar's working with `export PATH=${lib.makeBinPath [ pkgs.gnused pkgs.dbus pkgs.procps-ng pkgs.gnugrep pkgs.gawk ]}:$PATH`
<immae>
hello ! Can I pass different arguments to specific modules? (they are imported through the "imports" list in my configuration). The goal is to pass an updated pkgs, but I want to do it gradually (one module at a time) and not all at once if possible
<tilpner>
immae: How about shadowing pkgs with a newer attrset?
jtojnar has joined #nixos
<tilpner>
So e.g. let pkgs = pkgs.newerPkgs; in ... at the top
tpanum has quit [Remote host closed the connection]
tpanum has joined #nixos
<immae>
well, that’s what I’m doing, but it’s only partial: it works when I explicitely use the pkgs, but if I have a config.service that uses a pkg that one doesn’t get updated
tpanum has quit [Remote host closed the connection]
tpanum has joined #nixos
<tilpner>
Then no, I don't know an easy way to do that
<immae>
Ok thanks
tpanum has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
tpanum has joined #nixos
tpanum has quit [Remote host closed the connection]
<dtz>
siraben: infinisil : looks like 8.0.8 is out, so best solution seems to move to that. Although still going through backlog, where did this issue end up?
tpanum has joined #nixos
<infinisil>
dtz: Last thing I know is an issue being opened