<supersandro2000>
there is a lack of plasma maintainers
<mtr>
Yaniel :p I meant more games and such, though if messing around with X sessions (and not editing any config files while doing so) causes a purely-functional OS to break then yeah you might be right
philr_ has joined #nixos
<Yaniel>
haven't really had many problems with games
<Yaniel>
other than the latest proton version being unusable for now
<mtr>
I could list a good number of games that just fail to start, some with proton, some native linux
<Yaniel>
but do tell more about that in #nixos-gaming
<__monty__>
mtr: NixOS isn't purely functional really. Nix the language is. But you still have state on your system and if I had to guess I'd assume that's what's causing your problem.
<__monty__>
I don't know how to fix it though.
<colemickens>
I also have had issues with DEs due to their state in $HOME somewhere
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/Jt4TQ
<{^_^}>
[rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/Jt4T7
<kini>
IMO it's pretty annoying how disorganized all-packages.nix is... are there any plans to clean it up a bit? Like, get the sections done properly, alphabetize, etc.?
<kini>
I get that doing it all at once would cause a lot of git merge conflicts with open PRs, but maybe packages could be moved out bit by bit into a separate file which would be imported and inherited into the main attribute set, and then eventually that file could replace all-packages.nix, or something like that
<kini>
doing it with a tool might be pretty hard, since the definitions aren't that uniform, and the categories aren't machine-readable from the expressions or anything... but I guess it would be even harder to do it manually, considering how huge the file is
<{^_^}>
[nixpkgs] @twhitehead opened pull request #111268 → python: pytest-timeout: include patch as URL is now broken → https://git.io/Jt4OJ
<Wulfsta>
I have a VPS on KVM that I can't seem to get IPv6 correct on - it should have an address that I know assigned, but my ens3 interface does not show it. Anyone know what I need to do to get this working?
thongpv87 has quit [Remote host closed the connection]
<mcint>
in effect, assign the ip using https://linux.die.net/man/8/ip e.g. `ip addr { add | del } IFADDR dev STRING` repeatably / in nix, not sure, would love to know, just learning myself
turlando has quit [Remote host closed the connection]
turlando has joined #nixos
<Wulfsta>
I see there's a `networking.interfaces.<name>.ipv6.routes` option
<Wulfsta>
As well as `networking.interfaces.<name>.ipv6.addresses`
<mcint>
you'll probably need a default route, but what that should be will depend on the deployment ::/0 to provider gateway (is it called that for ipv6?)
<Wulfsta>
I have no clue, I am not a networking person at all
<mcint>
I'm googling "ipv6 default route setup"
<mcint>
what's the provider?
<mcint>
you're not setting up ipv6 for a container/vm inside your vps, but for the vps itself, right?
<Wulfsta>
Yes, for the VPS itself. Provider is ExtraVM
<mcint>
ipv6 always has link-local addresses, automatically set up, so you can communicate with other hosts on your L2 (ethernet / virt eth) subnet
<genevino>
if you think databases are good at saving data, you should probably try a harddisk.
bqv has joined #nixos
zupo_ has joined #nixos
zupo has quit [Ping timeout: 240 seconds]
<Aleksejs>
hey, I have a mounted external disk that has nixos installed on one of it's partitions and it can work as live "usb", but it's not booted now. Is there a way to clear garbage and unused stuff with nix tools without booting this disk?
<{^_^}>
[nixpkgs] @dotlambda opened pull request #111283 → libgcrypt_1_5: mark as insecure → https://git.io/Jt4nS
<jakobrs>
Aleksejs: nixos-enter?
<jakobrs>
Mount the partitions of the disk manually into /mnt like you did when you installed nixos, and run nixos-enter
<jakobrs>
Then you can run nix-collect-garbage from inside the chroot
<Aleksejs>
nice
<Aleksejs>
ty
mmohammadi9812 has quit [Ping timeout: 260 seconds]
Qwerky has joined #nixos
bgamari has quit [Remote host closed the connection]
bgamari has joined #nixos
aexoxea has quit [Quit: Goodbye!]
mmohammadi9812 has joined #nixos
<{^_^}>
[nixpkgs] @erictapen merged pull request #111283 → [20.09] libgcrypt_1_5: mark as insecure → https://git.io/Jt4nS
<{^_^}>
[nixpkgs] @erictapen pushed commit from @dotlambda to release-20.09 « libgcrypt_1_5: mark as insecure »: https://git.io/Jt4cO
Darkmatter66 has joined #nixos
Qwerky has quit [Remote host closed the connection]
<wnklmnn>
abdillah[m] is there away to create a "application/x-zip-compressed" file myself? I currently only have files being identified as "application/zip"
<clever>
wnklmnn: its in the mime-type setup of the http server, which maps extensions to mime types
<{^_^}>
[nixpkgs] @fdietze opened pull request #111312 → herbstluftwm: Add option to specify package → https://git.io/Jt4E8
<abdillah[m]>
<wnklmnn "abdillah is there away to create"> I think that depends on the mime detector. Both are the same file but mine always says x-zip-compressed no matter tools I used
attila_lendvai has joined #nixos
arahael2 has joined #nixos
<wnklmnn>
abdillah[m] it seems so. for me the file referenced in your issue identifies as a "application/zip"
<abdillah[m]>
I see.. I will look on sth that makes that way
<manveru[m]>
seems like the latest kernel now extracts EDID from my monitor, but the info is wrong and leads to me being unable to set the correct resolution... does anyone know how to disable that again?
<{^_^}>
[hydra] @grahamc pushed to search-limit-reqs « search: limit results to 50, default to 10 »: https://git.io/Jt4Ed
<{^_^}>
[hydra] @grahamc opened pull request #853 → search: limit results to 50, default to 10 → https://git.io/Jt4EF
superherointj has joined #nixos
<superherointj>
Is lib.options.literalExample necessary to be used for sets like "{ }"?
<supersandro2000>
How to systemd-nspawn container populate on nixos?
<supersandro2000>
*non nixos
<supersandro2000>
they container fs is empty when first starting. It pulls the things from the store, right?
mmohammadi9812 has quit [Ping timeout: 246 seconds]
mmohammadi9812 has joined #nixos
thongpv87 has quit [Quit: leaving]
thongpv87 has joined #nixos
thongpv87 has quit [Client Quit]
thongpv87 has joined #nixos
wnklmnn has quit [Quit: Leaving]
lsix has joined #nixos
mammothbane[m] has joined #nixos
<{^_^}>
[hydra] @grahamc merged pull request #853 → search: limit results to 50, default to 10 → https://git.io/Jt4EF
<attila_lendvai>
in my service file, i have realized that i cannot reconfigure e.g. dataDir just yet, because it is hardwired in upstream. is there a way to comment out my mkOption and fix its value to something? or make an mkOption "read-only" to force its default?
<attila_lendvai>
supersandro2000, this is with the bee-clef service...
mmohammadi9812 has quit [Ping timeout: 246 seconds]
ManiacOfMadness has joined #nixos
mmohammadi9812 has joined #nixos
wiki_me has joined #nixos
lordcirth has joined #nixos
<wiki_me>
anyone in here and can't help me with some problem? i am unable to upgrade a package on ubuntu using nix
mmohammadi9812 has quit [Ping timeout: 240 seconds]
ixxie has joined #nixos
jmeredith has joined #nixos
SomeoneSerge has joined #nixos
hiro98 has joined #nixos
mmohammadi9812 has joined #nixos
hiro98 has quit [Remote host closed the connection]
<SomeoneSerge>
Is there a simple way to adjust the "sh <(curl -L https://nixos.org/nix/install) --daemon" instruction so that default profile has flakes-enabled nixUnstable?
nvmr has joined #nixos
K0kada has joined #nixos
<{^_^}>
[nixpkgs] @dotlambda opened pull request #111315 → gdal_2: add patch for CVE-2019-17546 → https://git.io/Jt42G
mmohammadi9812 has quit [Ping timeout: 272 seconds]
ixxie has quit [Quit: Lost terminal]
<clever>
SomeoneSerge: that shell script basically just downloads a tarball of a /nix/store that already has nix installed
jolicoeur has joined #nixos
CptCaptain has joined #nixos
Qwerky has joined #nixos
mmohammadi9812 has joined #nixos
teto has joined #nixos
<SomeoneSerge>
Right... oh it seems numtide/nix-flakes-installer contains the same script except w/ flakes
<{^_^}>
[nixpkgs] @jtojnar pushed commit from @r-ryantm to master « inkscape: 1.0.1 -> 1.0.2 »: https://git.io/Jt4KH
avaq has joined #nixos
<avaq>
Hi. I'm trying to customize a package by overriding its 'src' attribute. As I understand it, packages are just the return value from their derivations. So I tried to custimize it like this: `my-package = original-package // { src = my-src; }`. No runtime errors, but not the desired result: my-package appears equal to original-package. What am I missing?
<avaq>
I also tried to flip the arguments to //; I'm never sure which side takes prevalence.
<avaq>
Oh, alright. :) -- I guess I was merging with the overridable object and not the result?
ahmedelgabri has quit [Ping timeout: 260 seconds]
<attila_lendvai>
@supersandro2000, in that free-form yaml config setup, is there a way to specify defaults that are "merged" and available in the service nix file? cfg.settings doesn't contain the defaults, only what is set by the user.
<symphorien[m]>
the right side
<symphorien[m]>
> { a = 1; } // { a = 2; }
<{^_^}>
{ a = 2; }
captn3m0 has joined #nixos
<supersandro2000>
attila_lendvai: I think searx has something like that
* attila_lendvai
looks
<supersandro2000>
maybe you can copy that
<{^_^}>
[nixpkgs] @ttuegel opened pull request #111325 → KDE Frameworks 5.78 → https://git.io/Jt46Y
<sterni>
attila_lendvai: you can define additional options with specified type, description and default value inside the freeform thingy
<{^_^}>
[hydra] @grahamc pushed to limit-query-time « search: limit queries to 20s »: https://git.io/Jt46C
<symphorien[m]>
[avaq](https://matrix.to/#/@freenode_avaq:matrix.org) the converse, I'd say. it is `mkDerivation` which does the magic, and you have to change the `src` argument to `mkDerivation`. With // you only update the result of mkDerivation, and it's too late
<texasmynsted>
Would nix work well to capture many files for a production deployment? Like using git to keep snapshots? I have issues with git export that makes it not a perfect fit.
shad has joined #nixos
<attila_lendvai>
is there a way to optionally set a key? i.e. only set it if it's not set alread? so that i don't get the "has conflicting definitions" error
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jonreeve[m]>
Hey this is an easy question but for some reason I'm not finding it through a simple search. How can I override the source of a package? For example, I want to replace pkgs.picom in my home-manager config to the fork at https://github.com/ibhagwan/picom instead. Could someone point me to the syntax that does that?
<tilcreator>
How is it handled in NixOS when a program needs header files from /usr/include/ at runtime?
<pie_>
clever: do you think I can do proxyDHCP with dhcpd4? it doesnt seem to be built in but it kinda seems like you can configure dhcpd4 to do whatever?
<clever>
nly: nix-build '<nixpkgs>' -A linux.src -o linux.tar.xz, if you havent changed the default in configuration.nix
<nly>
nix-build linux --source i thought
<__monty__>
jonreeve[m]: You need an overlay. `self: super: { picom = super.picom.overrideAttrs (old: { src = ...;}); }`. There's multiple ways of using overlays so best check the manual on that.
<lukegb>
well why didn't you say so :p ;)
<nly>
thanks :)
<nly>
haven't changed. thanks
<__monty__>
jonreeve[m]: Or you could pass `picom.overrideAttrs...` as the package argument for the HM module.
nhs has joined #nixos
<jolicoeur>
jonreeve[m], you could also have a look at pkgs/applications/window-managers/i3/gaps.nix and publish something similar for picom as this fork is quite popular and it would make it easier for other users to use this fork too
<jonreeve[m]>
It seems like it'd be an easy fix, but I'm not finding the solution anywhere.
nhs has quit [Ping timeout: 240 seconds]
<gulplante>
Is it possible to use OpenCL with mesa drivers on an NVIDIA GPU? opencl-info returns "ERROR: clGetPlatformIDs(-1001)" after having added ocl-icd to opengl.extraPackages.
<gulplante>
And clinfo just prints "Number of platforms" -- no actual platforms.
cole-h has quit [Ping timeout: 240 seconds]
<nly>
lukegb: ah yes, guess i'll also have to build it. one-liner?
<nly>
nix-shell linux +deps && make -j4 # or smthing
<lukegb>
I mean if you want to build linux then `nix-build '<nixpkgs>' -A linux` - although that'll substitute if it was already built
<pie_>
attila_lendvai: szia :)
<{^_^}>
[nixpkgs] @veprbl merged pull request #111129 → darwin.ICU: update to 66108 and restruct → https://git.io/JtljC
<nly>
it's missing the file 'cscope.out' that i want, so build ?
jolicoeur has quit [Read error: Connection reset by peer]
jolicoeur has joined #nixos
<lukegb>
well, you can drop into a shell with `nix-shell '<nixpkgs>' -A linux`, and then step through the phases yourself (e.g. unpackPhase, cd into the src root, patchPhase, configurePhase, buildPhase, etc.)
<nly>
# missing pkg-config -> something like this?
<nly>
nix-shell '<nixpkgs>' -A linux -p pkg-config
<nly>
wow, neat
<pie_>
clever: did i goof or is there a good reason changing the dhcp config causes a squashfs rebuild...
<lukegb>
I think the configurePhase doesn't quite work properly since it's overridden, though
malook has quit [Quit: malook]
<clever>
nly: you cant mix -A and -p, they do different things
<esotericnonsense>
how do I set the 'default' version of an app? my paths seem to go a bit screwy if i have alternatives installde
<esotericnonsense>
installed*
<esotericnonsense>
for example, `ip` is part of both `iproute2` and `busybox`, if I `nix-env -iA nixos.busybox` then it ends up overriding the "real" tool when it should have lower priority
<clever>
esotericnonsense: simple answer, never install busybox, it overrides a lot of things, generally causing problems
<clever>
esotericnonsense: nix-env also has priority over most other sources
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
berberman has joined #nixos
cfricke has quit [Quit: WeeChat 3.0]
bqv has quit [Ping timeout: 272 seconds]
berberman_ has quit [Ping timeout: 265 seconds]
sangoma has joined #nixos
<energizer>
LinuxHackerman: i'm looking at https://github.com/NixOS/nix/issues/1710#issue-278699686 and wondering when are the atime and mtime set on those files. mine are bz2 files so i woulda thought theyd be written once and left alone
<__monty__>
ocharles: nix-store --export $(nix-store -qR paths) will export the closure of "paths" as a nar iirc.
gonification has joined #nixos
sangoma has quit [Ping timeout: 264 seconds]
xps has joined #nixos
<__monty__>
I'm using wrapProgram and I see the wrapper script uses `exec -a $0` to trick the wrapped script into thinking its name is unchanged but it's not working. Any shell experts who can weigh in on whether it's possible to set a called script's $0 if `exec -a` doesn't work?
<cdknight[m]>
Hey guys—is NixOps supposed to be stable/usable? Seeing a bunch of people on Github saying otherwise (this is in the context of the libvirt plugin but also seeing it doesn't work for AWS)
zfnmxt has joined #nixos
simba1 has joined #nixos
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 0 commits to yugabyte: https://git.io/Jt4QJ
<asymmetric>
but it fails with error: path '/nix/store/nl9y3wsb19zlr1jxb1dw07wj5460l4j7-nixos-system-foo-20.09.20210123.a058d00' does not exist and cannot be created
<asymmetric>
it works with --build-host localhost, but i'd like to avoid pushing closures around
<energizer>
cdknight[m]: idk what the current status is. #nixops would know. fwiw there are a bunch of competing options atm.
<tilcreator>
I noticed that when `clinfo` (or any other application that tries to compile and execute opencl code on the gpu) fails with`<built-in>:1:10: fatal error: 'clc/clc.h' file not found`, a strace shows that it searches in `/nix/store/lwx55ax94va2r59z26a8p2v136925hbi-libclc//nix/store/lwx55ax94va2r59z26a8p2v136925hbi-libclc/include` (which is invalid). Any idea where that error originates or a way to find out? (I'm using pr82729
<elvishjerricco>
Instead of pointing directly to installation-cd-minimal.nix, point to your own nix file that sets the appropriate options and also has `imports = [./modules/installer/cd-dvd/installation-cd-minimal.nix];`
<elvishjerricco>
Adjust paths according to the directories you do things in
<judson>
Huh. Is that the only way to put <1k onto the existing boot image?
thongpv87 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @fabaff opened pull request #111355 → libwebsockets: enable 4.1.x series → https://git.io/Jt4xE
thongpv87 has joined #nixos
<sshow>
what do I have to do to make `nix-env -i tmux` work instead of `nix-env -iA nixos.tmux` ?
gustavderdrache has quit [Quit: Leaving.]
<bennofs>
sshow: do you really want that? I think if you symlink nixpkgs to ~/.nix-defexpr that will work, but this WILL break a lot of things and I absolutely would not recommend it
thongpv87 has quit [Remote host closed the connection]
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
fendor_ has quit [Read error: Connection reset by peer]
meh` has quit [Ping timeout: 240 seconds]
amk has quit [Remote host closed the connection]
amk has joined #nixos
<{^_^}>
[nix-pills] @wbadart closed pull request #134 → Add follow redirect flag to installation command → https://git.io/Jv5HM
stolyaroleh_ has joined #nixos
bingobango has joined #nixos
<bingobango>
hello, im trying to have a go at configuring prosody, and im stuck on setting the storage method. im trying to get it to use postgresql, and i believe i need luadbi-postgresql in order to have the driver. ive added it to the environment.systemPackages, but prosody isnt picking it up and claims Sqlite3 is the only driver it can see
<bingobango>
i cant find a prosody option about storage so im doing it in extraConfig, but do i need to override the prosody package so its lua will have dbi-postgresql?