<jybs>
andi-: surely there is a way of having a wireguard interface which is down on build?
<infinisil>
Fare: I guess it's only "prototype" really, and of course I have no idea about clos or jsonnet
<infinisil>
Fare: But like, if you want to promote this, you should create a tutorial for beginners, a walkthrough of what it does, why I'd want to use it, a bunch of examples, etc.
<pjt_tmp>
pinpox: well shoot, looks like I do too. Mine's apparently nano
<pinpox>
pjt_tmp: yep, mine too. And I remember it was correct some time ago
<pinpox>
pjt_tmp: it seems it is correct in the tty for me. Your's aswell?
<pinpox>
like if I press ctrl+alt+f5 and login, then echo $EDITOR
<pinpox>
But I have no config in my windowmanager that overrides it
<pjt_tmp>
I still have nano in tty1
<pjt_tmp>
I gotta go do a thing unfortunatelty
<pjt_tmp>
should be back in like 2 hrs
<pinpox>
I figured mine out, just setting EDITOR and VISUAL to nvim and killing X has fixed it
<pinpox>
seems I had something wrong and didn't restart x and awesomeWM since fixing it
<pinpox>
🤷♂️
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
nhs has quit [Quit: leaving]
<{^_^}>
[nixpkgs] @drewrisinger closed pull request #106579 → python27Packages.pytestpep8: remove due to pytest v6 incompatibility → https://git.io/JIwJ5
pjt_tmp has quit [Ping timeout: 246 seconds]
nhs has joined #nixos
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 33 commits to staging-next: https://git.io/JIwdZ
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 34 commits to staging: https://git.io/JIwdc
iH8c0ff33 has joined #nixos
<{^_^}>
[nixpkgs] @S-NA opened pull request #106617 → firefox: fix running wayland firefox built with LTO and some miscellaneous improvements → https://git.io/JIwdu
fuzzypixelz has quit [Quit: fuzzypixelz]
Rusty1 has joined #nixos
rajivr has joined #nixos
iH8c0ff33 has quit [Ping timeout: 264 seconds]
shorberg has quit [Quit: Konversation terminated!]
<Fare>
infinisil, thanks, I'll have an introduction that introduces the terminology.
endformationage has quit [Ping timeout: 264 seconds]
<Fare>
Admittedly, there is no ultimate authority for the terminology, and everyone makes their own, which only makes communication more difficult. So I'll explain what exactly I mean and how to compares to what other people use.
<infinisil>
I think a tutorial would be best, ideally with the simplest terms possible
endformationage has joined #nixos
CMCDragonkai2 has joined #nixos
ris has quit [Ping timeout: 264 seconds]
gonification has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @raboof closed pull request #104578 → enamlx: fix use of function that was removed upstream → https://git.io/Jkrsk
miscalculated has quit [Read error: Connection reset by peer]
<kenran>
Getting an error like `fatal error: X11/Xcursor/Xcursor.h: No such file or directory`, what libraries would I most likely need to include in my shell.nix file?
<kenran>
Is there a way I can look through the packages to find out who provides certain files?
<tomturbo>
hello, is it possible to create a /etc/environment file/symlink when using dockerTools?
FRidh has quit [Remote host closed the connection]
<tomturbo>
or create a symlink in an arbitrary directory?
aveeran[m] has joined #nixos
FRidh has joined #nixos
<tomturbo>
I'm trying to create a jenkins docker build slave image. the problem is that for some reason the environment directives in "config = { Env = [...]" aren't respected when jenkins runs the image (they work when running the image manually). I'm trying to work around this behaviour by creating an /etc/environment and hoping that its values aren't overwritten
saschagrunert has quit [Remote host closed the connection]
<teto>
I am using nixUnstable, and sudo -E nixos-rebuild cant fetch repository git+ssh://git@git.XXXXX.net:5341/USER/PROJECT.git?ref=hm-test : permission denied but if I try nixos-rebuild build, I get cannot open FETCH_HEAD: Permission denied. I can clone the (private) repo just fine so I wonder what hapoens, how can I enable verbose ssh when calling nix > -vvvvv doesnt show me the key exchange
<thibm>
tomturbo: yes, just add a derivation to contents which has a /etc/environment file in it (may be there's a better way)
<thibm>
That would work but it's not really clean IMHO
noudle has joined #nixos
<axx>
i'm experiencing a weird thing: when i ssh into my nixos system and issue a command directly (as in: `ssh me@nixos ls`), i'm asked to unlock the ssh key *on the nixos* system
<axx>
> Enter passphrase for /home/axx/.ssh/id_ed25519_nixos:
<axx>
anyone seen this before?
<axx>
(this is on the nixos side, not on my laptop, where this ssh key doesn't exist)
<{^_^}>
error: syntax error, unexpected ':', expecting ')', at (string):447:53
<axx>
my authorized_keys is is a basic as can be, no fancy dis/allowing of commands there
<thibm>
teto: you can try NIX_SSHOPTS="-v" environment variable
<teto>
thibm: thanks, doesnt seem to wokr with nixos-rebuild --flake
nakkle has joined #nixos
<axx>
<axx "i'm experiencing a weird thing: "> right, got it, i put an `eval $(ssh-agent); ssh-add ~/.ssh/id_ed25519_nixos` in my .bashrc, which gets executed on non-interactive log in
<nakkle>
Is there a way to write to /dev/stdout from within a systemd context? I only get "No such device or address" if I try, e.g. "echo foo > /dev/stdout".
simonpe^^ has joined #nixos
<{^_^}>
[nixpkgs] @roberth opened pull request #106650 → fetchMavenArtifact: switch mirrors to https → https://git.io/JIoql
<simonpe^^>
hey I'm having some problem with my binary substituter. I've verified that it works by doing `nix verify --store <url> --trusted-public-keys <key> /nix/store/something` but when i run nix-shell I'm getting `warning: substituter <url> does not have a valid signature for path /nix/store/something`
<simonpe^^>
in my /etc/nix/nix.conf I'v got trusted-substituters and trusted-public-keys set correctly, and in my ~/.config/nix/nix.conf I've got substituters set to point to the machine
daGrevis has quit [Remote host closed the connection]
daGrevis has joined #nixos
SanchayanMaity has quit [Quit: SanchayanMaity]
SanchayanMaity has joined #nixos
SanchayanMaity has quit [Client Quit]
<Orbstheorem>
Hi I'm trying to script configuration tests using VMs. I've [managed to do so](https://cleanuri.com/EP8r25) by borrowing `qemu-vm.nix` from nixpkgs, but it requires an impure evaluation. How can I access nixos modules from nixpkgs in a pure way?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Orbstheorem>
Also, does anybody know of a simpler URL shortener I can use with a rest api (like `https POST cleanuri.com/api/v1/shorten url=<url>`) but without cf behind? xD
SanchayanMaity has joined #nixos
lassulus has quit [Ping timeout: 246 seconds]
<etu>
Orbstheorem: 0x0.st can do url shortning
rprije has quit [Ping timeout: 256 seconds]
<tomturbo>
thibm: sorry, I was away from the computer for a while, I'll give it a try
<Orbstheorem>
0x0.st seems cool :D
<Orbstheorem>
`https -f POST 0x0.st shorten="$(wl-paste)" :D (bonus points for no unnecessary json ^^)
<esotericn>
in a nix expression. say I have "hello_lol_mate" and I want just "hello". I can either split on _ and take the first element, or regex replace, the former seems better
<esotericn>
thanks thibm
isHavvy has quit [Ping timeout: 258 seconds]
<thibm>
(which is builtins.elemAt)
simpson has joined #nixos
kaliumxyz has quit [Remote host closed the connection]
lassulus has joined #nixos
<{^_^}>
[nixpkgs] @kini opened pull request #106653 → python36Packages.traitlets, pythonPackages.traitlets: 5.0.5 -> 4.3.3 (downgrade on Python 3.6 and older) → https://git.io/JIoGH
<Orbstheorem>
(About purely importing modules from nixpkgs): I found the module argument `modulesPath` which I can inline and import from it in pure mode ^^
<Raito_Bezarius>
can I do something like python3Full.withPackages (ps: [ ps.scapy ]) ?
costrouc has joined #nixos
<adisbladis>
Raito_Bezarius: Sure, why not
<Raito_Bezarius>
Hm because I'm getting an error
malook has joined #nixos
<Raito_Bezarius>
> Package duplicates found in closure, see above. Usually this happens if two packages depend on different version of the same dependency.
<{^_^}>
error: syntax error, unexpected IN, expecting ')', at (string):447:26
<Raito_Bezarius>
on path.py
Jackneill has quit [Max SendQ exceeded]
Jackneill has joined #nixos
malook has quit [Client Quit]
malook has joined #nixos
<esotericn>
does there exist anything like a `nix language server` to use for looking up definitions etc in vim?
<Charles34>
Hi everyone, I am quite new to NixOS but so far I am really enjoying the OS. I currently trying to setup a Greeter with lightdm that would allow me to connect to a wifi before login with my username and password. I know that on Ubuntu the unity-greeter has nm-applet but I was not able to add nm-applet here. Does any of you have a solution ? Thanks
<Charles34>
I have tried it together with `services.xserver.displayManager.lightdm.greeters.gtk.indicators = [ "~nm-applet" ]` but unfortunately I am still not able to see it.
<lordcirth>
oh ok. What NixOS version?
<hyper_ch>
finally I have zfs 2.0 on my notebook :) thanks for fixing qt :)
<Charles34>
`20.03`
<lordcirth>
hyper_ch, cool, using any of the fancy features?
<hyper_ch>
changing compression to zsdt lvl 2
<lordcirth>
hyper_ch, is there a command to rewrite everything, or do you just let it migrate over time?
<hyper_ch>
zfs send | zfs recive ;)
<hyper_ch>
or just migrate over time
<hyper_ch>
I have to root ds set to lz4.. now changing it
<hyper_ch>
there are graphs... don't ask me how to read them :)
<lordcirth>
lol thanks. I should have known that the PR would have detailed benchmarks, it's ZFS
<hyper_ch>
"These numbers are supposed to be bottlenecked mostly by CPU and/or RAM. However they are not made to be a representation for performance, they are supposed to be used as a comparative reference only."
<hyper_ch>
so, time for kdrama
<lordcirth>
lolwhat, zstd-fast was faster than deflating zeros??
<lordcirth>
Must be some nicely optimized code in libzstd
<lordcirth>
Ok, looks like zstd is not actually faster than lz4, just nearly as fast with substantially better ratios
<lordcirth>
Since my SSDs cap at 500MB/s, zstd-2 would not bottleneck
Charles34 has quit [Remote host closed the connection]
ris has joined #nixos
ransom_ has joined #nixos
ransom__ has quit [Ping timeout: 240 seconds]
sss2 has quit [Quit: Leaving]
<lordcirth>
hyper_ch, do you know the before/after compressratios for your data?
<lordcirth>
The ones you linked are halfway between, right?
acairncross has quit [Quit: Leaving]
sangoma has joined #nixos
solene has quit [Quit: leaving]
orivej has joined #nixos
Fare has quit [Ping timeout: 258 seconds]
akaWolf has joined #nixos
<{^_^}>
[nixpkgs] @0x4A6F opened pull request #106674 → freenukum: init at 0.3.3 → https://git.io/JIKCn
<catern>
answering my own question: I need to export XDG_DATA_DIRS pointing at ~/.nix-profile/share:/usr/share:$XDG_DATA_DIRS, the former so that Nix-installed icons work, the latter so that system-installed icons work
charukiewicz has joined #nixos
<charukiewicz>
I'm trying to run a nix-build that depends on using git over ssh to clone a dependency, and I'm getting a key denied issue because I think the wrong key is being used. I have an ~/.ssh/config, but it doesn't look like it's being read. Can I explicity specify an identity file to nix-build?
justanotheruser has joined #nixos
solene has joined #nixos
<catern>
charukiewicz: use builtins.fetchGit and it will fetch using your .ssh/config and keys
<emilsp>
hrm, I've added a mesa-overlay.nix to /etc/nixos/overlays, and then I invoke NIX_PATH="$NIX_PATH:nixos-overlays=/etc/nixos/overlays" nixos-rebuild switch, yet I can see that my custom mesa package isn't being rebuilt
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « consul: 1.9.0 -> 1.9.1 »: https://git.io/JIKzg
fresheyeball has joined #nixos
morr has joined #nixos
scott has joined #nixos
faffolter has quit [Ping timeout: 240 seconds]
eta has joined #nixos
m4tsa_ has quit [Ping timeout: 265 seconds]
<Unode>
hi all, is there any reason to include a dependency more than once in buildInputs?
<Ke>
what makes you think there might be?
<peelz>
no, afaik buildInputs entries are usually(?) idempotent
philr has joined #nixos
faffolter has joined #nixos
<peelz>
I think there's weird hook stuff that can break idempotency if not correctly implemented
<peelz>
but it's usually not a concern afaik
<Unode>
Ke: I saw one package that mentioned a dependency more than once and before assuming it was a typo, I decided to ask.
sangoma has quit [Ping timeout: 258 seconds]
<peelz>
it probably is. If there were an actual reason for it, I'd imagine the maintainer would've left a comment
<Unode>
and on the same note, the order should equally not make a difference right?
<peelz>
I don't think it should, but then again implemention bugs can happen
<peelz>
I think it might influence the ordering in the PATH though
<charukiewicz>
catern: The nix expression I'm passing into my nix-build was using builtins.fetchGit, but it apparently was still not reading my ~/.ssh/config. As a workaround, I had to empty out my .ssh/ directory and name the key I wanted to use id_rsa
o1lo01ol1o has quit [Remote host closed the connection]
<Unode>
peelz: hum... guess I'll have to try and see but thanks for all the feedback.
<peelz>
Unode: I imagine in [ pstree psmisc ] (both provide bin/pstree) that the one from pstree would be used instead of the other
domogled has joined #nixos
<Unode>
I see. Well in this case it's a lib dependency so I guess that shouldn't be an issue
<peelz>
most likely not :)
<{^_^}>
[nix] @regnat pushed 2 commits to ca/properly-store-outputs: https://git.io/JIK2T
<Unode>
hehe I appreciate how you are always leaving room for a maybe :)
<peelz>
hah yeah you never know. I've only been using nix for about a year and I'm far from being familiar with the inner workings of nix
<Unode>
I've been using it for longer and I can relate. Only slowly peeking under the hood.
sangoma has joined #nixos
fuzzypixelz has quit [Quit: fuzzypixelz]
<{^_^}>
[nixpkgs] @siraben opened pull request #106679 → gauche: change src to GitHub → https://git.io/JIKae
<cransom>
is there a likelyhood of zfsUnstable getting bumped to the zfs 2.0.0 release in 20.09?
<{^_^}>
[nixpkgs] @unode opened pull request #106680 → libhandy: 0.0.13 -> 1.0.2 and keep 0.0.13 as libhandy_0 → https://git.io/JIKap
<infinisil>
cransom: I wouldn't think so
<infinisil>
But not entirely sure
<cransom>
it's currently a 2.0 rc. i usually don't expect version bumps to get backported, it being an unstable attribute, but it seems like a small change.
<cransom>
just curious.
secondry has quit [Ping timeout: 258 seconds]
<infinisil>
Oh isn't 2.0 stable though?
<madnat>
Can I get `nix-shell` for package from `nixpkgs`?
<cransom>
infinisil: yeah, 2.0 is the current release.
<{^_^}>
[nix] @regnat pushed to ca/use-hashmodulo « Restrict the operations on drv outputs in recursive Nix »: https://git.io/JIKwz
lunasspecto has quit [Ping timeout: 264 seconds]
akavel has joined #nixos
<{^_^}>
[nix] @regnat pushed 2 commits to ca/use-hashmodulo: https://git.io/JIKwS
zupo has joined #nixos
<akavel>
Hi! I want to create a derivation running `git` with some baked-in options. I vaguely know about `makeWrapper` - but how do I use it in this case?
<{^_^}>
[nixpkgs] @jonringer merged pull request #105937 → libff: shared build on darwin → https://git.io/JIsij
<{^_^}>
[nixpkgs] @jonringer pushed commit from @arcz to master « libff: shared build on darwin »: https://git.io/JIKrv
<Duponin>
Hi, I'm currently (since a few days) a way to deploys secrets with NixOS (such a privateKeyFile, passwordFile, etc.). It don't looks to exist many thing "builtin". I found NixOps and a PR with security.gnupg. Is something with HashicorpVault or so doable? My ears are wide open :)