if i have a .nix file that has a var from pkg.buildEnv in it, and that .nix file is on a git repo somewhere, how do i tell ~/.config/nixpkgs/config.nix to access that repo by URL?
aaabbbbbbbbbb has quit [Ping timeout: 256 seconds]
gustavderdrache has quit [Quit: Leaving.]
WitchKiwi is now known as DigitalKiWicked
Where should I start with debugging issues in initrd secrets? I cannot finish `nixos-rebuild switch` anymore because there appears to be a cumulative effect with previous config files, and something is causing `nixos-rebuild switch` to fail with `failed to create initrd secrets: No such file or directory`
supersandro2000 has quit [Ping timeout: 246 seconds]
anyone know if there are any tricks to opening port 80 on nixos?
I was able to solve this once before: an old config pointed to a wrong file, so I added a dummy file, did a rebuild, then rebuilt with `--install-bootloader` which seemed to reset the accumulation. However on the machine I'm working with now, the error does not include a filename, so I'm stuck without any idea what is breaking. My current config should be valid.
jabster28 has quit [Ping timeout: 246 seconds]
i have networking.firewall.allowedTCPPorts = [ 80 ]; set
Yaniel has joined #nixos
ditto for allowedUDPPorts
but nmap tells me that it's not open
foobar6809 has quit [Remote host closed the connection]
[nixpkgs] @aanderse opened pull request #101884 → composer2: init at 2.0.0 [20.09 backport] → https://git.io/JTPNm
oh, seemingly it's just gitAndToos.pass-git-helper that's no longer building
got an even weirder error on that one "bash: relocation error: /nix/store/xg6ilb9g9zhi2zg1dpi4zcp288rhnvns-glibc-2.30/lib/libpthread.so.0: symbol __write_nocancel version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference"
nuncanada has joined #nixos
i guess the ld preload stuff is what it was. removing /etc/ld-nix.so.preload fixed it. thanks for the LD_ env hint..
Does anyone know just HOW broken sage and scilab are?
:O audio playing over my USB mic
holy shit it's a miracle
NicksOS has joined #nixos
when I Sleep/Suspend to RAM and wake up I can't get wifi working again. IDK what's going wrong, don't know how to troubleshoot it, but I want to solve it. It's an HP Pavillion laptop, if that matters.
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.snowflake-connector-python: 2.3.3 -> 2.3.4 »: https://git.io/JTXRU
cfricke has joined #nixos
palo1 has joined #nixos
colemickens: drvPath is an attribute added by the derivation builtin to every derivation. But it's indeed not documented anywhere and probably not guaranted to be stable
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
regnat: oh gee, that makes sense
regnat: also, I was able to remove all knowledge of drvs from my script after all. thanks for the tip, nudge and now followup.
I still have to do `nix copy --derivation` but I don't actually ever store a store path ending in ".drv" so that seems good in terms of avoiding relying on the exact mechanism.
Hello, I'm having the following error (libguestfs marked as broken) when trying to upgrade to 20.09: https://dpaste.com/AT8LTAM7F. According to the traceback it's because vagrant needs it, does in mean vagrant is broken in 20.09?
asheshambasta has joined #nixos
colemickens: Oh nice, I'd be interested in knowing how :)
regnat: originally I was calling nix eval in one place to pass all my override-inputs, then carted that drv around. For the most part I can just either use the flake reference and nix handles building it, or I can throw --derivation in and it acts on the derivation behind the scenes. It was honestly rather easy, I feel kinda silly I hadn't already realized it and done it.
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.py-multibase: 1.0.1 -> 1.0.3 »: https://git.io/JTXE4
ishan has joined #nixos
sephii: es, it does.
jonringer has quit [Ping timeout: 260 seconds]
domogled has quit [Remote host closed the connection]
I am using flakes I wrote an overlay to get neovim from master. When I launch neovim it is unable to see my ~/.config/nvim/init.vim. Also my XDG_CONFIG_DIRS does not contain $HOME/.config . What's the problem here?
domogled has joined #nixos
alp has joined #nixos
aszlig has joined #nixos
develCuy has joined #nixos
mallox has joined #nixos
ishan: I don't think ~/.config is normally in XDG_CONFIG_DIRS, but in XDG_CONFIG_HOME
ishan: So that's probably not related.
ishan: What do you mean it cannot _see_ ~/.config/nvim/init.vim? :)
@srhb my config for nvim isn't loaded. Everytime a nvim launches it launches a default one.
@srhb actually XDG_CONFIG_HOME was also empty initially I had to set it manually in my configuration.
programs that implement XDG Base Directories are supposed to use ~/.config by default if XDG_CONFIG_HOME is unset
ishan: And what is the value of XDG_CONFIG_HOME now? I ask because it sounds like you have fiddled with vars that, if set incorrectly, would produce the behaviour you're seeing.
According to your shell, not nix, right?
yes I used echo $XDG_CONFIG_HOME.
ishan: And nvim -u /home/me/.config/nvim/init.vim works fine?
@srhb yes I checked it works.
ishan: Time to pastebin your nix setup of nvim I guess :)
srhb: is there a way to know why it's broken? I see that it's been marked as broken in 1a1d940f07c70fe57b34bed7db86596dd052a0bf (the commit message being "treewide: initial mark broken for 20.09") but that's all the information there is. I tried building it and it built fine, so maybe it's a runtime problem?
sephii: That's usually done because the hydra build was failing just before release (where everything that doesn't build is marked broken)
sephii: If that was a transient error, it may be a mistake
sephii: Best way to figure out is to clone nixpkgs and remove the broken flag and test everything.
Good Morning! Is there the possibility to have a custom x session (.xsession) and still be able to select different sessions in lightdm? (Naivly just creating .xsession results in selection in lightdm being ignored.)
jmeredith has quit [Quit: Connection closed for inactivity]
Hi there! I'm chrooted into my nixos install following the guide https://nixos.wiki/wiki/Change_root. When I run `nixos-rebuild switch --upgrade` though, I get "error: writing to file: Operation not permitted". Any advice?
"could not load the QT Platform plugin "xcb"
how can I check where a certain dependency comes from? Just upgraded to nixos 20.09 and I can't rebuild user programs because of some depndency on libguestfs and I dont know what depends on that
I'm running Ubuntu inside WSL2, and if I use Ubuntu to install mesa-utils, glxinfo works fine. But if I run nix-shell -p glxinfo, and then run glxinfo, it tells me "couldn't find RGB GLX visual or fbconfig". I suspect the underlying error is also what's preventing me from running glx applications. Any idea what the problem here might be?
boxscape: my understanding is that Nix apps that use GL don't work well on non-NixOS systems
hi there! I upgraded today to 20.09 on plasma and networkmanager stopped letting me connect to wifi. It says "Secrets were required, but not provided". Tried both the plasma applet and nmtui, both give the same error :S
Is ext4 or zfs the recommended file system for nixos these days?
domogled has quit [Ping timeout: 256 seconds]
domogled1 is now known as domogled
boxscape: I'm not sure that the question is NixOS-specific; Linux broadly recommends ext4 for general-purpose work.
boxscape: ZFS for sure works well on NixOS, but I don't think we have a recommended filesystem. I'm not sure there ever will be any distro recommending ZFS as default due to licensing and the module not being mainline.
niksnut: hi, been trying to contribute to nix and was looking at toJSON functions because of https://github.com/NixOS/nix/pull/4182. Is it helpful to create PRs for kinda petty stuff like consistently capitalizing all toJSON functions (one of them is currently toJson) or is that needless churn?
nix#4182 (by mkenigs, 5 days ago, open): Print built derivations as json for build
okay, got it. I need to give `nofail` to fileSystem options and then it all works!
what is the importance of the "programs" attribute set? It is a bit tough to google "nixos programs". Is there documentation on it? More specifically, why aren't things like emacs and firefox part of the `programs` attribute set?
selfsymmetric-mu has joined #nixos
CyberManifest has joined #nixos
justanotheruser, IIRc, it's things that aren't just packages, because they change something, but also aren't services.
cosimone has quit [Remote host closed the connection]
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.drf-yasg: 1.17.1 -> 1.20.0 »: https://git.io/JT1zD
Hi, I'm trying to install the obsidian package, but entering the command suggested on the nixos package search `nix-env -iA nixos.obsidian` gives the error "error: attribute 'nixos' in selection path 'nixos.obsidian' not found", and just using `nix-env -i obsidian` installs a different (dwarf fortress) package with the same name, any idea what I'm
rajivr has quit [Quit: Connection closed for inactivity]
supersandro2000: I want the other way around. That project appears to target building images. I want to use a container during a nix-build as the setup isn't trivial and I'm unlikely to translate the build system into Nix ;)
The only other thing I know is setting up nix in Docker
I'm now running podman within runInLinuxVM to execute code inside a container as part of my build
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JT1yi
Reiser has quit [Changing host]
Reiser has joined #nixos
vesper11 has joined #nixos
nDuff has joined #nixos
vesper has joined #nixos
vesper11 has quit [Ping timeout: 272 seconds]
wjjunyor[m] has joined #nixos
Good afternoon guys.
Is it possible to use user names with dots like John.Doe ?
mallox has quit [Quit: WeeChat 2.9]
knupfer1 has joined #nixos
wjjunyor[m]: it will probably work if you quote it
thc202 has quit [Ping timeout: 240 seconds]
I upgraded to 20.09 and emacs has no working fonts. I don't know where to start to debug this issue.
knupfer1 has quit [Client Quit]
exco has joined #nixos
mananamenos has quit [Ping timeout: 240 seconds]
What's nixpkgs' policy around kernel ABI compatibility? I'm trying to get someone with an Ubuntu Precise (12.04 LTS, long-out-of-support) system to install a modern GnuPG, and am trying to determine whether using Nix is an option for them, or if the packages coming out of Hydra won't be ABI-compatible with the 3.2.79 kernel it ships.
I guess linux only really promises forward compatibility
[nixpkgs] @RonanMacF opened pull request #101971 → update tmux-resurrect and tmux-continuum → https://git.io/JT1HM
Right, I've run into ACME problems with the 20.09 upgrade as well \o/ oddly enough I'm getting the account rate limit even though I'm using one email address for all the certs on this machine, and one of the cert services has successfully registered the account. Any ideas why this might be happening?
sphalerite: Crazy idea: Is the systemd job succeeding? Maybe it's set to restart on failure and fails shortly after making an API lookup
jD91mZM2: it's not, since that's exactly the sort of thing that makes you run into rate limits very quickly :D
Great, so you can see in the logs what the failure is?
just wanted to confirm that yeah, it used to be one account per certificate, or in other words it was 1:1 between security.acme.certs.<name> and accounts. Now it is 1:1 with email addresses as observed above.
no, it's definitely the same email address for all of them
and no, wireshark won't help since connections to let's encrypt are (surprise!) encrypted ;)
It also says in the log which address it's using, and that's the right one
astylian has quit [Ping timeout: 256 seconds]
enick_892 is now known as georgyo[m]
georgyo[m] is now known as Guest66142
Ok. I'll stop trying to go out of my depth :)
Guest66142 has joined #nixos
Guest66142 has quit [Changing host]
Guest66142 has joined #nixos
lunik1 has quit [Quit: :x]
ryantrinkle has joined #nixos
is anyone on 20.09 or 20.03 and has more than 3 fonts in M-x list-fontsets RET with Emacs 27.1?
lifestronaut has joined #nixos
I'm about to install nixos for the first time, using full disk encryption. A friend suggested I look into systemd-boot instead of grub. What kind of partition scheme should I be doing to use systemd-boot?
benny: I *think* that was reported recently
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
__monty__ has quit [Quit: leaving]
I'm trying to build 20.09 and get this:
/nix/store/pj0nkfr5x5nxrban9f4dw7zgxs4n0hbg-manual-combined/manual-combined.xml:11713: element xref: validity error : IDREF attribute linkend references an unknown ID "opt-home.file._name__.source"
Where did that came from?
Looks like an issue with building home-manager's manual
I didn't know I'm building it
Rusty1 has joined #nixos
philr has joined #nixos
rawtaz has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
Hiyas. I was wondering if anyone knows how Gnome/other DEs find all the .desktop files on the system? I understand that derivations can create a share/applications/myapp.desktop file but I don't get how they are then discovered?
m1cr0man: an application installs a desktop file to share/applications. every installed application in systemPackages gets added to an environment variable XDG_DATA_DIRS. all lookups in gio will use functions within that use that environment variable, for example GLib.Environment.get_system_data_dirs
worldofpeace++ awesome that's _exactly_ what I was wondering :D thanks a million
worldofpeace's karma got increased to 252.00000000000003
sphalerite: Huh... so I think what might have happened is all your cert services ran at the same time, one (or more) of them succeeded in validation, and that may or may not have corrupted your accounts files
mikroskeem has quit [Ping timeout: 272 seconds]
that's… annoying, that that can happen >.<
sphalerite: Try going to /var/lib/acme/.lego/accounts/aawuishfpiaubfpiud (aka some random hash) and see what's there
yeah I think this may be bug-worthy, I might have to implement some form of lock
_if_ that is the issue
that seems somewhat likely, since it was about 10 of them starting at once
restarting them one by one seems to work
It's funny though because my own system has around 30 certs that share an address, but I know I haven't implemented anything to stop this happening
fendor has quit [Remote host closed the connection]
sphalerite: It's worth noting that it really should only happen once, unless you change the email again. Renews don't request accounts, and the renew timer has a random skew for each cert. Also changing attributes of one cert will only renew that cert and not its account data
orivej has quit [Ping timeout: 265 seconds]
m1cr0man: yep, I was confused as to why all of them were trying to register accounts as well
mmohammadi9812 has joined #nixos
If you get a chance, would you mind opening an issue and pinging @nixos/acme?
yep writing it right now :)
worldofpeace: Thanks for the link. All I'm looking to do is add my own application file to override an existing one. Knowing that it's built from systemPackages should get me going :)
justanotheruser has quit [Ping timeout: 240 seconds]
aaabbbbbbbbbb has quit [Ping timeout: 240 seconds]
m1cr0man: oh, there's actually a couple ways to do that I think
m1cr0man: you could do a symlinkJoin on the app and substitute the desktop file, that would be the cleanest way I think. there's other ways that the desktop file spec supports, the only one I recall is putting a modified version of the desktop file in .local/share/applications because those will take precedence
vk3wtf has quit [Quit: WeeChat 2.7.1]
if u use home-manager I would suggest the second option, since there's a module to manage the home files
worldofpeace: The symlinkJoin sounds interesting. I'm trying to change this for all users so home manager isn't ideal (otherwise I could just put it in ~/.local/share/applications anyway).
m1cr0man: yeah, I personally use symlinkJoin and substitute on my machines 👍️
u don't make it an overrride, though. you make another attribute like my-app-different-desktop-file = super.symlinkJoin ...
and just install that one
m1cr0man: possibly also lib.hiPrio + makeDesktopItem
Huh, interesting ok
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
… but I should probably go to bed, the only reason I'm still here is because I wanted to check on the acme thing because I couldn't reach my home assistant to dim my lights because the cert was broken…
Ah, the joys of smart technology.
Thanks again, and good night!
sphalerite: hmm, yeah if u need to construct an entirely new file
oh, so it says "that it contains exactly the specified derivation, and nothing else" I guess that's useful if u want to have a set of profiles with exactly certain things and to switch between them?
and nixos-rebuild just sets it to the default one
worldofpeace: like nixos generations that are specially in the /nix/var/nix/profiles/system profile, if I understand it mostly correctly
if I had to guess, `profile install` looks for a manifest.json in the existing profile and then "copy and updates" it...
and since I didn't have a manifest.json, it effectively made a new profile, and then set my system to it. and then the bootloader generation process is going to be unable to make an entry for that generation.
[nixos-search] @garbas merged pull request #216 → Remove cleanUrl and fragment hack → https://git.io/JTPXL
[nixos-search] @garbas pushed commit from @turboMaCk to master « Remove cleanUrl and fragment hack (#216) »: https://git.io/JT1je
[nixos-search] @garbas pushed 0 commits to turboMaCk/avoid-fragment-hack: https://git.io/JT1jv
mica: yay 💘
colemickens: ooh sheesh. we shouldn't be able to do that 🤓