<inquisitiv3>
I'm section 5.1.7.2. in the Nixpkgs manual. Is there a reason why pattern is indented differently from the rest of the keys, or is it just an error with the indentation?
<inquisitiv3>
For the parent header just a little bit before the subsection
<noonien>
fwiw i'm probably going to use krops for deployment, it's nice that i can specify where i want builds to be done, as long as cross-compilation (which, as far sa i can tell, is not possible with nixus or deploy-rs)
<infinisil>
Yeah, never mind me asking then
zebrag has quit [Quit: Konversation terminated!]
<infinisil>
inquisitiv3: This function takes an attribute set of that pattern
zebrag has joined #nixos
<infinisil>
So it takes a single argument, that argument being a pattern, and the pattern looking like this
<infinisil>
Though it sure is rendered a bit confusingly
<inquisitiv3>
infinisil: Thanks!
<{^_^}>
[nixpkgs] @CohenCyril opened pull request #109330 → coqPackages.mathcomp-abel: init at 1.0.0 → https://git.io/JtfD1
<inquisitiv3>
Yeah, it looks part of the key list or something and not some general information about the argument.
<energizer>
i want to make a container running some services for each test run. is https://github.com/erikarvstedt/extra-container what i want? seems convenient but i dont like that it needs sudo
Hail_Spacecake has quit [Ping timeout: 240 seconds]
<hiroshi[m]>
Hello folks . I have a few question about nixos-mobile. I didn't find a channel for that so I will ask here.
dstzd has joined #nixos
<hiroshi[m]>
I'm trying to install nixos-mobile in a supported phone. pixel XL in this case. but in the website I see that there is a command/package that I don't have "nix-build"
<hiroshi[m]>
I'm not running nixos, so the question is do I need to have nix installed in my base host in order to flash the phone with nixos-mobile right ?
<cole-h>
Nix isn't limited to NixOS. That aside, yes, you do need Nix installed.
<hiroshi[m]>
Thanks for the reply cole-h
<jakeisnt[m]>
Are there any current initiatives to build out a GUI for NixOS configuration?
<hiroshi[m]>
I see that now. is anybody here running nix inside fedora silverblue base (containers aren't a choice if you want to flash your phone)
<energizer>
adisbladis: hey i have a question about your config. my yubikey creates a new challenge-* file every time i use it, but you seem to have a static one. do you know what the security implications are of using a static vs dynamic one?
Volk has joined #nixos
<energizer>
(yeah nixos-shell isnt gonna work for this, booting is too slow)
<inquisitiv3>
What is generally recommended, using the options that Home Manager expose for modules, or to write your own Nix overlay for the application you want to use?
EmoSpice has joined #nixos
<cole-h>
Whichever you prefer.
<inquisitiv3>
I'm looking into using Nix for installing Emacs packages, but I don't know if I should write my own Emacs overlay or use Home Manager's `programs.emacs.extraPackages`
bitmapper has joined #nixos
jneto has joined #nixos
acarrico has joined #nixos
<adisbladis>
inquisitiv3: home-manager's emacs modules are mostly sugar around emacsWithPackages
<adisbladis>
The end result is the same
<adisbladis>
So whatever you prefer
<tpw_rules>
are any of the Qt maintainers around?
<inquisitiv3>
cole-h, adisbladis: Ah, thanks! :)
<cole-h>
adisbladis: :P
<adisbladis>
tpw_rules: Just ask your question. Someone might be able to answer.
<attila_lendvai>
random feedback from a newbie: it's very hard on newcomers that there's e.g. unix-tools.nix which then is installed in app-packages.nix under the non-grep-able name unixtools.
<attila_lendvai>
the naming of stuff in nix in general is not very conducive for the approachability of the project
<Mic92>
attila_lendvai: what is your suggestion?
<isHavvy>
I think it's to sync the two names.
ericsagnes has joined #nixos
<isHavvy>
At least in the small case.
<isHavvy>
In the large case, it's to create a standardized naming convention and document it.
<Ke>
I noticed the same, it's difficult, as some things are named camelCase and some with-dashes
<attila_lendvai>
Mic92, when related stuff have grep-able names then it's much easier to navigate the codebase. when the formal abstractions don't encode such tokens i even put them into comments for grep to pick it up
<Ke>
not like super difficult, but annoying, when evaluations of system take tens of seconds
<Ke>
like you should be able to know file/directory name and package name and store name just be knowing one
<cole-h>
attila_lendvai: FWIW, unix-tools is pretty greppable...
<Mic92>
attila_lendvai: maybe rename the file to unixtools.nix than?
<cole-h>
(from rg unix-tools`
<Ke>
by
<cole-h>
Not to say you don't have a point, though
<Ke>
once you get used to trying different alternatives, it's obviously a mere paper cut
<attila_lendvai>
e.g. i've spent 15+ minutes to find out how to install gitk from gitAndTools, and i'm coding for 30 years. might be me, of course... it's just one data point.
<Ke>
attila_lendvai:
<Ke>
,locate bin/gitk
<Mic92>
attila_lendvai: yeah we should proabably get rid of gitAndTools or at least import everything to all-packages.nix
<{^_^}>
Found in packages: gitAndTools.gitFull
<cole-h>
A helpful tool when you know the binary but not the package is nix-locate.
<attila_lendvai>
don't take grep literally. i don't want to grep the source at every such situation. i was reading a comment that was talking about 'unixtools' in a file called 'unix-tools', and i couldn't find the name of the abstraction in this file.
<DigitalKiwi>
alias grepr='$(which grep)'
<DigitalKiwi>
alias grep='$(which grep) -i'
<DigitalKiwi>
i'm pretty sure i would benefit from always having -r too :|
<attila_lendvai>
Ke, thanks, i have found it already, and it won't be an issue for me anymore, because i'm not a newcomer anymore. i'm trying to presentthe newcomer's perspective here.
<Ke>
yup
<DigitalKiwi>
haskell ide meme but for nix
<{^_^}>
[nixpkgs] @Mic92 opened pull request #109344 → unixtools: align attribute name with filename → https://git.io/Jtfhs
<Mic92>
attila_lendvai: that one is fixed. ^ I leave the gitAndTools to someone else
zupo has joined #nixos
<{^_^}>
[nixpkgs] @cole-h opened pull request #109345 → Shrink the ZFS closure by making mail support optional → https://git.io/Jtfhc
<qyliss>
strong agree wrt getting rid of gitAndTools
<cole-h>
qyliss: Would you just `inherit` instead of `recurseIntoAttrs`, or would you just `callPackage` each individually?
<{^_^}>
[nixpkgs] @erictapen pushed 4 commits to release-20.09: https://git.io/JtfhV
civodul has joined #nixos
<attila_lendvai>
if i'm packaging bee (Ethereum Swarm p2p client), where shall i put it? currently it's in networking/bee but i'm about to add a service script to it, which would suggest servers/bee.
<qyliss>
attila_lendvai: imho a P2P client isn't really a server but I don't think it really matters :)
<qyliss>
cole-h: I think I'd just callPackage individually -- I don't see any reason to have the attrset
<qyliss>
we could still declare the attrset in aliases.nix for compat
<qyliss>
it might also be good to take the opportunity to rename e.g. gitSVN to git-svn
<cole-h>
Hm, I was thinking of throwing, but I guess we could declare the attrset.
<cole-h>
Would get quite big, though.
<qyliss>
recently I'm trying to give people warnings as much as possible so Nixpkgs changes don't block upgrades
<qyliss>
which is an issue for lots of people I've talked to
<cole-h>
Hm?
lsix has joined #nixos
<qyliss>
and then they get stuck on old versions for a long time and are scared of updates
<qyliss>
cole-h: where at all possible, warnings > errors is what I mean
<cole-h>
Ah
<cole-h>
builtins.trace vs throw
<qyliss>
yeah
<qyliss>
because trace lets you fix problems gradually
<Mic92>
qyliss: cole-h gitAndTools could become an alias to pkgs with a warning
hugolgst has joined #nixos
<qyliss>
Mic92: that's true, although I'd quite like to bundle this with more sensible package naming e.g. git-svn, in which case that wouldn't work (or require even more aliases)
<cole-h>
Mmm.
<hugolgst>
hey gys!
<qyliss>
I'll put together a PR
<cole-h>
qyliss: Alright, I'll let you take care of it :P Ping me, though!
<cole-h>
Just below the 10-reviewer cutoff for not pinging anybody. Drat.
<qyliss>
oh I didn't know about that cutoff
<qyliss>
is it only CODEOWNERS that count?
<cole-h>
Nah, codeowners are always pinged. L\nL introduced that metric to prevent anything more than codeowners from being pinged on bad staging-rebases, though.
<cole-h>
(rather, I don't know if ofborg takes into account CODEOWNERS)
<DigitalKiwi>
i was going to say "but then how can i do nix-env -iA nixos.gitAndTools to get everything" but i can't anyway :( (i have a nixFlake profile so nix-env doesn't work anyway but if i use a different profile it turns out gitAndTools has broken packages... :( )
<qyliss>
ohh, it's an OfBorg thing, not a GitHub thing
<cole-h>
Yeah yeah
<qyliss>
I don't think installing every git-related program is a pattern we should be encouraging anyway
<qyliss>
because there are so many of them of varying degrees of quality
<qyliss>
I am now discovering that lots of gitAndTools programs are inherited in all-packages anyway lol, which is good justification for getting rid of it
<cole-h>
(That "yeah yeah" was not at all sarcastic, just a double-agreement.)
CMCDragonkai1 has quit [Quit: CMCDragonkai1]
avn has joined #nixos
<avn>
Hello folks. I have a question (again). Is any examples for configuring xl2tp tunnel (client) under nixos? (I seen only server in nixpkgs)
<DigitalKiwi>
qyliss: ok but can i do nixe-env -iA nixos.kdeApplications at least? :(
<qyliss>
isn't that just builtins.attrValues pkgs.haskellPackages ?
<cole-h>
Yeah whatever
<cole-h>
lol
<{^_^}>
[nixpkgs] @erictapen pushed 2 commits to release-20.09: https://git.io/JtJeI
<cole-h>
qyliss++
<{^_^}>
qyliss's karma got increased to 115, it's a crit!
respawn_ has quit [Quit: Leaving]
<attila_lendvai>
if i'm packaging a p2p service, then the pkgs/.../bee.nix should only describe how to produce the binary, and nixos/module/.../bee.nix should separately describe the systemd service, right?
CMCDragonkai1 has quit [Quit: CMCDragonkai1]
<qyliss>
attila_lendvai: yeah, systemd services should be part of nixos, not pkgs
<qyliss>
p2p or otherwise :)
hugolgst has quit [Quit: Lost terminal]
<attila_lendvai>
qyliss, and what about e.g. MacOS? does nix help to start it as a service on macos? if yes, then where shall i add the relevant package?
<{^_^}>
[nixpkgs] @ehmry pushed commit from @Gabriel439 to master « Fix header for generated Dhall documentation »: https://git.io/JtJeF
<attila_lendvai>
re naming: this thing i'm packaging has a rather short name: bee. shall i go with this short name (it's still available)? or shall i make it longer? if so, what whould be the long name? swarm-bee? ethereum-swarm-bee?
<qyliss>
is there any reason to make it longer?
<qyliss>
e.g. a conflict with another popular program?
<qyliss>
is it packaged by other distributions? if so, what do they call it?
<attila_lendvai>
qyliss, nothing that i know of. if there's no relevant nix policy then i'd go with the short name.
<attila_lendvai>
the packages on other distros are also just called 'bee', so i'll go with that
hugolgst has quit [Read error: Connection reset by peer]
Jackneill has quit [Ping timeout: 264 seconds]
binsaleh97[m] has left #nixos ["User left"]
hugolgst has joined #nixos
<{^_^}>
[nixpkgs] @B4dM4n opened pull request #109348 → pyopenssl: skip test that fails on 32-bit architectures → https://git.io/JtJJU
milahu has joined #nixos
<milahu>
hey. im having trouble with port forwarding in my VPN client. my torrent client always says "port closed". the same VPN client script worked in arch linux
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
<karantan>
but I get an error while trying to build: "error: build of '/nix/store/w23v383vf13lp8anwq04w5rkxa8v1dsw-44fd7a05b655315fa0e6156ac33a1c5624460968.patch.drv' ..."
<qyliss>
erictapen: either way will take a repo admin to resolve, since only they can push to that branch
<qyliss>
cc zimbatm gchristensen
<erictapen>
qyliss: I see, thanks.
<qyliss>
OfBorg should probably scream when somebody tries to PR into nixos-*
<erictapen>
yeah that would be a good idea. Really a pity that that can happen so easily.
<erictapen>
I'm happy that I doen't have the priviliges, would oversee that so often^^ It just took me 20min to even see the mistake that happened here.
<infinisil>
I believe it's possible to not allow pushes to branches even for admins
<qyliss>
oh I thought it wasn't, and that was the whole problem here
<infinisil>
(So that zimbatm can't even merge that)
oxalica1 has joined #nixos
<erictapen>
Ah apparently this also stopped Hydra from pushing to nixos-20.09? There are three successful builds that didn't get published since 41dddb1.
oxalica has quit [Ping timeout: 264 seconds]
oxalica1 is now known as oxalica
slyfox_ has quit [Quit: no need to cry]
eeva has quit [Remote host closed the connection]
eeva has joined #nixos
<qyliss>
infinisil: looks like you're right, and there's an "include administrators" option
<qyliss>
I wonder why we don't have that enabled
<infinisil>
Hmm i wonder if the channel updater is an admin so it can do that
<qyliss>
I suppose that would make sense
BlessJah_ is now known as BlessJah
<qyliss>
We could probably use a status check for that instead
<niksnut>
oh, that explains why firefox was being rebuilt from source
milahu has quit [Ping timeout: 246 seconds]
<qyliss>
oh good, an org owner :)
milahu has joined #nixos
<erictapen>
niksnut: yeah thats how it got my attention as well
<ezemtsov>
When I'm trying to use fetchFromGithub with private repository, nix tries fails with error that NIX_GITHUB_* variables are missing. How can I provide it on non-nix machine?
<ezemtsov>
I'm using a single user nix installation
attila_lendvai has quit [Ping timeout: 256 seconds]
<esotericn>
is there a way to profile slow derivations? not sure if I've got some sort of recursion issue going on but my derivation is taking 20+ seconds to build (even if the result is already cached)
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JtJOt
EmoSpice has quit [Ping timeout: 256 seconds]
<viric>
Anyone uzing AMD Ryzen?
<viric>
I have since long freezes & reboots & mce errors and they don't go away after parts replaced. Seems like this. Is this "common knowledge" that these CPUs don't work? https://bugzilla.kernel.org/show_bug.cgi?id=196683
<DanielEbbert[m]>
Yeah, works fine.
<viric>
DanielEbbert[m]: 1st generation? 1xxx
<DanielEbbert[m]>
<viric "Daniel Ebbert: 1st generation? 1"> No, 4000er series
<viric>
After replacing computer parts, the 'new' mainboard reported mce errors. And searching them I got this kind of "broad knowledge" that Ryzen don't work
<viric>
(tricks of disabling c6-state or c-state bios things claim to make the system stable but...)
ottidmes has joined #nixos
EmoSpice has joined #nixos
<{^_^}>
[nixpkgs] @alyssais opened pull request #109355 → nix-generate-from-cpan: stdenv.lib -> lib in expr → https://git.io/JtJOx
hugolgst has quit [Read error: Connection reset by peer]
ezemtsov has quit [Remote host closed the connection]
EmoSpice has quit [Ping timeout: 260 seconds]
<ar>
viric: yup, on both laptop (4750U) and desktop (5950X)
ZaraChimera has quit [Quit: Connection closed]
<viric>
i see. Maybe the 1xxx are b0rken
<ar>
viric: and I previously used 1800x and 2700x
<viric>
The only thing I have not replaced is the CPU, in my Ryzen 3 1200
<viric>
and crashes/reboots are consistent
hiro98 has quit [Ping timeout: 272 seconds]
<ar>
viric: … how old is your cpu?
<viric>
3 years or so
<ar>
viric: because the first series of ryzen 1xxx's had a buggy memory controller
<ar>
which occasionally caused segfaults
<viric>
I saw "the compiler segfaults" problem mentioned as fixed by amd in next cpus
<pinpox>
qyliss: pinging the domain or the subdomains returns the same ip as `ip a` does on the server. Why would it not be able to request it's challenge?
<qyliss>
pinpox: what HTTP server are you using to serve api.workadventure.lounge.rocks?
<qyliss>
In fact, are you running an HTTP server for that domain at all?
<DigitalKiwi>
do you have http -> https redirection or disabled http / port 80
<bitmapper>
how would i override a service in an overlay
tsrt^ has joined #nixos
<qyliss>
bitmapper: (assuming you mean a systemd service) overlays can't do that
<bitmapper>
i'm trying to get xf86-input-mtrack back
<bitmapper>
libinput and synaptic are hurting my fingers
<qyliss>
(assuming you mean a systemd service) use a NixOS module to set the options you need, possibly using lib.mkForce if you need to override something
lsix has joined #nixos
anderslu1dstedt has joined #nixos
<infinisil>
qyliss: (if the systemd service is defined as an $out/lib/systemd/systemd/*.service, it could)
<esotericn>
does anyone know how I can profile nix derivations to speed them up?
orivej has joined #nixos
<esotericn>
i'm not sure if I'm performing a lot of recursion, or just checking a lot of paths on disk, or really what
<qyliss>
infinisil: that's true but usually isn't what people want
* infinisil
nods
anderslundstedt has quit [Ping timeout: 246 seconds]
<bitmapper>
hm
<bitmapper>
"error: The option `services.xserver.multitouch' in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/rename.nix' is a prefix of options in `/etc/nixos/bmpr/multitouch.nix'."
<lush>
this might not be Nix-specific, but I hope it's fine asking in here: I'm accessing a remote server via ssh. I used ssh-copy-id to copy over my public key(s), but I still have to enter the local user's password I'm connecting to, not my ssh password. I double checked the permissions on the remote server (.ssh: 700, authorized_keys: 640), but ssh
<lush>
still asks me for the user's password when trying to connect. any thoughts?
hugolgst has quit [Read error: Connection reset by peer]
simonpe^^ has joined #nixos
ericsagnes has quit [Ping timeout: 272 seconds]
<AmandaC>
lush: your ssh key probably has a password, that you happen to set to your local user's password
<simonpe^^>
hey! I'm using fetchurl to fetch some stuff requiring an auth token, how can I grab the auth token from my environment or from a file without it changin the derivation hash?
<DigitalKiwi>
gchristensen: i was joking because i've never ran hnix on my laptop without it locking up and when i did it on the aarch64 server it got up to using 64GB of ram before i killed it after a few hours :P
<{^_^}>
[nixpkgs] @fabaff opened pull request #109364 → python3Packages.requests_oauthlib: add license and enable tests → https://git.io/JtJ4R
ericsagnes has joined #nixos
<lush>
dutchie: yeah, the ".ssh/id_..." is what I was expecting. my ssh -v also shows "Offering public key...." (although mine doesn't show "agent" behind the SHA sum). I don't get the "server accepts" part though, it just keeps trying different keys and eventually seems to "fallback" to password authentication..
<dutchie>
"agent" is just because it's getting my key through ssh-agent
<lush>
yeah I guessed that mhm
<lush>
I do use these same keys for github and they work there
notgne2 has quit [Remote host closed the connection]
<lush>
I don't get why it wouldn't work to my uni's server
<dutchie>
it's possible they've done some weird configuration that gets it to overlook ~/.authorized_keys, or your key is in a format it doesn't recognise
<lush>
mhm.. guess I'll have to contact the sysadmin then, eh?
<lush>
thanks
<dutchie>
if it was me, i'd put "weird sshd config" less likely than "i'm doing something dumb and connecting as the wrong user/uploaded my key to the wrong server"
<lush>
mhm fair
<lush>
but I mean.. I logged in with the remote-users password and checked: it definitely copied my key into authorized_keys
<lush>
I guess I can manually check if the keys agree or sth
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JtJBY
<dutchie>
not entirely convinced that's the right option, but it seems to give plausible answers
<supersandro2000>
dutchie: ed25519 has way shorter pub keys
marsh has quit [Quit: No Ping reply in 180 seconds.]
<supersandro2000>
I once had a server that did not support ed25519. I upgraded openssh which required a libc update which broke abi compatibility between apache and a plugin for it
marsh has joined #nixos
<lush>
dutchie the -Q Pubkey command lists ed25519 as well as various rsa formats
<supersandro2000>
in my opinion just use ed25519 and if you find a server that does not support it you probably don't want to use that
<dutchie>
yeah, i'd agree with that
<dutchie>
lush: i think you're going to have to ask the support for that server then
<supersandro2000>
simonpe^^: download the file and then to the thing which factorio prompts you to do
<lush>
mhm alright, thanks :)
<gchristensen>
tragically aws doesn't support ed25519 yet
Mic92 has quit [Quit: WeeChat 3.0]
<esotericn>
heh, i'd just about gotten to the point at which everywhere I use supports ed25519, and now I've gone and gotten a hardware token that needs a newer version of openssh
<adisbladis>
Like, I want to use ed25519 keys, and iirc the yubikeys support it
<edef>
last i checked i couldn't use ed25519 with the PIV applets
<adisbladis>
Just not through openpgp
dstzd has joined #nixos
<edef>
but i actively am using them with the OpenPGP applet
<edef>
s/actively am/am actively/
dstzd has quit [Client Quit]
<adisbladis>
I may be wrong here, I find this space very confusing
waleee-cl has joined #nixos
dstzd has joined #nixos
<edef>
like, there are NIST curves supported
haphaphap has joined #nixos
fendor_ has joined #nixos
haphaphap has quit [Client Quit]
dstzd has quit [Client Quit]
pbox has quit [Read error: Connection reset by peer]
nixuser_ has quit [Ping timeout: 264 seconds]
<esotericn>
hmm, NIX_SHOW_STATS/NIX_COUNT_CALLS don't really seem to help, in like 0.1s I get the stats back, but then there's a ~15-20s pause before anything else starts happening
fendor has quit [Ping timeout: 256 seconds]
<esotericn>
oh ffs, with `-v` I can see that it spends 10+ seconds in fetchzip
<esotericn>
hm
dstzd has joined #nixos
dstzd has quit [Client Quit]
nikivi has joined #nixos
<{^_^}>
[nixpkgs] @holymonson opened pull request #109368 → darwin: check apple headers → https://git.io/JtJ0i
rb2k has joined #nixos
nikivi has quit [Client Quit]
dstzd has joined #nixos
dstzd has quit [Client Quit]
jonringer has joined #nixos
<lordcirth__>
esotericn, so is it just the download taking time?
fendor_ is now known as fendor
<esotericn>
hm, i'm not sure, i mean it should all be cached. i'm wondering if this is some problem with niv, I might just stop using it, doesn't seem as useful as I initially thought
<adisbladis>
It shouldn't regardless of caching
<adisbladis>
I think you're spending a lot of time doing IFD
vidbina_ has quit [Ping timeout: 256 seconds]
<esotericn>
yeah, that's absolutely it, I see now, need to refactor to avoid that
attila_lendvai has quit [Ping timeout: 256 seconds]
joesventek has quit [Quit: Quit]
Synthetica has joined #nixos
<Synthetica>
Hey, after a recent update I am getting "[FAILED] Failed to mount /tmp." after a recent update; does anyone else have this and is there a fix?
<Synthetica>
(This makes my system fail to boot; it's a systemd message)
<{^_^}>
#109118 (by sagehane, 2 days ago, open): boot.tmpOnTmpfs fails to mount
davidv7 has quit [Remote host closed the connection]
<eyJhb>
Not sure if this is just me, but when "no" audio is coming out of my laptop, I will have a lot of white noise. But if I then mute my audio out, it will go away. Seems like something is up? Not sure if that is just puleaudio
zakame has quit [Ping timeout: 256 seconds]
anderslu1dstedt has joined #nixos
<adisbladis>
eyJhb: Just sounds like crappy hw design to me
<Synthetica>
dutchie: Thanks, I'll try the fix proposed there
<adisbladis>
When you mute you probably suspend the entire device, which is why the noise floor is gone
<Synthetica>
(Love the fact that I could just roll back to a previous revision to even ask this question from the same "dead" machine)
<eyJhb>
adisbladis: That might be. Also what I thought, as it might just be noise in the laptop... Wonder if I can test it further
<adisbladis>
eyJhb: I highly recommend the Apple USB-C -> headphone port adapters
<adisbladis>
They have a surprisingly decent DAC and cost almost nothing
davidv7 has joined #nixos
<eyJhb>
You cannot have Apple and "cost almost nothing" in the almost same sentence
anderslundstedt has quit [Ping timeout: 246 seconds]
<eyJhb>
:p
<Synthetica>
dutchie: Thanks, that worked
<adisbladis>
eyJhb: In this instance you can!
revity[m] has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen>
sure, take the configuration file you have and nixos-rebuild build-vm -I nixos-config=./configuration.nix
<gchristensen>
then ./result/ ... will have a file to start the VM
<fuzzybear3965>
Yeah?
<fuzzybear3965>
Trying now.
MidAutumnHotaru has quit [Quit: Quit 啾]
MidAutumnHotaru has joined #nixos
karantan has joined #nixos
<AmandaC>
Is there any way I can make a USB ethernet device always have the same interface name? It seems somewhat random what one it gets, and I'm not clear if that's because my linux kernel changing, ro something on the device's side.
<AmandaC>
fuzzybear3965: on second thought, I'm not sur that the `802-3-ethernet.mac-address` isn't meant to be the host side? It's a USB Armory Mk2 that keeps changing it's interface name
<AmandaC>
( on the host side, my NixOS laptop )
nolash has joined #nixos
<lukegb>
flokli: hmm, I use udev rule; a .link file might be more sensible (d'oh)
<nolash>
when I enter nix-shell I have to manually set env TERM=.. to get backspace etc to work. For nix, where should I adjust this to not have to set it manually?
Dotz0cat has quit [Ping timeout: 264 seconds]
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<AmandaC>
okay, no, the mac address is definatey different. Guess I'll poke around the USB Armory OS
<roconnor>
Hi, I'm trying to build a rust package but I'm getting an error when building the hidapi v1.2.3 dependency:
<roconnor>
error: failed to run custom build command for `hidapi v1.2.3`
noudle has quit []
<roconnor>
thread 'main' panicked at 'Unable to find libusb-1.0: "Failed to run `\"pkg-config\" \"--libs\" \"--cflags\" \"libusb-1.0\"`: No such file or directory (os error 2)"'
<roconnor>
But I have pkgconfig and libusb1 as buildInputs for buildRustPackage
luxemboye has quit [Ping timeout: 240 seconds]
<roconnor>
I don't know what I'm missing here.
rajivr has quit [Quit: Connection closed for inactivity]
<{^_^}>
[nixpkgs] @peti pushed 589 commits to haskell-updates: https://git.io/JtJMR
zebrag has joined #nixos
rb2k_ has joined #nixos
<attila_lendvai>
lordcirth, error: attribute 'httpd.service' in selection path 'config.systemd.units."httpd.service".unit' not found
<lordcirth>
attila_lendvai, hmm, so that implies that config.systemd.units *does* exist
rb2k has quit [Ping timeout: 258 seconds]
<attila_lendvai>
lordcirth, could it be that it's conditional on the enabled option? but then i commented that out from my nix file, and it says the same
<lordcirth>
attila_lendvai, the service only exists if you enabled it in your config, yes
<attila_lendvai>
lordcirth, i also tried with a random other service that i opened (babeld), and it's the same
lsix has quit [Ping timeout: 244 seconds]
<attila_lendvai>
you mean the behavior of nix-build depends on my config in /etc/nix?! another big surprise for a newcomer like me
<lordcirth>
attila_lendvai, I have not used this particular feature, so I'm not sure
<attila_lendvai>
lordcirth, no, it doesn't seem so. i tried adding services.babeld.enable = true; to my configuration.nix but it doesn't affect the behavior
<emilsp>
hrm, what am I doing wrong if I can't get clinfo to show me my GPU? Seemingly the same nixos config on another machine just works, the difference is the GPU (5700xt works, rx570 does not)
<lordcirth>
attila_lendvai, I think you need to pass your config to nix-build somehow
<lordcirth>
emilsp, what NixOS and kernel version?
<attila_lendvai>
emilsp, i'm not sure, but the drives don't always support all families of cards. one of them may be too old?
<emilsp>
20.09, 5.9
pitch has quit [Ping timeout: 264 seconds]
<attila_lendvai>
lordcirth, i tried to comment out this, and it doesn't affect the outcome: config = mkIf cfg.enable { ==> config = {
<kunrooted[m]>
wait, where is unstable nix and nixOS download page?
<kunrooted[m]>
am I blind or what?
gxt has quit [Ping timeout: 240 seconds]
xelxebar has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
<{^_^}>
[nixpkgs] @fabaff opened pull request #109401 → python3Packages.pyvlx: init at 0.2.19 → https://git.io/JtJHU
sveitser has quit [Ping timeout: 265 seconds]
zebrag has quit [Quit: Konversation terminated!]
xelxebar has joined #nixos
xanderle has quit [Ping timeout: 264 seconds]
<yrashk>
I am running into a problem trying to use rust (both rustup and mozilla overlay): when I am trying to compile a crate with a dependency (particularly, a proc macro dependency), I get this error: error: /nix/store/33idnvrkvfgd5lsx2pwgwwi955adl6sk-glibc-2.31/lib/libc.so.6: version `GLIBC_2.32' not found ---- any thoughts on how to work around this? I found somebody else had a similar issue before
<qyliss>
cole-h: does OfBorg count the new top-level attributes in there, even though the actual derivations won't have changed from when they were under gitAndTools?
<{^_^}>
[nixpkgs] @primeos opened pull request #109405 → ffmpeg-full: disable rav1e by default (in favor of svt-av1) → https://git.io/JtJ5l
vidbina_ has joined #nixos
<cole-h>
qyliss: I think it counts as a rebuild because the attrpath changed? I just ran nixpkgs-review on it and (aside from a package failing to build), I immediately got "80 packages built" (e.g. they were substituted)
<KarlJoad>
Yaniel: An ad-hoc `nix-shell`. But, cole-h's answer is exactly what I needed.
<lush>
is there an option to set up ssh-agent in configuration.nix?
<cole-h>
qyliss: FYI, you can see the list of attrs ofborg thinks changed by clicking on the "details" button next to "grahamcofborg-eval" (the one with the cute little "^.^!" face)
<qyliss>
oh cool, thanks!
<cole-h>
(Only after it finishes eval, though)
<qyliss>
yeah, makes sense
hiro98 has quit [Quit: hiro98]
lsix has joined #nixos
<{^_^}>
[nixpkgs] @kevincox merged pull request #108940 → tests/zfs: test stable with stable linuxPackages → https://git.io/JLjYJ
hugolgst has quit [Read error: Connection reset by peer]
<sss2>
hi all, building kernel for i686 failing like this: https://bpa.st/T3XA
sss2 has quit [Quit: Leaving]
<KarlJoad>
I have an <unstable> channel based on nixos.org/channels/nixpkgs-unstable, but I cannot get the correct version of packages from there. Would someone have an idea why?
<Reventlov>
Do you have an example of some packages that automatically configure some web server when set up ? (like, a web application package that needs to spin up a web server)
<Reventlov>
Is there a general blueprint for such web applications ?
<chloekek>
When I run fractal it logs "Most likely gdk-pixbuf does not provide SVG support." I can’t find much about this error, certainly not in the context of NixOS. Is gdk-pixbuf supposed to be shipped with SVG support?
<Gaelan>
My NixOS RPi 0 W is reporting its uptime as about 50 years, i.e. since the epoch. This makes enough sense—the Pi doesn't have a RTC, so it *does* think it's 1970 at early boot, however some googling suggests Raspbian doesn't have this problem. Anyone know how to get uptime to report something more useful?
Cale has joined #nixos
<cole-h>
It's likely because the early boot files are timestamped with 1970, since they're symlinked / copied from the Nix store. I don't think there's any way to fix this.
<andi->
nixos-rebuild doesn't work without network anymore, network isn't being started without tmpfs anymore, can't enter emergency shell without a root password. RIP. I was getting seriously upset about that bug.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cole-h>
Why flakes are the future: you can use `--no-net` and nixos-rebuild without network :D
<andi->
(╯° °)╯︵ ┻━┻)
<cole-h>
(/s, I still like them, but I know they have many flaws)
<andi->
The future is nix NOT spamming unknown option experimental features or unknown feature whatever on stable nix.
<cole-h>
lol
<andi->
While just using stable everything.
<andi->
cole-h: flakes are a huge flaw. I like the idea but the implementation..
<andi->
the fact that we have now three kinds of fetcher: flake inputs, builtins.fetch* (fetchTree etc..) & pkgs.fetchurl/fetchFromGitHub is just laughable.
<andi->
why does the language need the first two and not just one?
HeN has quit [Quit: Connection closed for inactivity]
<{^_^}>
[nixpkgs] @HectorAE opened pull request #109412 → networking-ts-cxx: init at 2019-02-27 → https://git.io/JtJAP
<andi->
why are flakes .nix files if you can't use the as such? Perhaps all the inputs should be declared in a YAML/TOML/… file..
<cole-h>
Well, I'd argue the language only has the last two, and the tool has the first one.
<cole-h>
But I agree with the TOML point. I think Eelco was working on that at one point, too
<andi->
Grab a newbie and let them package something for with a flake. I bet they'll be confused about it.
<andi->
why the package sources are a different mechanism then the other.
<andi->
I know that stuff. There was also work on replacing nix expressions entirely with TOML..
<cole-h>
Oh, OK.
<andi->
I seriously hope the code will be refactored (from the above Commit) before it lands in the source tree. Look at the nix code styile to make that toml stuff happen..
<{^_^}>
#108739 (by thiagokokada, 6 days ago, open): nixos/redshift: use config file instead of passing parameters, using RFC42
<K0kada>
I know that describing no options makes discovery somewhat hard, but I thought `location` module was for those things that we are replicating in redshift again
Acou_Bass has joined #nixos
<K0kada>
And {dusk,dawn}Time are mostly niche usages, I don't really think they need that much visibility
<K0kada>
But actually implementing dawnTime/duskTime is not my real concern (it is easy), my problem is implementing latitude/longitude/useGeoclue in a clean way that also keeps backward compatibility
gueorgui has quit [Ping timeout: 260 seconds]
gueorgui has joined #nixos
Dotz0cat has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @tesq0 opened pull request #109413 → unityhub: add mising icu and clang libraries → https://git.io/JtJxZ
Dotz0cat has joined #nixos
<{^_^}>
[nixpkgs] @rgrunbla opened pull request #109414 → galene: init at 0.2 → https://git.io/JtJxE