<simpson>
The trickier part would be ARM builds, since those would have to be cross and I don't know how cross-compilation works on GH Actions.
marcusr has quit [Read error: Connection reset by peer]
marcusr has joined #nixos
<eacameron>
simpson: Thanks! I read somewhere about setting up qemu as an ARM remote builder... maybe I can do that somehow
<simpson>
eacameron: No worries. Good luck.
<infinisil>
eacameron: qemu might not work in GH actions since they don't have kvm afaik
<qyliss>
you can do qemu without kvm but it's slow
<simpson>
But...it's Somebody Else's Slow. So maybe it's acceptable.
jonringer has quit [Remote host closed the connection]
tsrt^ has quit []
h0m1 has quit [Ping timeout: 268 seconds]
growpotk- has joined #nixos
vs^ has joined #nixos
h0m1 has joined #nixos
fuzzypixelz has quit [Quit: fuzzypixelz]
sangoma has joined #nixos
<bqv>
colemickens: I really don't like that trick anymore. WOP has an open issue on nixos/nix for doing it in a more builtin way, which I was going to try and implement, but I got somewhat discouraged
<colemickens>
bqv it didn't feel nice to reach into legacyPackages and then artifically reconstruct it like that :)
<colemickens>
bqv: but I appreciated having the example for what I'm doing
<bqv>
Heh, yeah..
<colemickens>
I like flake.nix for being able to provide a single file basically-guaranteed repro of certain types of issues, and I wanted to take it a step further and show that it repro'd even with a custom-patched nixpkgs.
<colemickens>
It would be cool if that were built in.
<{^_^}>
https://github.com/NixOS/nix/issues/4123 (by brennantaylor, 10 weeks ago, closed): Can't install jetbrains products on darwin because nixpkgs.jetbrains.jdk not available on x86_64-darwin
ManiacOfMadness has quit [Ping timeout: 268 seconds]
dstzd has quit [Client Quit]
m0rphism has quit [Ping timeout: 246 seconds]
KarlJoad` has quit [Quit: ERC (IRC client for Emacs 27.1)]
aleph- has quit [Ping timeout: 272 seconds]
rprije has joined #nixos
aleph- has joined #nixos
g-w1 has joined #nixos
<g-w1>
how can I define a custom cargo package in home-manager? currently this does not work? https://i.imgur.com/ryHlhPG.png
dstzd has joined #nixos
dstzd has quit [Client Quit]
dstzd has joined #nixos
<colemickens>
g-w1: you're close
dstzd has quit [Client Quit]
<g-w1>
I dont have with pkgs; got it
<colemickens>
sounds like you got it :)
eyJhb has quit [Ping timeout: 240 seconds]
srk has quit [Remote host closed the connection]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
eyJhb has joined #nixos
eyJhb has joined #nixos
srk has joined #nixos
aw has joined #nixos
spacefrogg has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tarruda1 has joined #nixos
xcmw has joined #nixos
<bqv>
The uk government uses guix. Awesome!
sefu has joined #nixos
joesventek has joined #nixos
LnL- has joined #nixos
LnL- has quit [Changing host]
LnL- has joined #nixos
joesventek has quit [Client Quit]
LnL has quit [Ping timeout: 264 seconds]
<worldofpeace>
bqv: that's sad... someone should really actually be looking at useful things ☹️ good that you haven't invested more tho, I'm not sure that would be a good idea judging u have no idea if anything is going to come out of it
<SomeoneSerge>
Hmm, why there's no $out/include in nixpkgs#boost?
<SomeoneSerge>
I've got FindBoost.cmake failing even with a hint -DBOOST_LIBRARYDIR=$(nix eval --raw nixpkgs#boost)/lib, and I'm thinking maybe it's because there's no headers, but idk
<jdnixx[m]>
I'm guessing it means not necessarily working anything right? just piecemeal work on individual features/packages before moving to master correct
<sphalerite>
jdnixx[m]: it's mostly about things that cause mass rebuilds, and thus would block nixos-unstable for unnecessarily long if they were merged directly to master.
<daf64>
what is the best way to make local modifications to a nix package?
proofofkeags has quit [Remote host closed the connection]
ece has quit [Quit: Ping timeout (120 seconds)]
__monty__ has joined #nixos
ece has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
noonien2 has joined #nixos
chacki[m] has joined #nixos
noonien has quit [Read error: Connection reset by peer]
noonien2 is now known as noonien
<SomeoneSerge>
re: findboost.cmake; just realized it's not about boost specifically - I checked out derivations boost.dev, libGLU, libGL, freeglut - all have /lib but not /include
<SomeoneSerge>
I'm obviously misunderstanding the purpose of those derivations, but then what is it...
<SomeoneSerge>
also... I still feel unconfident about using nix to build things that are to be deployed to non-nix systems; I understand it's not the main purpose, but it's obviously a thing that some people would want to do
<SomeoneSerge>
but there seem to be many details that need to be payed attention to, like RUNPATHs
<SomeoneSerge>
Anyone aware of posts or talks sharing such experiences?
neiluj has joined #nixos
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
zupo has joined #nixos
neiluj has quit [Client Quit]
<DigitalKiwi>
what's a non-nix system
tarruda1 has quit [Read error: Connection reset by peer]
<SomeoneSerge>
A system that doesn't have nix installed. I.e. say I'd like to use nix in CI to provide a reproducible toolchain&c, but build for a user that doesn't have nix
<SomeoneSerge>
Naturally I'd want a way to "export" the closure of the built thing
<SomeoneSerge>
Under some assumptions, buildDockerImage could be a solution
<SomeoneSerge>
(assuming user is ok with docker images as artifacts)
<SomeoneSerge>
Then I'd be curious how people automate such builds and push to registries
cole-h has quit [Quit: Goodbye]
<DigitalKiwi>
i have nix on my phone i don't know what a system without nix is ;D
msouval has quit [Remote host closed the connection]
floscr has joined #nixos
philr has quit [Ping timeout: 258 seconds]
<floscr>
Whats the best way to clone & build multiple repositories of mine that already have got a shell.nix file ?
<floscr>
So my wished worklfow would be: Hack in local repo -> push changes -> update nix-channel (or sha in nixos config) -> rebuild nixos config -> built bin is accesible to user
nownpl has quit [Disconnected by services]
nue1 has joined #nixos
ezioedithore has quit [Ping timeout: 265 seconds]
aswanson has joined #nixos
fendor has joined #nixos
nue1 has quit [Quit: WeeChat 2.9]
g-w1 has left #nixos ["WeeChat 3.1-dev"]
werner292 has joined #nixos
werner291 has quit [Ping timeout: 260 seconds]
werner292 is now known as werner291
floscr has quit [Quit: WeeChat 2.7.1]
fuzzypixelz has joined #nixos
SomeoneSerge has quit [Ping timeout: 256 seconds]
ManiacOfMadness has joined #nixos
ece has quit [Ping timeout: 240 seconds]
ezioedithore has joined #nixos
nly has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
a64 has quit [Remote host closed the connection]
ManiacOfMadness has quit [Read error: No route to host]
<ronny>
anyone aware of a howto fr using nix to make automatically tested modules for nixos configuration (i have a old compartmentalized systems etup and i want to create unittests for the modules as i expand them with additional features)
wnklmnn has quit [Quit: Leaving]
jlamothe has joined #nixos
<hpfr>
slack flatpak broken for anyone else?
bitmapper has joined #nixos
<Henson>
I'm trying to make a system able to run nixos-install without needing an internet connection. There's the texinfo package whose build dependencies are required (one of the texinfo-6.5.tar.xz files) that are not being included when I add texinfo into the environment.systemPackages list. Is there some way I can make these build dependencies be included in the installer so they're present when...
<Henson>
nixos-install is run?
waleee-cl has joined #nixos
<Henson>
make a system -> make an ISO install image
zupo has joined #nixos
mconnolly has joined #nixos
fuzzypixelz has quit [Quit: fuzzypixelz]
werner292 has joined #nixos
werner291 has quit [Ping timeout: 268 seconds]
werner292 is now known as werner291
orivej has quit [Ping timeout: 260 seconds]
SomeoneSerge has joined #nixos
jonringer has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
fuzzypixelz has joined #nixos
respawn_ has quit [Quit: Leaving]
vidbina has joined #nixos
<Ke>
if I create a system as a store on an another system, can I enable that system on another system after having copied the closure?
<Ke>
assuming I don't have that nixpkgs or the config
<sphalerite>
well, where "variety of methods" is "nixos-install" and "basically what nixos-rebuild does"
fendor_ is now known as fendor
sangoma has joined #nixos
<Ke>
sphalerite: never seen that ;& syntax, cool to know, but so unidiomatic
jmeredith has joined #nixos
<eacameron>
Are "eth*" devices always wired ethernet connections?
<wucke13>
How can one join an array together with a the result of a map operation as `srcs`? `srcs = [ ... ] ++ map (.. )` yields `can not coerece a set to a string`.
<wucke13>
Followup: why is `[ fetchurl { ... }]` a string, not a list/array of ...?
<thibm>
wucke13: you need parenthesis inside []
<wucke13>
eacameron: Per default naming scheme as per freedesktop "Predictable Network Interface Names", yes
<eacameron>
wucke13: Awesome. Thanks!
<wucke13>
eacameron: IIRC everything starting with `e` actually is meant to be a ethernet device
<eacameron>
wucke13: Oh huh! Good to know.
<wucke13>
However, `eth*` indicates that said freedesktop standard was NOT used.
<wucke13>
Otherwise it would be more like `enp1s0` or similar
<tpw_rules>
you could use patchelf to rewrite the RPATH but then it wouldn't work on nix. and i don't know how you would calculate the RPATHS needed
<SomeoneSerge>
tpw_rules: yeah, I actually haven't yet tried that - I probably should
<SomeoneSerge>
I just thought I'd ask if anyone here already approached this
<simpson>
siraben: What's your actual use case? I mean, okay, if you need to actually 4-color a planar graph in Nix, then okay, but it seems unlikely. (TBH I want to say that it's NP-hard, but I might be wrong.)
<siraben>
simpson: I mean, the mechanized proof of the four color theorem in Nix
<siraben>
like building and checking the actual proof
<simpson>
siraben: Ah, I see. Sorry, I misunderstood.
<tpw_rules>
so you just wnat to package a coq program?
<siraben>
simpson: no worries
fuzzypixelz has joined #nixos
<siraben>
tpw_rules: yeah, I'll look and see how it's done in nixpkgs atm
ddellacosta has joined #nixos
<siraben>
shouldn't be too bad, mathcomp is already there
Ikosit has left #nixos ["User left"]
veleiro has quit [Ping timeout: 240 seconds]
ManiacOfMadness has quit [Ping timeout: 268 seconds]
mallox has quit [Quit: WeeChat 3.0]
rb2k_ has joined #nixos
rb2k has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<lukegb>
SomeoneSerge: I think this is pretty similar to how people "usually" package this kind of software, which is usually to set the rpath to something $ORIGIN-relative and make sure all the needed sos are in that directory
<Henson>
I'm trying to get some file paths to be included in a derivation. I know there's buildEnv that takes a list of packages, but you can't specify paths there. I know you can specify paths in environment.etc.<name>source and have them included. But is there another way like buildEnv that would make a directory of paths appear in /etc, for example?
werner292 has joined #nixos
<Henson>
the reason I'm asking is because I'm trying to get the build dependencies of the texinfo package included in a ISO install image, so it doesn't need an internet connection to build. I've managed to get it to work using environment.etc.<name>source = texinfo.src, but wonder if there's a more elegant way of doing it
growpotkin has joined #nixos
xelxebar has quit [Remote host closed the connection]
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
duairc has quit [Ping timeout: 260 seconds]
xelxebar has joined #nixos
kirelagin has joined #nixos
cantstanya has quit [Ping timeout: 240 seconds]
nbp has quit [Ping timeout: 260 seconds]
est31 has quit [Ping timeout: 240 seconds]
duairc has joined #nixos
<SomeoneSerge>
lukegb: you lost me... by $ORIGIN, in this case, you mean /nix/store/... or empty string/removed rpath?
nbp has joined #nixos
growpotkin has quit [Ping timeout: 240 seconds]
est31 has joined #nixos
cantstanya has joined #nixos
<lukegb>
SomeoneSerge: actually $ORIGIN probably isn't useful here since it's not the binary you're messing with, but it's a magic variable that can be put in the rpath
growpotkin has joined #nixos
Dotz0cat_ has joined #nixos
<fuzzypixelz>
do we have ready-to-use templates built into nix-shell?
<fuzzypixelz>
for example `nix-shell --template python`
cfricke has quit [Quit: WeeChat 3.0]
<fuzzypixelz>
would simply create a shell.nix file with generic config
cr4y1 has quit [Ping timeout: 246 seconds]
Dotz0cat has quit [Ping timeout: 240 seconds]
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
vidbina has joined #nixos
ManiacOfMadness has joined #nixos
<qyliss>
bqv: IIRC just one person who works at gov.uk uses Guix
<qyliss>
they started a discussion about using it more widely but it was rejected
meh` has joined #nixos
tarruda1 has quit [Ping timeout: 264 seconds]
werner291 has quit [Ping timeout: 260 seconds]
tarruda1 has joined #nixos
<Henson>
looks like linkFarm might be what I'm looking for
<thibm>
Henson: you still need to "put somewhere" linkFarm's result in the iso's system
tarruda1 has quit [Read error: Connection reset by peer]
<Henson>
thibm: yes
<acowley>
I wanted to override a derivation in an imported nixpkgs, but the derivation is created with a helper function, and I want to override the arguments passed to that helper function. If I use pkgs.deriv.meta.position, I get a path to that helper function, but the path has a line number suffix. E.g. "/blah/pkgs/helper.nix:33". Is there a builtin for removing the line number suffix?
<acowley>
I know I can do it with with splitString and elemAt.
<abathur>
fuzzypixelz: not that I'm aware of, though it sounds like a nice idea :)
<thibm>
acowley: are you trying to automate that?
<acowley>
thibm: Just wondering if there's an already-defined function in lib somewhere that I've not found
<acowley>
thibm: Though the idiom does seem useful as more and more helper functions are used in nixpkgs!
<thibm>
acowley: not that I'm aware of. Look at <nixpkgs>/lib/strings.nix for this kind of stuff
<esotericn>
is it possible to print in a nix expression for debug purposes?
<acowley>
I feel like if we're adding extra info to paths, it would be good if that was done with a purpose-built data structure with associated functions for working with it.
<infinisil>
esotericn: You can print values with `builtins.trace <value to print> <result>`
<thibm>
acowley: maybe, but normally one does not directly access to the file like this but instead uses attributes. Not sure what you are trying to do
<thibm>
acowley: IMHO, position is here to help human debug
davidv7_ has quit [Quit: Konversation terminated!]
asheshambasta has quit [Ping timeout: 272 seconds]
tarruda1 has joined #nixos
zeorin has joined #nixos
davidv7 has joined #nixos
BlessJah has quit [Ping timeout: 256 seconds]
tarruda1 has quit [Ping timeout: 240 seconds]
tarruda1 has joined #nixos
BlessJah has joined #nixos
fuzzybear3965 has joined #nixos
<fuzzybear3965>
I have a question about building a NixOS ISO.
<fuzzybear3965>
Is this a good place to ask?
<thibm>
yes
<fuzzybear3965>
thibm Okay. I'm going to do it, then.
<fuzzybear3965>
I want to build a NixOS iso that I can use as a development machine.
<fuzzybear3965>
I want to version control its configuration and possibly layer on top of it to fork out a few different development environments for different contexts (work vs. personal vs. golang project vs. node project).
<fuzzybear3965>
I'm importing `cd-dvd/iso-image` instead of `cd-dvd/installation-cd-minimal.nix`.
tarruda1 has quit [Read error: Connection reset by peer]
<fuzzybear3965>
At the end I call `buildIsoImage`.
<lassulus>
the }; on line 12 off?
<lassulus>
but thats more or less what nixos-generators does
tarruda1 has joined #nixos
<fuzzybear3965>
The }; on l12 terminates the function declared on l4.
<fuzzybear3965>
At least `nixos-build` just terminated having had generated an iso.
<lassulus>
ah, it terminates the thing from 4, just got confused by the indent :D
meh` has quit [Ping timeout: 268 seconds]
sigmundv_ has joined #nixos
<Henson>
I'm doing something similar at the moment, and found that building config.system.build.toplevel instead of config.system.build.isoImage quickly gives you a directory with the system contents, if that's of any use while tuning the system configuration.
<pinpox>
Any recommendations for nextcluod alternatives that would run well on a low powered nixos server? I don't use 90% of nextcluods features and the performance is not very good. Basically some easy way to have documents and picuters availabe on all my machines as a mount
<fuzzybear3965>
simpson It's expected that those will be in non-installation environments?
<lassulus>
yes
<fuzzybear3965>
Oh, okay.
<fuzzybear3965>
lassulus Time to try your `nixos-generators`.
<fuzzybear3965>
My `iso` is ~300 MiB.
<fuzzybear3965>
TinyCore linux is ~12 MiB.
<fuzzybear3965>
I did add `tmux` and `vim` to the `cd-dvd/iso-image.nix` packages.
<lassulus>
yes, nixos is kinda bloated^wfully featured even in its minimal settings
<fuzzybear3965>
But, what are some things that I can do to shrink the size of my OS?
magma has joined #nixos
<lassulus>
uhm, thats a good question, there is an endaeavour every now and then to achieve that
<fuzzybear3965>
lassulus Is it possible to use nixos to create something without grub (use the EFI partition for booting) and vmlinuz ?
<fuzzybear3965>
*without grub and only vmlinuz?
<fuzzybear3965>
Something like: `Use NixOS to build a tiny ISO`.
<lassulus>
not exactly sure what vmlinuz does, but you can disable grub. for very very minimal systems (even without systemd) there is not-os
ris has joined #nixos
<lassulus>
but all the cool config options are not available there
<fuzzybear3965>
lassulus Do you know of any repos/projects that have published <config>.nix for review?
<fuzzybear3965>
I just built `<nixpkg/nixos>/release-small` and it was ~300 MiB, too............
vidbina has quit [Ping timeout: 256 seconds]
<lassulus>
yeah, it won't get under 300 without ripping out some parts
<lassulus>
but not sure how to do that tbh, never did it :D
<lassulus>
I guess disabling the manuals etc can help
<fuzzybear3965>
One thing I'm not interested in having is `nix` in my result.
<fuzzybear3965>
I don't want a package manager in my produced ISO. It should be self-contained and immutable.
<fuzzybear3965>
But, I can play around with that later.
<lassulus>
hmm, maybe you can use the dockerTools to build a minimal system and try to actually boot it? :D but thats just a quick idea
<thibm>
fuzzybear3965: maybe take a look at how dockerTools works, it should be similar to what you're trying to do
<fuzzybear3965>
lassulus The main feature of your generators is the fan-out, right?
<fuzzybear3965>
I can build for any environment?
<fuzzybear3965>
lassulus and thibm dockerTools, huh? Deal! Thanks!
<lassulus>
yes, you just have config.nix with your stuff and nixos-generators does the imports for you and outputs the right file
<thibm>
you'll need more stuff to get a full OS, but that may be simpler that starting from NixOS and removing parts. Look at not-os too, like lassulus said
<fuzzybear3965>
Ohhh, `not-os` was the name of a project.
<thibm>
yes
<fuzzybear3965>
I thought lassulus meant "the output is not an OS" :').
<zeorin>
Hello all. I'm on 20.09 and I've just installed Mullvad VPN. The version in 20.09 is out of date, so I thought I'd use the unstable channel's version. In my configuration.nix I disabled the mullvad-vpn service and imported the unstable one, and switched to the unstable client application. But I'm getting the following error when trying to rebuild:
<zeorin>
error: The option `systemd.services.mullvad-daemon.startLimitBurst' defined in `/nix/var/nix/profiles/per-user/root/channels/unstable/nixos/modules/services/networking/mullvad-vpn.nix' does not exist.
tejing has quit [Quit: WeeChat 2.9]
astylian has joined #nixos
noneucat has left #nixos ["User left"]
leo60228 has quit [Ping timeout: 240 seconds]
leo60228 has joined #nixos
<eyJhb>
Trying to do this atm. - https://termbin.com/ocgt , but I get `error: attempt to call something which is not a function but a string with context, at`
sss2 has joined #nixos
tarruda1 has quit [Read error: Connection reset by peer]
sss2 has quit [Remote host closed the connection]
sss2 has joined #nixos
evanjs has joined #nixos
cyphase has quit [Ping timeout: 272 seconds]
tarruda1 has joined #nixos
zeorin has quit [Ping timeout: 245 seconds]
tarruda1 has quit [Read error: Connection reset by peer]
mconnolly has quit [Quit: WeeChat 2.9]
xcmw has joined #nixos
meh` has joined #nixos
mkaito has joined #nixos
evanjs has quit [Ping timeout: 240 seconds]
evanjs- has joined #nixos
KarlJoad has joined #nixos
<KarlJoad>
Is there any way to only run checkPhase when performing a `nix-build`, but not when doing a `nix-shell`?
cr4y1 has joined #nixos
orivej has joined #nixos
zeorin has joined #nixos
<zeorin>
I fixed my build error by also updating to the unstable systemd. I'm not sure that's really a smart move, given that it's a pretty core part of the system. I'm assuming that if I'm looking at using unstable's systemd I might be better off just switching to the unstable channel outright.
cole-h has joined #nixos
<zeorin>
Unfortunately after fixing the build error it still doesn't work. I'll live with Mullvad nagging me about a new version of their app for the time being.
cole-h has quit [Client Quit]
cole-h has joined #nixos
gerschtli has quit [Quit: WeeChat 2.9]
gerschtli has joined #nixos
tarruda1 has joined #nixos
m0rphism has joined #nixos
<cemd>
zeorin, you could just update mullvad-vpn by using overlays
<zeorin>
I'm afraid my nix-foo isn't good enough yet to go that far on my own. Would you be able to give me a few pointers?
<zeorin>
I know what overlays are, and I'm using one already
<zeorin>
Just not sure what I should put in my mullvad overlay
<gerschtli>
hey, i have a infinite recursion problem in my nixos config. I try to prepend a string to an existing option like `path.to.option = "prefix " + config.path.to.option;`. Does anyone have an idea, how to solve my problem?
<zeorin>
cemd yeah
<andi->
gerschtli: can't do that
<gerschtli>
andi-: really? damn, I hoped there were a way I didn't thought of..
<cemd>
It uses mullvad-vpn from pkgs set. If you update that mullvad-vpn package instead of service definition, you will probably have it updated.
geekthattweaks has quit [Quit: Connection closed for inactivity]
tejing has joined #nixos
<lukegb>
gerschtli: if you're defining the option (or it's a type of separatedStrings, like lines; commas; envVar), then you might be able to mkBefore
<lukegb>
but it depends on what you're doing
astylian has quit [Ping timeout: 260 seconds]
wnklmnn has joined #nixos
zeorin15 has joined #nixos
zeorin has quit [Ping timeout: 245 seconds]
<zeorin15>
cemd that worked. Why would using a `(self: super: { mullvad-vpn = unstable.mullvad-vpn; })` overlay work when just putting `unstable.mullvad-vpn` in `environment.systemPackages` not work?
tsrt^ has joined #nixos
<Duponin>
Hi, I'm currently working with the pkg `_389-ds-base`. It's outdated (366 days) and lacks of the CLI tools. Should I create a new pkg for the scripts or these should be bundled with the `_389-ds-base` pkg?
madonius[m] has joined #nixos
<cemd>
That's because environment.systemPackages is for user space but the services can use anything other then what available. So by default the package from 20.09 not the unstable
<cemd>
Zeroin15
<cemd>
zeroin15
<cemd>
Maybe someone explain it in more nix way :D but I hope you got the point. Zeorin15
andreas303 has quit [Remote host closed the connection]
rprije has joined #nixos
<zeorin15>
Right, I think I get it. Without the overlay, the service file is referencing the 20.09 daemon (which gets built, too), but the client that I can launch in my desktop is the unstable one, which doesn't work with the 20.09 daemon
<zeorin15>
Thanks!
zeorin15 is now known as zeorin
andreas303 has joined #nixos
<cemd>
You are right, zeorin. your welcome :D
mounty has quit [Ping timeout: 256 seconds]
mkaito has quit [Quit: WeeChat 3.0]
shibboleth has joined #nixos
zeorin has quit [Ping timeout: 245 seconds]
cyphase has joined #nixos
<pingiun>
I need to use the bnx driver for my network card, and want to do a nfsroot boot, so the driver has to be available in stage1. I am using https://github.com/alexandergall/nixos-pxe-installer/ to generate an image, it sets some kernel options too. but this driver needs to load firmware, so if I set the CONFIG_BNX2 option it's not enough. how do I make sure the firmware can be loaded in initrd?
<pingiun>
I already tried to set FW_LOADER n, but this gives me an error: error: option not set correctly: FW_LOADER (wanted 'n', got 'y')
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tarruda1 has quit [Read error: Connection reset by peer]
simba1 has quit [Ping timeout: 264 seconds]
tarruda1 has joined #nixos
xcmw has joined #nixos
<gerschtli>
lukegb: I want to redefine this option, to be concise it is ExecStart of a systemd service
xcmw has quit [Client Quit]
fuiltilt has joined #nixos
fuzzypixelz has quit [Quit: fuzzypixelz]
zaeph has quit [Ping timeout: 265 seconds]
fuzzypixelz has joined #nixos
fuzzypixelz has quit [Remote host closed the connection]
fendor has quit [Remote host closed the connection]
<bqv>
qyliss: oh, ok
<eyJhb>
I keep getting `error: The option `nodes.srtutti.configuration.security.acme.certs.dsg.eyjhb.dk.extraDomainNames' does not exist. Definition values:` on the latest unstable channel. Any ideas why? I just enabled enableACME = true; in a virtualHosts entry on my server
<eyJhb>
Not sure how to fix it
<bqv>
adisbladis: #107284
tarruda1 has quit [Read error: Connection reset by peer]
amir has quit [Read error: Connection reset by peer]
amir has joined #nixos
<adisbladis>
bqv: Thanks
o1lo01ol1o has joined #nixos
<nhs>
What is the best way to add a global environment variable during a nix build? I want to create some localEnv package that essentially adds to stdenv so that all dependent derivations have the localEnv environment available to them. i.e. localEnv sets MY_LOCAL_FLAG=1 and dependent derivations can reference that environment variable
<nhs>
I've done some research, but I'm not sure what the standard way to do this is, override stdenv userHooks? Override mkDerivation to add some extra envs? What would be the most robust solution?
oxalica has quit [Ping timeout: 240 seconds]
xcmw has joined #nixos
oxalica has joined #nixos
<madonius[m]>
Hi
<madonius[m]>
currently I am trying to setup some containers on a machine. yet somehow I am not able to find a documentation on how to do that in 20.09
<madonius[m]>
(disclaimer: I a total newb on nixos)
<madonius[m]>
there is virtualisation.oci-containers,
<madonius[m]>
virtualisation.containers,…
<viric>
the nixos manual explains nixos containers
<madonius[m]>
yes it does but very briefly
<madonius[m]>
or am I missing something
sangoma has quit [Ping timeout: 260 seconds]
sangoma has joined #nixos
<madonius[m]>
I would like to know what my configuration options are
<eyJhb>
Hmm, I got my site running with nginx+acme now. but I get `curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number` when I try to curl it
<madonius[m]>
No I did not know about the search
<madonius[m]>
thanks infinisil
acarrico has quit [Remote host closed the connection]
<cemd>
eyJhb, your ssl certificate is wrong. You probably should retry it again.
leotaku_ has quit [Ping timeout: 260 seconds]
morr has quit [Quit: WeeChat 2.9]
leungbk has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
morr has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
Darkmatter66 has quit [Ping timeout: 246 seconds]
leotaku has joined #nixos
SomeoneSerge has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
cosimone has quit [Quit: cosimone]
cr4y1 has quit [Quit: WeeChat 2.9]
<madonius[m]>
Is there a way to tell a machine on boot to automatically consume the configuration file at `/etc/nixos/configuration.nix`?
<madonius[m]>
I am deploying a RaspberryPi and would like to avoid having to attach a keyboard an a mouse on boot
<madonius[m]>
* I am deploying a RaspberryPi and would like to avoid having to attach a keyboard an a mouse on first boot