<darthdeus>
hey guys, I have a very basic question, but not really sure how to set my `default-shell` option in tmux ... if I just add in `zsh` it will crash, and I can't figure out how to do something like `/usr/bin/env zsh` since it seems to want a path to a binary
Fare has quit [Ping timeout: 265 seconds]
cosimone has quit [Ping timeout: 245 seconds]
erictapen has quit [Ping timeout: 240 seconds]
<evils>
darthdeus: would $SHELL work?
<darthdeus>
evils: hmm, that wouldn't really serve as an override to the default shell though :(
erictapen has joined #nixos
<momo20>
darthdeus: I think you can do '$(/usr/bin/env zsh)'
reallymemorable has joined #nixos
<darthdeus>
weird, it seems to not crash but doesn't start zsh either
<darthdeus>
I'll have to dig in a bit, I just installed and my setup is a bit weird hehe
<momo20>
maybe env isn't working for whatever reason
smatting_ has quit [Ping timeout: 252 seconds]
<darthdeus>
momo20: nono env is working, at least if I do it separately
<darthdeus>
it only breaks in tmux
<momo20>
wait
<momo20>
you sure you don't want `where` and not env
evanjs has joined #nixos
<darthdeus>
hmm, then that would be '$(/usr/bin/env where zsh)'
<momo20>
I don't think env is right in this scenario
<momo20>
I think it'd be `$(where zsh)`
<momo20>
I'm just assuming you're trying to feed it the exact location of zsh though
<darthdeus>
ok I'm stupid, it doesn't work even if I just give it the full zsh path :\
<darthdeus>
sorry for wasting your time
<darthdeus>
:P
<momo20>
never a waste of time
<momo20>
hopefully you figure out your problem
<darthdeus>
hehe, ty :)
<darthdeus>
btw did I do something wrong that every search result, such as `nix search polybar`, returns both `nixos.polybar` and `nixpkgs.polybar`? `nix-channel --list` returns only nixos
<bdju>
anyone have an example of boot.kernelParams I can look at? I want to set spec_store_bypass_disable=on in my configuration.nix and I keep getting it wrong
Thra11 has quit [Ping timeout: 246 seconds]
<momo20>
Should I just try a clean install of nixos?
Fare has joined #nixos
<{^_^}>
[nixpkgs] @tomfitzhenry opened pull request #73526 → [Trivial] Fix IDs on docs for running tests → https://git.io/Jeo67
tmaekawa has joined #nixos
Rusty1 has joined #nixos
wildtrees has quit [Quit: Leaving]
jgt has joined #nixos
Okinan has joined #nixos
iyzsong has joined #nixos
Thra11 has joined #nixos
fusion809 has quit [Remote host closed the connection]
lovesegfault has joined #nixos
<lovesegfault>
How can I convert a string like "./machines/${networking.hostName}.nix" to a path?
<lovesegfault>
I'm trying to do imports = [ "./machines/${networking.hostName}.nix" ]; but it complains about that being a relative and not absolute path
<lovesegfault>
I'd like to keep it relative
<lovesegfault>
I know that if I do ./foo (no quotes, thus type=path` it works, but when you make it a string it forces the abs path
<sondr3>
can the `i18n.consoleFont` be any of my installed fonts that I know will be available?
drakonis_ has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 276 seconds]
<fpletz>
sondr3: iirc only fonts from the kbd package should be configurable via that option, definitely not what's in fonts.fonts because those are in a different format
h0m1 has quit [Ping timeout: 250 seconds]
h0m1 has joined #nixos
drakonis_ has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
<sondr3>
fpletz: aight, thanks
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
alex``` has joined #nixos
alex``` has quit [Client Quit]
alexherbo2 has joined #nixos
alexherbo2 is now known as alex```
drakonis_ has joined #nixos
alex``` has quit [Ping timeout: 250 seconds]
drakonis has quit [Ping timeout: 252 seconds]
iyzsong-x has joined #nixos
<{^_^}>
[nixpkgs] @eadwu opened pull request #73530 → nixos/nvidia: include systemd power management → https://git.io/JeoPW
iyzsong has quit [Ping timeout: 265 seconds]
drakonis_ has quit [Ping timeout: 265 seconds]
reallymemorable has quit [Quit: reallymemorable]
jluttine has joined #nixos
<sondr3>
question, I've defined two options that can be enabled in the same file but nix complains that I define `config` twice. Do I just `config = mkIf {} ++ mkIf {}`?
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
orivej has joined #nixos
growpotkin has joined #nixos
mexisme has joined #nixos
reallymemorable has joined #nixos
nnix has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
doyougnu has joined #nixos
nnix has quit [Quit: leaving]
leo_ has quit [Quit: leaving]
felixfoertsch has quit [Ping timeout: 276 seconds]
felixfoertsch has joined #nixos
drakonis_ has quit [Ping timeout: 240 seconds]
iyzsong has joined #nixos
Okinan has quit [Remote host closed the connection]
iyzsong-x has quit [Ping timeout: 265 seconds]
Okinan has joined #nixos
<wedens[m]>
I've tried upgrading channel, but downgrading kernel version to lts. usb sound card is still not detected. and kernel upgrade from 5.3.9 to 5.3.11 is unlikely to be the problem...
dansho has quit [Quit: Leaving]
growpotk- has joined #nixos
tmaekawa has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
ravndal has joined #nixos
growpotk- has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
LysergicDreams has quit [Ping timeout: 240 seconds]
hax404 has quit [Ping timeout: 276 seconds]
hax404 has joined #nixos
Soo_Slow has joined #nixos
LysergicDreams has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
drakonis_ has joined #nixos
mexisme has joined #nixos
Soo_Slow has quit [Quit: Soo_Slow]
Soo_Slow has joined #nixos
Soo_Slow has quit [Client Quit]
Soo_Slow has joined #nixos
jgt1 has quit [Ping timeout: 240 seconds]
selfsymmetric-mu has joined #nixos
dansho has joined #nixos
dansho has quit [Remote host closed the connection]
boxscape has joined #nixos
hax404 has quit [Ping timeout: 245 seconds]
<boxscape>
I just got a new motherboard and tried using my existing nixos installation with it. It worked fine initially, but after a few hours it suddenly crashed into recovery mode, and if i boot it fails in stage 1 saying it couldn't mount unionfs in /mnt-root/nix/store because there's no such device. Any idea how i could fix this?
hax404 has joined #nixos
<evanjs>
Ahhhhhhhhhhhh I wonder if #73494 is what's been happening on my G751JY lapytop
<pistache>
is it always necessary in NixOS to have a valid /run/booted-system ?
<pistache>
I'm trying to make it easier to use NixOS in LXC containers, by hacking with boot.isContainer
<pistache>
in that case, it seems I have to create /run/booted-system myself, as there is no stage2 to do it for me
Thra11 has joined #nixos
<pistache>
I suppose I can make it a symlink to /run/current-system, but I'm asking myself if it would be cleaner to not have it at all, and make it optional in the few places it's used
boxscape has quit [Remote host closed the connection]
doyougnu has quit [Quit: WeeChat 2.6]
<pistache>
as it is mostly used for things which don't make sense in containers (kernel modules and klogd)
jgt1 has joined #nixos
endformationage has quit [Ping timeout: 240 seconds]
<wedens[m]>
clever: what if I need to change some path? I'll have to build twice. the first time to set correct NIX_PATH and the second to actually use it
<clever>
wedens[m]: thats why i try to avoid changing NIX_PATH, set it to a constant value, and instead change what it points to
<wedens[m]>
DigitalKiwi: thanks
<clever>
wedens[m]: you can force nix-channel to use a specific revision, rather then an actual channel
<lovesegfault>
Will channels go away with flakes?
<DigitalKiwi>
i swap out the nixpkgs with git or moving folders
<DigitalKiwi>
git branches*
<wedens[m]>
clever: I've removed channels. currently I use specific tarballs
<wedens[m]>
is there a history of available channels revisions?
Heirlung has joined #nixos
<lovesegfault>
I want to package a statically-linked binary, should I use a fixed-output derivation? (ftp://ftp.acousticbrainz.org/pub/acousticbrainz/essentia-extractor-v2.1_beta2-linux-x86_64.tar.gz)
<wedens[m]>
how do I do that manually? I think I've seen something similar with build-hook, but it was for copying to cache
<clever>
wedens[m]: why do you need the build-time closure on the remote machine?
<wedens[m]>
clever: I may want to build configuration locally when this "remote" machine becomes local :D
<clever>
lovesegfault: looks fairly close, what happens if you try to nix-build it?
<lovesegfault>
clever: error: cannot auto-call a function that has an argument without a default value ('stdenv')
<clever>
,callPackage lovesegfault
<{^_^}>
lovesegfault: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<lovesegfault>
:O
<clever>
wedens[m]: nixops doesnt copy the configuration.nix file over, so you would need to sync that over yourself first
<wedens[m]>
clever: so, basically I have a laptop. most of the time I'd like to build configuration on a more powerful desktop and deploy it to the laptop. but if I'm away from my desktop, I want to still be able to change laptop configuration
<clever>
wedens[m]: i would make the laptop run nixops, and configure the desktop to be a build machine
<clever>
wedens[m]: so the laptop can build things on its own, and optionaly farm it out to other systems to speed itself up
<wedens[m]>
clever: what's the role of nixops then?
<clever>
wedens[m]: to manage multiple machines at once, so you can just run `nixops deploy` on the laptop, and it updates both laptop&desktop
pointfourone has quit [Read error: Connection reset by peer]
<clever>
wedens[m]: and if you arent home, `nixops deploy --include laptop` to limit it to just one
<wedens[m]>
clever: makes sense. thanks
<lovesegfault>
clever: unpacker appears to have produced no directories
<wedens[m]>
clever: do I need to add build slave as a substitute to build master? or is it unnecessary?
<clever>
wedens[m]: that would just help the performance a little bit
<clever>
wedens[m]: if its not a substituter, it will download the build-time deps, copy them to the build machine, then instantly 'build' the thing, and copy the result back
rtjure has joined #nixos
<wedens[m]>
so, the actual build still won't happen if derivation already exists in build machine's nix store?
<clever>
yep
<clever>
but it will waste some copy copying the inputs over
<clever>
some time*
ixxie has quit [Ping timeout: 252 seconds]
<wedens[m]>
will `builders-use-substitutes = true` change that?
<clever>
wedens[m]: that allows the build machine to use its own substituters, but both machines will still pre-download the inputs, then realize they didnt need it
Thra11 has joined #nixos
isHavvy has joined #nixos
Havvy has quit [Ping timeout: 245 seconds]
<{^_^}>
[nixpkgs] @nek0 opened pull request #73543 → vym: 2.6.11. -> 2.7.0 and fix qt5 → https://git.io/Jeoyv
dustinm has joined #nixos
<wedens[m]>
nix ping-store complains that nix-store command is not found. remote machine uses home-manager. is there some problem how it handles non-interactive shells?
<clever>
wedens[m]: thats an issue due to .profile not being source for non-interactive shells, you need to make sure PATH gets updated in .bashrc too
<clever>
wedens[m]: you can also test with `ssh user@host nix-store --version`
ivan has joined #nixos
<wedens[m]>
I use zsh. same problem with `ssh user@host nix-store --version`
<clever>
maybe ~/.zshrc?
* clever
heads off to bed
<{^_^}>
[nixpkgs] @FRidh pushed 72 commits to staging-next: https://git.io/Jeoyc
jgt1 has quit [Ping timeout: 240 seconds]
<niso>
uhm, why does nixops set "PasswordAuthentication yes" in sshd_config?
<Aleksejs>
Hi, I've got this error again: cannot download skypeforlinux_8.51.0.86_amd64.deb from any mirror. I guess URL should be changed to 8.51.0.92 or newer: https://repo.skype.com/deb/pool/main/s/skypeforlinux/
boxscape has joined #nixos
jgt1 has quit [Ping timeout: 265 seconds]
<{^_^}>
[nixpkgs] @Mic92 merged pull request #73345 → clang-tools: teach about nix's include path → https://git.io/JertB
<__monty__>
wedens[m]: Maybe you can specify the right flags to nixos-rebuild?
<wedens[m]>
I'd like to use those builders/substituters before I have nixos configuration active
<wedens[m]>
__monty__: I can, but this is a lot of work
<wedens[m]>
perhaps I can just manually manage nix.conf so that it doesn't depend on nixos configuration :/
<__monty__>
Unfortunate, but yes. I guess a tool that can translate a configuration.nix to a command invocation would be nice.
<__monty__>
I'm not sure whether the daemon reads that config but possibly.
<__monty__>
Do these settings change that much for you?
<wedens[m]>
I've hit the same problem with NIX_PATH and transitioned to channels with pinned revisions (as clever suggested). now it's the same problem with other settings
LysergicDreams has quit [Ping timeout: 250 seconds]
<wedens[m]>
__monty__: yes. I'd prefer not to build stuff on my old laptop when I can use desktop which is more powerful and already has most of things I need in the store
<__monty__>
Understandable but you'd only have to specify it as a builder on the command line the first time. From then on it's in the config.
<wedens[m]>
I can survive typing all those options for nixos-rebuild manually, but it seems like useless extra work
<__monty__>
And you could make your own installer that has that config.
<__monty__>
The alternative would give up declarativity though.
<__monty__>
Or would it.
<__monty__>
I guess it depends on whether you see the existing or the new configuration as authoritative.
<wedens[m]>
I wish there was a way to specify nix.conf options and NIX_PATH universally
<__monty__>
Universally? For both nixos and nix-env?
<wedens[m]>
yes. for all affected commands
<wedens[m]>
for example, you can't use NIX_PATH with nixos-rebuild and you have to use -I options
<{^_^}>
[nixpkgs] @tomfitzhenry opened pull request #73553 → openarena: fix service's binary name → https://git.io/Jeo9X
<wedens[m]>
and you can't set substituters for nixos-rebuild
<wedens[m]>
you have to `nix build` the configuration to use those options. at least I haven't found a way to do that differently
<__monty__>
Having nixos-rebuild read NIX_PATH would make it stateful though. And that's generally not something you want.
<__monty__>
I.e., two realizations of the same config could result in different system setup.
<wedens[m]>
I agree. But wouldn't it be nice to have such option?
<wedens[m]>
so that you don't have to type `-I x=y` for all paths manually
<__monty__>
Could you do `-I "$NIX_PATH"` though?
<__monty__>
*couldn't
<__monty__>
Maybe with a `$( tr : ' ' )` or something?
<wedens[m]>
what would be even better is to have nix daemon configuration in a separate .nix file, so that you can use it in nixos config and pass it to nixos-rebuild as an option
<__monty__>
Sounds like a potential feature request.
chloekek_ has joined #nixos
mexisme has joined #nixos
orivej has joined #nixos
kai_w has quit [Quit: Konversation terminated!]
darthdeus has quit [Quit: WeeChat 2.6]
LysergicDreams has quit [Ping timeout: 240 seconds]
<segfault[m]>
Is someone here having the same issue with unison? My nixos pc has a version built on ocaml 4.05.0 while my arch has a version build with ocaml 4.09.9 This leeds to an sync error because ocaml has changed something in the binary exchange format and now they dont get along anymore :( Somehow I lost the archlinux package, so I cant downgrade...
<tilpner>
segfault[m]: unstable has 4.07. Check if that's good enough
<tilpner>
Or you can just unison from unstable and see if it is compatible
<segfault[m]>
tilpner oh thanks Ill check it out :)
hmpffff has quit [Quit: nchrrrr…]
prusnak has quit [Quit: Connection closed for inactivity]
cosimone has quit [Remote host closed the connection]
turbo_MaCk has quit [Quit: WeeChat 2.6]
cosimone has joined #nixos
rauno has joined #nixos
drgbr has quit [Ping timeout: 268 seconds]
drgbr has joined #nixos
pareidolia has joined #nixos
chloekek_ has quit [Ping timeout: 240 seconds]
rauno has quit [Ping timeout: 250 seconds]
<avocadoom>
Hi, how do I set my libvirt service to use another directory for it's images? I already tried to use another directory and fix permissions for that and the user, but I always get permission denied errors when I try to start it.
max_devjs has joined #nixos
domogled has joined #nixos
maxdevjs has quit [Read error: Connection reset by peer]
<DigitalKiwi>
you'll notice there are at least 4 manuals and it's not always obvious which one you'll need to check. also the wiki has a fair amount of setup guides
gagbo has joined #nixos
<shapr>
Is there a fund for bribing someone to produce a single coherent manual?
doyougnu has quit [Quit: WeeChat 2.6]
<clever>
kolbycrouch: normal wpa_supplicant
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<niso>
fetchgit's leaveDotGit doesn't seem to work :/
jlou2u2 has quit [Remote host closed the connection]
* niso
wonders about the best way of patching a submodule before cloning it
<emilsp>
Hiya, how come fetchFromGithub seemingly fetches the same thing from github? http://sprunge.us/omAb95
ixxie has joined #nixos
<tilpner>
emilsp: You need to change the hashes
<tilpner>
emilsp: If Nix finds anything with that hash in the store, it gives that to you instead of trying to build whatever you asked for
<etu>
,tofu emilsp
<{^_^}>
emilsp: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
ddellacosta has joined #nixos
<emilsp>
gah, thanks :)
<MichaelRaskin>
Even more: if there is nothing in the store, there is also the cache
<{^_^}>
[nixpkgs] @jonringer pushed commit from @cko to master « word2vec: fix build »: https://git.io/Jeoxx
kvik has left #nixos [#nixos]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mikky>
hey, if I wanted to create a customise netboot k
<mikky>
* netboot image, where would I start?
cosimone_ has quit [Quit: Terminated!]
jimmyeatworld has quit [Quit: leaving]
<mikky>
I've been trying to follow the manual where it says `nix-build -A netboot nixos/release.nix` combined what wiki says about customised ISO: https://nixos.wiki/wiki/Creating_a_NixOS_live_CD
<clever>
mikky: netboot_server.nix and justdoit.nix are nixos modules
<clever>
mikky: i add them to the imports section of configuration.nix, and it builds with the rest of nixos
domogled has quit [Ping timeout: 265 seconds]
<mikky>
ah, so it's part of your entire config
<mikky>
makes sense now
<mikky>
I was still in the `nix-build -A netboot` universe
drakonis has quit [Ping timeout: 245 seconds]
genesis has quit [Ping timeout: 246 seconds]
sweep has joined #nixos
sweep is now known as genesis
genesis has quit [Changing host]
genesis has joined #nixos
<sondr3>
anyone here know of a way to have both home-manager and system configurations in the same file? I can't figure out how to make it work together
<sondr3>
either it complains about something like `home.packages` or the other around
<zeta_0>
i am having problems with nix-haskell-mode for emacs, could someone help me ?
<mikky>
I'm basically just looking for a way how to build kernel image and the netboot initrd
darthdeus has joined #nixos
<mikky>
my ultimate goal is to have a minimal nixos booted over network with sshd enabled
<mikky>
to be able to provision the machines using either nixops or manually or fix them, etc..
<etu>
sondr3: Not in the same file. The closest you get is that you can import a home-manager service and enable it for your user in your main configuration.
drakonis has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
<shapr>
how do I get linux kernel 5.x installed with nixOS?
<mikky>
or boot.kernelPackages = pkgs.linuxPackages_5_2; of you want a more specific version
<shapr>
thanks
<shapr>
as long as it's 5.x this laptop works better.
<mikky>
you should be ok with _latest as long as you don't use ZFS
<Yaniel>
or just wait a couple more weeks for 5.4 to hopefully become the default on unstable
<shapr>
I'm just starting, I don't think I'm using unstable yet.
<Yaniel>
yeah you are not unless you explicitly changed from whatever release you got the installer from
<shapr>
don't think so
ixxie has joined #nixos
<shapr>
do I need to nixos-rebuild reboot after setting linuxPackages_latest ?
<sgraf>
How can I override the glibc version to 2.28? Is that even possible?
<mikky>
you can check by `nix-channel --list`
<sgraf>
(current is 2.27)
<sondr3>
etu: do you have an example of that?
<Yaniel>
shapr: yes, and an actual reboot
<shapr>
ok, thanks
<Yaniel>
you could maybe do some wizardry with nixos-rebuild switch and kexec but I don't recommend going there unless you really need to and know what you are doing
<Yaniel>
(and then you probably wouldn't be asking)
<mikky>
shapr: you need nixos-rebuild after pretty much any change in configuration, what action to take depends on the change. Mostly you'd be using 'switch'
Okinan has quit [Quit: Konversation terminated!]
<etu>
sondr3: And 25 :p
<shapr>
mikky: is that subsumed by nixos-rebuild reboot? or do I need separate steps?
<Yaniel>
reboot changes what you will boot into next time you boot
<Yaniel>
switch does that, and additionally switches over everything it can immediately, at runtime
<shapr>
oh I see
<mikky>
it's acutall 'boot' not 'reboot'
<Yaniel>
restarting services etc
<mikky>
and yes, 'switch' implies 'boot'
<shapr>
ok good
<clever>
and test will activate without touching the bootloader config
<clever>
so switch is basically test+boot
<Yaniel>
but the restarting services can fail etc and then you end up with a halfway updated system anyway
erictapen has joined #nixos
<Yaniel>
at least unlike other systems you can work around that by starting stuff manually or by rebooting
<Yaniel>
*unlike with other distros
<clever>
a recent problem i had, is that bonding can start up just fine, if thats all that changed
<clever>
but, the act of loading bonding, breaks wpa_supplicant
<clever>
so if i reboot, wpa_supplicant can no longer start
<Yaniel>
hehe yeah, networking failures
<clever>
switch loaded things in a different (working) order, compare to booting
<Yaniel>
oh the networking failures
<shapr>
so, nixos-rebuild switch, and the just run reboot?
<mikky>
shapr: yes
chloekek_ has quit [Ping timeout: 276 seconds]
<clever>
shapr: if your planning to reboot, use `nixos-rebuild boot`
<Yaniel>
I think that was the reason I switched to using nixos-rebuild boot
<shapr>
ok, thanks
<clever>
not much point in activating things and then immediately rebooting
<Yaniel>
if you are planning to reboot anyway, switch does not hurt
<shapr>
I don't know anything :-)
<Yaniel>
but it's pointless
knupfer has quit [Read error: Connection reset by peer]
<Yaniel>
since the old services will be running until you shut down
knupfer1 has quit [Client Quit]
<mikky>
So I've been trying a little more with the netboot and I'm currently at `nix-build nixpkgs --arg supportedSystems '["x86_64-linux"]' -A netboot nixpkgs/nixos/release.nix -I nixos-config=my-custom-config.nix` which ends up with a completely unrelated build error
kenran has joined #nixos
<clever>
mikky: i think you want `--arg configuration 'import ./my-custom-config.nix'`
<clever>
mikky: and rather then supportedSystems, you want -A netboot.x86_64-linux
<darthdeus>
is there a good way to check which packages will install without any building? like browsing cache.nixos.org or something?
<clever>
mikky: then netboot.x86_64-linux should work
<mikky>
clever: let me try against channel
<clever>
mikky: i also notice you gave nix-build 2 files, nixpkgs and nixpkgs/nixos/release.nix
<mikky>
nixpkgs is path to the master checkout
<clever>
mikky: but if you specify 2 paths like that, things wont work right
bvdw has quit [Read error: Connection reset by peer]
Fare has joined #nixos
bvdw has joined #nixos
<mikky>
clever: right, I combined two examples together
<mikky>
I'm still trying to figure out how things work
inkbottle has quit [Ping timeout: 240 seconds]
zebrag has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
exfalso has joined #nixos
Fare has quit [Ping timeout: 240 seconds]
<aleph->
~/
leotaku has quit [Ping timeout: 240 seconds]
ddellacosta has quit [Ping timeout: 252 seconds]
<mikky>
clever: I'm getting `error: The option `import' defined in `<unknown-file>' does not exist.` with `--arg configuration 'import ...'`
Thra11 has quit [Ping timeout: 265 seconds]
<clever>
mikky: that should have worked, what is the exact command you used?
<mikky>
clever: `nix-build --arg configuration 'import ./configuration.nix' -A netboot.x86_64-linux '<nixpkgs/nixos/release.nix>'`
<mikky>
without --arg it builds
<mikky>
no, sorry, the *EXACT* command is `NIXPKGS_CONFIG= nix-build --arg configuration 'import ./configuration.nix' -A netboot.x86_64-linux '<nixpkgs/nixos/release.nix>'`
<clever>
mikky: and what is the contents of configuration.nix?
leotaku has joined #nixos
<mikky>
clever: irrelevant, was in a wrong directory, sorry
<mikky>
the command works and it apparently builds
leotaku has quit [Ping timeout: 252 seconds]
exfalso has quit [Ping timeout: 240 seconds]
acarrico has joined #nixos
Thra11 has joined #nixos
<lordcirth__>
If I want to generate a NixOS image that I can dd to the drive of an x86 laptop, how should I? sd-image.nix seems very ARM-based.
<zeta_0>
hello guys, i was just wondering: what was your experiencing in developing haskell projects with nix, what was your work flow, and what are some pot holes i might run into ?
<{^_^}>
[nixpkgs] @rixed opened pull request #73584 → ocaml-kafka: init at 0.4 → https://git.io/JeKeC