worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
cosimone has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #90319 → gosec: 1.2.0 -> 2.3.0 → https://git.io/JfQPn
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJedQ
werner291 has quit [Quit: werner291]
<{^_^}> [nixpkgs] @neilmayhew opened pull request #91699 → file-rename: Fix an incorrect test that misidentifies Darwin as Windows → https://git.io/JJed5
<{^_^}> [nixpkgs] @marsam merged pull request #89332 → verifpal: 0.7.5 -> 0.13.7 → https://git.io/JfiBL
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJedA
simba2 has joined #nixos
<{^_^}> [nixpkgs] @nh2 merged pull request #89641 → lite: 1.05 -> 1.06 → https://git.io/Jf1b0
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JJedp
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
lollo has joined #nixos
drakonis has quit [Quit: WeeChat 2.8]
orivej has quit [Quit: No Ping reply in 180 seconds.]
simba1 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @nh2 merged pull request #89676 → qtstyleplugin-kvantum-qt4: 0.15.2 -> 0.15.3 → https://git.io/JfMJn
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JJeFL
orivej has joined #nixos
<{^_^}> [nixpkgs] @marsam closed pull request #83299 → tut: init at 0.0.2 → https://git.io/Jvyhm
ericsagnes has joined #nixos
simba2 has quit [Ping timeout: 240 seconds]
aleph- has quit [Read error: Connection reset by peer]
aleph- has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
slack1256 has quit [Remote host closed the connection]
aleph- has quit [Client Quit]
mrosenbe has joined #nixos
hoverbear has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @nh2 merged pull request #91699 → file-rename: Fix an incorrect test that misidentifies Darwin as Windows → https://git.io/JJed5
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JJeFR
<{^_^}> [nixpkgs] @nh2 merged pull request #91520 → libtomcrypt: fix CVE-2019-17362 (security) → https://git.io/Jfjq6
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JJeFz
<{^_^}> [nixpkgs] @nh2 merged pull request #91664 → [20.03] libvncserver: 0.9.12 -> 0.9.13 (security, backport) → https://git.io/JJeRi
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to release-20.03: https://git.io/JJeFg
mrosenbe has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJeFK
codygman has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @nh2 merged pull request #91345 → k4dirstat: init at 3.2.1 → https://git.io/JfxoO
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JJeF5
thomasjm has joined #nixos
Serus has quit [Ping timeout: 264 seconds]
codygman has joined #nixos
<{^_^}> [nixpkgs] @nh2 merged pull request #91697 → ffmpeg: add libsrt support → https://git.io/JJe50
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JJebv
<{^_^}> [nixpkgs] @nh2 merged pull request #91449 → material-design-icons: 4.7.95 -> 5.3.45 → https://git.io/JfhnD
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JJebU
NeoCron has quit [Ping timeout: 260 seconds]
dongcarl has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d69aa0cccb3 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @zowoq merged pull request #91463 → go_1_15: init at 1.15beta1 → https://git.io/JfhEh
<{^_^}> [nixpkgs] @zowoq pushed commit from @c00w to master « go_1_15: init at 1.15beta1 (#91463) »: https://git.io/JJeb3
Superleaf1995 has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #68798 → decred: 1.1.2 -> 1.5.0 → https://git.io/JJeb2
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJeba
<{^_^}> [nixpkgs] @marsam merged pull request #90198 → kubectx: re-pack, switch from bash to go → https://git.io/JfHzV
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJebV
jordansinn has left #nixos ["https://quassel-irc.org - Chat comfortably. Anywhere."]
lollo has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @marsam merged pull request #91385 → sn0int: 0.18.2 -> 0.19.1 → https://git.io/Jfpn0
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJeb6
lord| has quit [Read error: Connection reset by peer]
_ris has joined #nixos
lord| has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #91280 → moodle: 3.8.2 -> 3.8.3 [20.03 backport] → https://git.io/JfAwd
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to release-20.03: https://git.io/JJebH
ris has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #91493 → pythonPackages.progressbar2: Fix checkPhase → https://git.io/JfhQ9
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JJebQ
codygman has quit [Read error: Connection reset by peer]
mrosenbe has joined #nixos
codygman has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @cdepillabout merged pull request #91688 → haskellPackages: cleaning up obsolete overrides (9/x) → https://git.io/JJeD1
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JJebN
<{^_^}> [nixpkgs] @cdepillabout merged pull request #91693 → haskellPackages: cleaning up obsolete overrides (10/x) → https://git.io/JJe9p
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JJebx
rail has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @cdepillabout merged pull request #91694 → haskellPackages: cleaning up obsolete overrides (11/x) → https://git.io/JJeHB
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JJebp
<{^_^}> [nixpkgs] @marsam merged pull request #91569 → minecraft-server: 1.15.2 -> 1.16.1 → https://git.io/JfjzX
xensky has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJebh
mrosenbe has quit [Ping timeout: 260 seconds]
xensky has joined #nixos
lollo has joined #nixos
m0rphism has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #91562 → envsubst: 1.1.0 -> 1.2.0 → https://git.io/JfjuR
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJeNe
codygman has quit [Ping timeout: 260 seconds]
rail has joined #nixos
codygman has joined #nixos
lollo has quit [Quit: Leaving]
lollo has joined #nixos
<{^_^}> [nixpkgs] @ktor opened pull request #91700 → eclipse-mat: init at 1.10.0.20200225 → https://git.io/JJeNU
codygman has quit [Read error: Connection reset by peer]
<{^_^}> [hydra] @c00w opened pull request #789 → reproduce: Only download the needed commit → https://git.io/JJeNT
doublex_ has joined #nixos
`BP` has joined #nixos
codygman has joined #nixos
cosimone has quit [Quit: Quit.]
lollo has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @zowoq merged pull request #91347 → go: only set CC when cross-compiling → https://git.io/JfxKu
<{^_^}> [nixpkgs] @zowoq pushed commit from @bouk to staging « go: only set CC when cross-compiling »: https://git.io/JJeNY
dkess has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #91543 → cli11: 1.9.0 -> 1.9.1 → https://git.io/Jfj43
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJeN3
lollo has joined #nixos
<dkess> hi, this question feels like it should have an obvious/intuitive answer but i can't really find it anywhere. when an option is suppposed to take a filename (for a config file) as a parameter, how can i have the contents of that file be "managed" by nixos?
<{^_^}> [nixpkgs] @zowoq pushed to staging « buildGoModule: remove trailing whitespace »: https://git.io/JJeNZ
Serus has joined #nixos
inkbottle has quit [Quit: Konversation terminated!]
<infinisil> dkess: theFileOption = pkgs.writeText "filename" "the contents of the file"
inkbottle has joined #nixos
<dkess> ah, thank you!
<infinisil> Or you could put the file in ./the-file, and then do `theFileOption = ./the-file` or `theFileOption = "${./the-file}"`
<infinisil> "${./the-file}" imports the file into the store, turning the string into /nix/store/...
<infinisil> which then gets copied to the final system automatically
<infinisil> (also happens with pkgs.writeText)
<dkess> what do you mean by "put the file in ./the-file"? is this relative to the nix config file?
<infinisil> Yeah
<dkess> perfect, thanks so much
gustavderdrache has quit [Quit: Leaving.]
<infinisil> :)
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
`BP` has quit [Quit: zzz]
aleph- has joined #nixos
h0m1 has quit [Ping timeout: 240 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
h0m1 has joined #nixos
thc202 has quit [Ping timeout: 260 seconds]
MinceR has quit [Ping timeout: 240 seconds]
MinceR has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
cjpbirkbeck has joined #nixos
<{^_^}> [nixpkgs] @cartesian-theatrics opened pull request #91701 → Python fbprophet → https://git.io/JJeA5
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
felixfoertsch has quit [Ping timeout: 246 seconds]
felixfoertsch has joined #nixos
inkbottle has quit [Quit: Konversation terminated!]
inkbottle has joined #nixos
<tnks> `import <nixpkgs> {}` reaches out to `~/.config/nixpkgs`, right? The best way to suppress that is `import <nixpkgs> { config = {}; }`?
knerten1 has joined #nixos
<tnks> crap, do I need to do the same with overlays too?
veleiro has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
knerten has quit [Ping timeout: 240 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<quinn> nix (the tool/language) generally gets updates backported to stable releases right?
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 244 seconds]
Supersonic112 is now known as Supersonic
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<samueldr> security/stability updates yes
<quinn> samueldr: i assume flakes don't count as security/stability? :(
<samueldr> right
<samueldr> there is the nixUnstable attribute which I don't know when and how it gets updated
<samueldr> which would be in theory what would be used to get the latest in-development features
<quinn> samueldr: oh, there is that and nixFlakes in all-packages.nix, i will do some digging
<quinn> samueldr: BTW do you know why the flakes RFC i still in FCP after 17 days?
<samueldr> sorry, I don't know :)
gxt_ has joined #nixos
<quinn> samueldr++ its cool, thanks for the help anyways :)
<{^_^}> samueldr's karma got increased to 242.99999999999994
gxt has quit [Ping timeout: 240 seconds]
mtn has joined #nixos
Narice has joined #nixos
<{^_^}> [nixpkgs] @cript0nauta opened pull request #91703 → pythonPackages.webargs: init at 6.1.0 → https://git.io/JJehJ
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
drakonis has joined #nixos
kleisli__ has quit [Remote host closed the connection]
kleisli has joined #nixos
MtotheM has quit [Read error: Connection reset by peer]
Narice has quit [Ping timeout: 240 seconds]
jbox has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @zowoq opened pull request #91704 → umoci: 0.4.5. -> 0.4.6 → https://git.io/JJehG
orivej has quit [Quit: No Ping reply in 180 seconds.]
angerman has quit [Read error: Connection reset by peer]
angerman has joined #nixos
orivej has joined #nixos
betawaffle has quit [Ping timeout: 264 seconds]
Narice has joined #nixos
pbb has quit [Read error: Connection reset by peer]
betawaffle has joined #nixos
pbb has joined #nixos
mrosenbe has joined #nixos
Narice has quit [Ping timeout: 265 seconds]
Narice has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
kleisli has quit [Ping timeout: 260 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
mrosenbe has quit [Ping timeout: 265 seconds]
Narice has quit [Ping timeout: 260 seconds]
Narice has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<{^_^}> [nixos-artwork] @ericdallo opened pull request #53 → Add dracula wallpaper → https://git.io/JJejC
mrosenbe has joined #nixos
Narice has quit [Ping timeout: 265 seconds]
inkbottle has quit [Quit: Konversation terminated!]
inkbottle has joined #nixos
Narice has joined #nixos
mrosenbe has quit [Ping timeout: 240 seconds]
paterick has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c0c786c3bd1 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
camsbury has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos
Narice has quit [Ping timeout: 264 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
orivej has quit [Ping timeout: 260 seconds]
kleisli has joined #nixos
Narice has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
Narice has quit [Ping timeout: 256 seconds]
Narice has joined #nixos
endformationage has quit [Quit: WeeChat 2.6]
paterick has quit [Remote host closed the connection]
Rusty1 has quit [Quit: WeeChat 2.3]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f82e9b88c98 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
Narice has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/db5bbef31fa (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
mtn has quit [Remote host closed the connection]
CMCDragonkai1 has joined #nixos
lambda-11235 has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
palo1 has joined #nixos
matthuszagh has joined #nixos
Narice has joined #nixos
palo has quit [Ping timeout: 260 seconds]
palo1 is now known as palo
<matthuszagh> hi, i recently changed my declarative nixos config to look in a src path (~/src/dotfiles/nixos) instead of /etc/nixos. When I try to rebuild my computer runs out of memory. The computer has 64GB memory, but no swap file (I have a btrfs filesystem across 2 devices) and no swap partition. Is there a way to fix this memory issue?
rajivr has joined #nixos
user_0x58 has quit [Quit: Leaving]
chreeus has quit [Quit: sleep]
nabataeus has quit [Read error: Connection reset by peer]
<matthuszagh> i'm a bit surprised simply changing the config file location introduced this issue. Does this seem plausible? It's also certainly possible this is instead the result of something else I inadvertently changed.
<hazel[m]1> gosh does NixOS not cache aarch64 builds?
<hazel[m]1> I'm compiling significantly more than I do on x86
<dmj`> It does not
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d69aa0cccb3 (from 9 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
Narice has quit [Ping timeout: 256 seconds]
CMCDragonkai2 has joined #nixos
<hazel[m]1> what do I do to avoid constantly compiling, if anything?
leah2 has quit [Ping timeout: 260 seconds]
Narice has joined #nixos
zupo has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
Narice has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
zupo has quit [Client Quit]
Narice has joined #nixos
<multun> how would you build a chroot environment with only some nix packages inside?
<matthuszagh> ok i was able to create a swapfile (64GB) on a separate storage device and use that. it ate through the entire 128G and failed. is this normal?
<samueldr> matthuszagh: without investigation, my intution tells me the most likely culprit is you're accidentally importing something in the nix store using a nix path
<samueldr> maybe something like your whole home
<samueldr> something big at least
<matthuszagh> samueldr: cool thanks for the suggestion i'll look for that
<samueldr> multun: check in nixpkgs how the steam chroot is done maybe?
<samueldr> buildFHSUserEnv maybe, multun
<multun> pretty darn cool huhu
Narice has quit [Ping timeout: 240 seconds]
<kmplsv> ahhh, nixos. i was thrust into it head-first upon my return to re-learn linux/unix after a decade hiatus.
<kmplsv> a good friend who is a linux/unix guru said he would only help me if i used nixos. heh.
leah2 has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
<{^_^}> [nix] @domenkozar merged pull request #3757 → dependabot: automatically keep github actions up-to-date → https://git.io/JJe1x
<{^_^}> [nix] @domenkozar pushed 2 commits to master: https://git.io/JJvvG
<{^_^}> [nix] @dependabot[bot] pushed to dependabot/github_actions/cachix/install-nix-action-v10 « Bump cachix/install-nix-action from v8 to v10 »: https://git.io/JJvvn
<{^_^}> [nix] @dependabot[bot] opened pull request #3758 → Bump cachix/install-nix-action from v8 to v10 → https://git.io/JJvvc
<{^_^}> [nixpkgs] @jonringer merged pull request #90713 → python3Packages.somajo: 2.0.6 -> 2.1.0 → https://git.io/Jfd5T
<{^_^}> [nixpkgs] @jonringer pushed commit from @danieldk to master « python3Packages.somajo: 2.0.6 -> 2.1.0 »: https://git.io/JJvvW
<{^_^}> [nixpkgs] @jonringer merged pull request #91217 → pythonPackages.spacy_models: add more models → https://git.io/JfNs7
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JJvvB
CMCDragonkai1 has quit [Ping timeout: 264 seconds]
Narice has joined #nixos
cybrian has quit [Ping timeout: 265 seconds]
<multun> samueldr: it's not really isolating packages into a directory :(
<samueldr> oooh
<samueldr> I got stuck on chroot
<samueldr> I don't know if there is something like that already, good question
<multun> I wish I had better words for that :D
<ar> other than nixos-containers, i assume
<multun> a set of packages in a directory?
<samueldr> perfectly fine to say chroot
<hazel[m]1> how do I get the current architecture from a nix exp
<{^_^}> [nixpkgs] @LEXUGE opened pull request #91705 → clash: 0.20.0 -> 1.0.0 → https://git.io/JJvvi
<hazel[m]1> e.g. `if system.currentArchitecture != "aarch64" then [ something ] else []`
cybrian has joined #nixos
<{^_^}> [nix] @domenkozar merged pull request #3758 → Bump cachix/install-nix-action from v8 to v10 → https://git.io/JJvvc
<{^_^}> [nix] @domenkozar pushed 2 commits to master: https://git.io/JJvvD
<hazel[m]1> i know `builtins.currentSystem` exists but I just want the arch
<{^_^}> [nix] @dependabot[bot] pushed 0 commits to dependabot/github_actions/cachix/install-nix-action-v10: https://git.io/JJvvy
<hazel[m]1> ...I guess the system isn't that important to guard against, I'm only running NixOS. whatever.
simba2 has joined #nixos
kleisli_ has joined #nixos
Narice has quit [Ping timeout: 240 seconds]
kleisli has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #nixos
domogled has quit [Quit: domogled]
mrosenbe has joined #nixos
waleee-cl has joined #nixos
mrosenbe has quit [Ping timeout: 256 seconds]
cr4y1 has quit [Remote host closed the connection]
dermetfan has joined #nixos
drakonis has quit [Quit: WeeChat 2.8]
veleiro has quit [Remote host closed the connection]
<matthuszagh> samueldr: thanks for the tip you were spot on
<samueldr> what were you importing? the whole home? something else big?
<samueldr> :)
<matthuszagh> my whole src dir path haha
<matthuszagh> it's a few hundred g's
<matthuszagh> had src-path = /home/matt/src and used it like nixPath = ["nur=${src-path}/NUR"]
<matthuszagh> quotes around it is what i wanted
Narice has joined #nixos
matthuszagh has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
ryzokuken has joined #nixos
ryzokuken_ has joined #nixos
<samueldr> indeed
Narice has quit [Ping timeout: 240 seconds]
MidHotaru has joined #nixos
<colemickens> is there a way to check if I am using flakes powered nix without access to 'lib' to check getFlake?
Heirlung has quit [Read error: Connection reset by peer]
Narice has joined #nixos
<notgne2> I'm not really familiar with Linux too much, but is there a way to use Nix to build an in-tree driver as a module? I wanted to get Anbox working on 5.7 but I don't like having to compile the entire kernel to do so (to enable some android/ashmem/binder options)
lambda-11235 has quit [Quit: Bye]
Narice has quit [Ping timeout: 264 seconds]
alexherbo26 has joined #nixos
Heirlung has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo26 is now known as alexherbo2
turlando has quit [Ping timeout: 256 seconds]
simba2 has quit [Ping timeout: 246 seconds]
<kmplsv> ehhh, hey guys, nixos super-n00b here. isn't there a command that will output the contents of a file to a generated pastebin-like webpage?
<energizer> kmplsv: pastebinit
<patagonicus> kmplsv: I used http://sprunge.us/ earlier today.
<kmplsv> hrmm
<energizer> some people use curl -F 'f:1=<-' ix.io but i can never remember that
<kmplsv> ok yeah i remember sprunge.us now i've used it before, but it isn't the one my friend (person who shoved me into the nixos pool when he knew full well that i can't even swim yet ;-p) had me using...
o1lo01ol1o has joined #nixos
<kmplsv> because i remember using sprunge and he was like "!!!!NO, DO IT HOW I SHOWED YOU!"
<kmplsv> yeah yeah
<kmplsv> its curl and some other command string
mrosenbe has joined #nixos
<kmplsv> and i'm talking about DigitalKiwi lol, in case any of you know him
<energizer> there's logs in the /topic
<kmplsv> ?
<kmplsv> logs for what
mallox has joined #nixos
<multun> if DigitalKiwi talked about it here, you can find it in the log :)
<multun> if not, well, too bad
WIII has joined #nixos
Narice has joined #nixos
<kmplsv> haha oh im sure he has at some point
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<kmplsv> oh i just went to ix.io and i'm going to see if i can figure it out from there.
<energizer> are you sure i didnt give the answer already?
mrosenbe has quit [Ping timeout: 260 seconds]
<kmplsv> probably
asymptotically has joined #nixos
<energizer> i avoid ix.io and sprunge because their highlighted pages dont allow copying text. i prefer bpa.st
<clever> i tend to just use gist
<clever> > pkgs.gist
<{^_^}> "<derivation /nix/store/vqdxhig4s7y3jnkhljxn3sx2iqnpzvf4-gist-5.1.0.drv>"
<kmplsv> i did it!
<WIII> Hello, I would like to know if there's a way to display all log when using nix-build, I found `nix build -f .` but it doesn't help much. Thanks in advance
<kmplsv> yay! (yeah, it's the little things for me at this point in the game lol)
<clever> WIII: `nix build -f . -L`
<WIII> Ho nice thanks a lot
Narice has quit [Ping timeout: 264 seconds]
bbb has joined #nixos
<kmplsv> energizer: huh, i'm checkin it out right now.
bbb is now known as Guest74496
inkbottle has quit [Quit: Konversation terminated!]
inkbottle has joined #nixos
Narice has joined #nixos
<patagonicus> I'd like to use a local git clone of nixpkgs as the nixos channel for my system - how do I do that? Can I just nix-channel --add /path/to/nixpkgs nixos?
<kmplsv> energizer: so what would the syntax for outputting a the contents of a file to bpa.st look like? i tried the curl command i used with ix.io but no dice.
<clever> patagonicus: simplest is to just ignore channels, and use nix.nixPath to setup NIX_PATH to point nixpkgs=/path/to/nixpkgs
<patagonicus> clever: Ah, thanks. Didn't think to check the options for nix. :)
cransom has quit [Ping timeout: 260 seconds]
revtintin has joined #nixos
cransom has joined #nixos
alexherbo2 has quit [Read error: Connection reset by peer]
<typetetris> Can I somehow add a channel, that just points to a github/gitlab repository (without creating that exprs tar, but just a plain nixpkgs clone)? Or do I need to do `nixos-... -Inixpkgs=...` manually always for that?
Narice has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #91212 → ocamlPackages.js_of_ocaml: 3.5.2 → 3.6.0 → https://git.io/JfNLj
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @vbgl pushed 4 commits to master: https://git.io/JJvJQ
<energizer> kmplsv: echo "foo" | curl -X POST http://localhost:8000/curl -F 'raw=<-'
<energizer> er
<energizer> echo "foo" | curl -X POST https://bpa.st/curl -F 'raw=<-'
<clever> typetetris: one sec
<clever> [clever@amd-nixos:~]$ cat .nix-defexpr/test/foo/default.nix
<clever> import /home/clever/apps/nixpkgs
<energizer> actually just: curl https://bpa.st/curl -F 'raw=<-'
<clever> typetetris: this will create a channel, that behaves in the same manner as nix-env expects, allowing you to nix-env -iA foo.hello
<clever> typetetris: but that wont be in $NIX_PATH, so you cant <foo> by default
<{^_^}> [nixpkgs] @cdepillabout merged pull request #91651 → haskellPackages: cleaning up obsolete overrides (6/x) → https://git.io/JJe3V
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JJvJh
<clever> typetetris: if you want to grab directly from github, then you want the archive url, https://github.com/nixos/nixpkgs/archive/master.tar.gz will get master for ex
tmaekawa has joined #nixos
<typetetris> clever: Thanks, you mean, I should just create a file like `.nix-defexpr/test/foo/default.nix` ?
<clever> typetetris: if you want nix-env to see it, yes
<typetetris> clever: What about `nixos-rebuild`, will it also see that channel?
<clever> typetetris: that only looks at $NIX_PATH
<clever> typetetris: 2020-06-28 04:48:02 < clever> patagonicus: simplest is to just ignore channels, and use nix.nixPath to setup NIX_PATH to point nixpkgs=/path/to/nixpkgs
Narice has joined #nixos
NeoCron has joined #nixos
tmaekawa has quit [Client Quit]
tmaekawa has joined #nixos
<typetetris> clever: That ties a knot in my head. So `nixos-rebuild` reads `/etc/nixos/configuration.nix` and respects that `nix.nixPath` entry?
<{^_^}> [nixpkgs] @DavHau opened pull request #91707 → python-jsonrpc-server: remove ujson version contraint → https://git.io/JJvUI
<clever> typetetris: no, nixos-rebuild reads $NIX_PATH, which is set by the value of nix.nixPath the PREVIOUS time you ran nixos-rebuild
<clever> typetetris: and changes only take effect when you re-open the shell
Narice has quit [Ping timeout: 246 seconds]
<typetetris> clever: So initially I will need to run nixos-rebuild twice?
<clever> typetetris: or use -I nixpkgs=something, to affect the first run
Narice has joined #nixos
<typetetris> clever: But I will have to include `nixos-config=/etc/nixos/configuration.nix` on my own in `nix.nixPath` now, that I changed it, won't I?
<clever> typetetris: correct
<typetetris> clever: Thanks!
<patagonicus> typetetris: https://nixos.org/nixos/options.html#nix.nixpath lists the default. I copied that and then replace nixpkgs=/var/… with the path to my local git checkout.
<patagonicus> I also removed the existing channel with nix-channel --remove as I don't need it anymore.
wiml has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @filalex77 merged pull request #91705 → clash: 0.20.0 -> 1.0.0 → https://git.io/JJvvi
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/JJvUV
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4059ac951ba (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
LarryTheCow has joined #nixos
<{^_^}> [nixpkgs] @delroth opened pull request #91708 → vulnix: add patch to fix flake8 failure → https://git.io/JJvUo
<{^_^}> [nixpkgs] @sorki opened pull request #91709 → unbreak: cabal-lenses, cabal-bounds → https://git.io/JJvU6
Narice has quit [Ping timeout: 260 seconds]
cosimone has joined #nixos
<LambdaDuck> Nix wants to build a lot of packages from source (including Cabal and cabal2nix) since I ran nix-channel --update. I'm on darwin with nixpkgs-unstable (nixpkgs-20.09pre231837.2cd2e7267e5). How do I debug why that is the case?
werner291 has joined #nixos
<delroth> nix-prefetch-url is a giant footgun when trying to use it for patches :(
<delroth> turns out fetchpatch will almost always end up giving a different sha256, but you won't notice it until a GC run since nix-prefetch-url conveniently put something that matches the sha256 in the store
<clever> delroth: pkgs.fetchpatch mangles the file a lot, to make it more predictable
<delroth> yeah, I know that now
<clever> ,tofu
<{^_^}> 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
<delroth> that doesn't make the UX better
<clever> thats usually the safest route
zaeph has quit [Ping timeout: 240 seconds]
Narice has joined #nixos
zaeph has joined #nixos
doyougnu has joined #nixos
Narice has quit [Ping timeout: 240 seconds]
knupfer has joined #nixos
knupfer1 has joined #nixos
<kmplsv> ehhhh, i'm gettin' some strange output when i left-click on the cli. - https://i.imgur.com/Saz0Eg1.png
<kmplsv> i am using kitty(putty) to ssh into my vps
tmaekawa has quit [Quit: tmaekawa]
knupfer has quit [Ping timeout: 260 seconds]
knupfer1 is now known as knupfer
pjt_tmp has quit [Ping timeout: 246 seconds]
<manveru> kmplsv: try setting `TERM=xterm` before ssh-ing
fendor has joined #nixos
<kmplsv> manveru: ahh, lemme look through the settings here.
cosimone has quit [Quit: Quit.]
<manveru> settings?
<manveru> i mean, just like `TERM=xterm ssh who@what` :)
<manveru> if you want to actually fix it, you'd probably have to install kitty on the vps to get its terminfo there
Narice has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
codygman has quit [Read error: Connection reset by peer]
nikita` has joined #nixos
codygman has joined #nixos
<kmplsv> im gonna restart kitty and see if its just a fluke
drewr has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 9 commits to release-20.03: https://git.io/JJvTk
drewr has joined #nixos
codygman has quit [Ping timeout: 264 seconds]
codygman has joined #nixos
Narice has quit [Ping timeout: 256 seconds]
zamanf has joined #nixos
<{^_^}> [nixpkgs] @delroth opened pull request #91711 → file: backport patch to fix a 5.39 regression → https://git.io/JJvTl
mrosenbe has joined #nixos
<{^_^}> [nixpkgs] @pstn opened pull request #91712 → linux: do not depend on utillinuxMinimal → https://git.io/JJvTR
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @delroth opened pull request #91713 → diffoscope: 148 -> 149 → https://git.io/JJvTE
codygman has quit [Ping timeout: 256 seconds]
codygman has joined #nixos
mrosenbe has quit [Ping timeout: 240 seconds]
noudle has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
codygman has quit [Ping timeout: 240 seconds]
codygman has joined #nixos
__monty__ has joined #nixos
arjen-jonathan has joined #nixos
codygman has quit [Ping timeout: 260 seconds]
codygman has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @nilp0inter opened pull request #91714 → hdl-dump: init at v0.9.2-43-gb0d7467 → https://git.io/JJvkL
gxt_ has quit [Ping timeout: 240 seconds]
thc202 has joined #nixos
Narice has joined #nixos
noudle has quit []
KarlJoad has joined #nixos
Narice has quit [Ping timeout: 240 seconds]
arahael2 is now known as Arahael
Guest74496 has quit [Ping timeout: 246 seconds]
Guest74496 has joined #nixos
Narice has joined #nixos
MidHotaru has quit [Quit: Connection closed for inactivity]
tmaekawa has joined #nixos
piegames has left #nixos ["WeeChat 2.7"]
thomasjm has quit [Quit: WeeChat 2.8]
<quidome[m]> does anyone here have experience with unlocking crypted storage using ssh/dropbear on a static interface? Documentation says: "The network may be configured using the ip kernel parameter, as described in the kernel documentation."
<quidome[m]> I have no idea what format this is supposed to be in and where it should go
<quidome[m]> hmm, boot.kernelParams maybe ...
sty86[m] has joined #nixos
<patagonicus> quidome[m]: I'm not sure if I use static or dynamic assignment on my server, but I've used both before (although only one with NixOS). Let me check.
<patagonicus> Ah. I use boot.kernelParams = [ "ip=dhcp" ]; (and boot.initrd.availableKernelModules = [ "e1000e" ]; boot.initrd.enable = true;).
cosimone has joined #nixos
<patagonicus> quidome[m]: https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt is the docs for how to build the ip= line. It's a bit messy as it's so many fields. All you really need is client-ip, gw-ip, netmask and device. gw-ip is probably optional if you only need SSH to work on the local network, but I'd set it.
<patagonicus> dns{0,1}-ip and ntp0-ip can be useful, but aren't strictly necessary.
<quidome[m]> interesting ... Need to make sure it's on the proper interface though, I'll give it a shot
<patagonicus> Yeah - I just disable predictable interface names and use eth0 …
<fps> what's the recommended way to run a daily job at midnight local time?
cr4y1 has joined #nixos
<patagonicus> quidome[m]: Btw, I recommend setting initrd.luks.devices.<name>.device = "/dev/your_luks_partition", then you can just SSH to the machine, run cryptsetup-askpass, enter the password, wait for a bit and it'll automatically continue to boot.
<fps> what comes to mind are either systemd units or mabye cron. "cron" has a single hit in the nixos manual. so i guess maybe not the recommended thing :)
<fps> oh the wiki mentions cron though.. maybe i'll try that first then..
<quidome[m]> patagonicus: It's actually native zfs encryption that I'm unlocking
zupo has joined #nixos
<patagonicus> quidome[m]: Ah, ok. I don't use zfs, but the SSH part should be the same.
orivej has joined #nixos
<quidome[m]> I think so , yes
<patagonicus> fps: systemd units for that are pretty easy to configure using systemd.timers.<name> in your NixOS config.
<{^_^}> [nixpkgs] @vbgl opened pull request #91715 → ocamlPackages.lwt: 4.5.0 → 5.3.0 → https://git.io/JJvLO
Narice has quit [Ping timeout: 265 seconds]
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #91709 → unbreak: cabal-lenses, cabal-bounds → https://git.io/JJvU6
<{^_^}> [nixpkgs] @cdepillabout pushed 4 commits to haskell-updates: https://git.io/JJvL4
Narice has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<quidome[m]> patagonicus: I've got an ip on the interface , looking good so far, thanks!
<quidome[m]> had to be in the format ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>:<dns0-ip>:<dns1-ip>:<ntp0-ip>
<{^_^}> [nixpkgs] @cdepillabout merged pull request #91573 → haskellPackages.gcodehs, haskellPackages.update-nix-fetchgit unbreak & maintain → https://git.io/Jfj2P
<{^_^}> [nixpkgs] @cdepillabout pushed 3 commits to haskell-updates: https://git.io/JJvLw
knupfer1 is now known as knupfer
<quidome[m]> where you have to use the colons but can leave the value empty. And just stopping after <device> worked for me
<patagonicus> quidome[m]: Ah, yes, that's what I meant by linking the docs. Good to hear that it's working, just counting the number of colons always confuses me.
<fps> patagonicus: ok, thanks for that configuration hint :)
<das_j> hm just came to think of it. how does the unfree stuff work with flakes? because there is no way to input NIXPKGS_ALLOW_UNFREE=1
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Narice has quit [Ping timeout: 264 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<sty86[m]> hey nixos newbie here
<sty86[m]> any ideas?
<sty86[m]> I'm trying to get some steam gaming to work and most games run so far, but some (csgo, warframe, ...) I just cant get to work
<{^_^}> [nixpkgs] @dotlambda merged pull request #91168 → radicale: 2.1.11 -> 3.0.3 → https://git.io/Jfb1u
<{^_^}> [nixpkgs] @dotlambda pushed 4 commits to master: https://git.io/JJvtT
Narice has joined #nixos
zupo has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
kenran has joined #nixos
orivej has joined #nixos
Narice has quit [Ping timeout: 260 seconds]
<kenran> This might be a stupid question, but why am I not seeing any nix channel with `nix-channel --list` on NixOS unstable, but am still able to use `nix-env -f '<nixpkgs>' -A ...`?
<symphorien> The second only uses NIX_PATH I think
<{^_^}> [nixpkgs] @kevingriffin opened pull request #91717 → pythonPackages.pyscard: Fix build on Darwin → https://git.io/JJvt8
alexherbo24 has joined #nixos
<kenran> symphorien: So there is a channel "underneath" the system alright, as it should be. But how can I update it? When I do `nix-channel --update` I only see output regarding my home-manager channel. Is it still happening under the hood?
<symphorien> Might be root's channel
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo24 is now known as alexherbo2
<kenran> Ahhhhh that explains it, thanks!
sputny has joined #nixos
<kenran> Is adding the nixos-unstable for my user a good idea then? It would basically just be to be able to do `nix-env -iA nixpkgs.some-pkg`, which is somewhat more comfortable
<{^_^}> [nixpkgs] @mothsART opened pull request #91718 → gSpeech: 0.9.2 -> 0.10.1 → https://git.io/JJvtE
revtintin has quit [Quit: WeeChat 1.9.1]
<symphorien> No idea about the pros and cons
gokkun has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Quit: No Ping reply in 180 seconds.]
Narice has joined #nixos
tokudan has quit [Remote host closed the connection]
orivej has joined #nixos
<quidome[m]> <patagonicus "quidome: Ah, yes, that's what I "> I copied the entire line from the nfsroot.txt doc and replaced what I needed to replace :)
tokudan has joined #nixos
<{^_^}> [nixpkgs] @dawidsowa opened pull request #91719 → persepolis: 3.1.0 -> 3.2.0 → https://git.io/JJvt1
<patagonicus> quidome[m]: Wow. Why didn't I ever think of that? :D
o1lo01ol1o has quit [Remote host closed the connection]
mrosenbe has joined #nixos
<quidome[m]> :D
orivej has quit [Ping timeout: 264 seconds]
<kmplsv> "might" be a stupid question? c'mon. don't sell yourself short.
orivej_ has joined #nixos
<kmplsv> bet dollars to donuts i'm more of a noob than you and probably anyone else here heh.
mrosenbe has quit [Ping timeout: 265 seconds]
kenran has quit [Quit: leaving]
<dutchie> sty86[m]: i found that i had to put xorg.xrandr as an extra package to get dota 2 to work, so could be you are missing some other package like that
orivej has joined #nixos
orivej_ has quit [Ping timeout: 264 seconds]
<dutchie> should probably add that to https://nixos.wiki/wiki/Games or somewhere
<{^_^}> [nixpkgs] @konrad opened pull request #91720 → nixos/doc/manual: Fix parted's set subcommand for esp partition → https://git.io/JJvqs
zupo has joined #nixos
LarryTheCow has quit [Remote host closed the connection]
<sty86[m]> <dutchie "sty86: i found that i had to put"> Alright imma look into that
LarryTheCow has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
domogled has joined #nixos
orivej has joined #nixos
WIII has quit [Ping timeout: 245 seconds]
tmaekawa has quit [Quit: tmaekawa]
thc202 has quit [Ping timeout: 260 seconds]
andymandias_ has joined #nixos
andymandias has quit [Ping timeout: 258 seconds]
bdju has quit [Quit: Lost terminal]
bdju has joined #nixos
sputny has quit [Remote host closed the connection]
sputny has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
arjen-jonathan has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @rski opened pull request #91721 → pylint: fix 1.9 → https://git.io/JJvmv
werner291 has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
LnL has quit [Quit: exit 1]
<hsngrmpf[m]> Hey guys. Is there any nix tool which can show the resulting dependency graph of a build without actually building?
<betaboon> hsngrmpf[m]: you can run `nix-store -q --tree --include-outputs $DRV_PATH` on the .drv-file
<betaboon> hsngrmpf[m]: so you could do `nix-instantiate '<nixpkgs>' -A hello` to get the drv-path, and thenn us that drv-path with he aforementioned command
ehmry has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
zanc has quit [Read error: Connection reset by peer]
knupfer has quit [Client Quit]
_ris is now known as ris
knupfer has joined #nixos
<ris> of course that would just give you the build-time deps
zanc has joined #nixos
<ris> the runtime closure could be smaller
<hsngrmpf[m]> Cool, thanks that helps a lot! And i guess the runtime deps cannot be computed without actually building? I don't really need tem, but I'm asking out of curiosity
Chiliparrot has joined #nixos
lollo has quit [Ping timeout: 246 seconds]
turion has joined #nixos
zanc has left #nixos ["WeeChat 2.3"]
o1lo01ol1o has joined #nixos
<patagonicus> betaboon++ thanks, I was looking for the same thing recently. :)
<{^_^}> betaboon's karma got increased to 6
maxter has quit [Ping timeout: 264 seconds]
sputny has quit [Ping timeout: 272 seconds]
<symphorien> hsngrmpf[m]: yes, runtime deps are defined are those which remain mentionned in the build outputs, so you need to build
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
nabataeus has joined #nixos
<hsngrmpf[m]> Thanks a lot. Now i found out that the derivation i was wondering about is at the top level of my tree. But i have no idea why. Is there a way to see which part of the nix expression is responsible for this derivation?
<hsngrmpf[m]> I'd like to get rid of that failing package but i don't know how ;)
<hsngrmpf[m]> I guess I have to use `nix why-depends`. But it fails, because the build fails.
<hsngrmpf[m]> betaboon++
<{^_^}> betaboon's karma got increased to 7
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ff1b66eaea4 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
knupfer has joined #nixos
werner291 has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<turion> Any recommendations where to look if I want to cabal build a package in a nix shell with a custom GHC?
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
WilliButz has quit [Remote host closed the connection]
<srk> turion: you can pass overlays directly to nixpkgs - import <nixpkgs> { overlays = ...; })
whald has quit [Remote host closed the connection]
lollo has joined #nixos
multun has quit [Quit: WeeChat 2.8]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
lollo has quit [Quit: Leaving]
lollo has joined #nixos
daGrevis has quit [Ping timeout: 246 seconds]
daGrevis has joined #nixos
<{^_^}> [nixpkgs] @kwohlfahrt opened pull request #91722 → quartus-prime-lite: 19.1 -> 20.1 → https://git.io/JJvYN
MidHotaru has joined #nixos
mrosenbe has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
mrosenbe has quit [Ping timeout: 246 seconds]
plutes has quit [Ping timeout: 272 seconds]
plutes has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
magnetophon has joined #nixos
kenji has joined #nixos
Rusty1 has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
slack1256 has joined #nixos
magnetophon has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has joined #nixos
sangoma has joined #nixos
<catern> some GTK/GNOME apps seem to have missing button graphics/icons inside them - any thoughts?
plutes has quit [Ping timeout: 272 seconds]
plutes has joined #nixos
KarlJoad` has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/595a3d14b7b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
orivej_ has quit [Ping timeout: 256 seconds]
nabataeus has quit [Quit: ERC (IRC client for Emacs 26.3)]
KarlJoad has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @DavHau opened pull request #91723 → python-jsonrpc-server: make version overridable → https://git.io/JJvOj
zupo has joined #nixos
zupo has quit [Client Quit]
lunik1 has quit [Read error: Connection reset by peer]
lunik1 has joined #nixos
jim97 has joined #nixos
WilliButz has joined #nixos
WilliButz has quit [Remote host closed the connection]
Guest80019 has joined #nixos
WilliButz has joined #nixos
MarcWeber has joined #nixos
Guest80019 is now known as LnL
WilliButz has quit [Remote host closed the connection]
jakobrs has joined #nixos
WilliButz has joined #nixos
<jakobrs> Is the UEFI shell in any nixpkgs package?
<jakobrs> Doesn't appear to be in nixpkgs.edk2.
<jakobrs> ... nixpkgs.OVMF
<jakobrs> For some reason I thought of using ,locate to find the dependencies of the uefi shell, but never the actual binary itself
cybrian has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Luis-Hebendanz opened pull request #91724 → Firefox nix addon support → https://git.io/JJv3j
acarrico has quit [Ping timeout: 264 seconds]
jakobrs has quit [Quit: WeeChat 2.7.1]
WilliButz has quit [Remote host closed the connection]
WilliButz has joined #nixos
Narice has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @das-g opened pull request #91725 → libosmium: 2.15.5 -> 2.15.6 → https://git.io/JJvsY
Narice has joined #nixos
meck has joined #nixos
omfgwhofarted has quit [Remote host closed the connection]
civodul has joined #nixos
cybrian has joined #nixos
waleee-cl has joined #nixos
<m1cr0m4n> Hey folks. Any ideas why a package I've added to all-packages.nix isn't showing up? I am using nix-env to install my package, and I have tried setting NIX_PATH and using the -I flag
Rusty1 has quit [Remote host closed the connection]
Rusty1 has joined #nixos
<nh2[m]> m1cr0m4n: hey, how do you invoke `nix-env`? If it's with just `-i`, it'll try to find it by the `name`/`pname` attribute, if you give `-iA`, you can give the name you've defined with `yourpackage = callPackage ...` in `all-packages.nix`.
sangoma has quit [Ping timeout: 256 seconds]
Narice has quit [Ping timeout: 240 seconds]
Guest74496 has quit [Ping timeout: 256 seconds]
iyzsong has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to init/batsignal: https://git.io/JJvsA
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 0 commits to init/batsignal: https://git.io/JJvsx
kreyren has quit [Remote host closed the connection]
kreyren has joined #nixos
lollo has quit [Remote host closed the connection]
sangoma has joined #nixos
<m1cr0m4n> nh2[m]: To quote my cmdline, I'm running: nix-env -I $(pwd)/nixpkgs -iA nixos.minica
whatisRT has quit [Quit: ZNC 1.7.5 - https://znc.in]
<nh2[m]> m1cr0m4n: and what's the error message you get?
<m1cr0m4n> nh2[m]: error: attribute 'minica' in selection path 'nixos.minica' not found
whatisRT has joined #nixos
<nh2[m]> m1cr0m4n: I suspect the `nixos` attribute is not what you expect. On NixOS, the default channel is called `nixos` and points to a nixpkgs, but if you use `-I` that may not be the case. Try removing `nixos.` so that it's just `-A minica`
gokkun has quit [Quit: Leaving]
<m1cr0m4n> nh2[m]: Oh right! That's interesting to know actually. Well, I tried removing it and no dice. I'm going to try without the -A flag and see if it can find it itself
<AmandaC> ooc, how much of the universe would I be responsible for compiling if I wanted to swap mesa out with an older version on my laptop? I think something's fucky with my iGPU and newer mesas, where if there's a OpenGL application running while I'm on battery, occasionally the gPU will just hang.THis is espically bad when under wayland.
<AmandaC> is there any tooling I can look at to get an ideaof how much of an undertaking that'd be?
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f82e9b88c98 (from 14 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<MichaelRaskin> You could ask nix-store -q --referrers-closure
<MichaelRaskin> Rough answer is «everything GUI»
<AmandaC> oh, onluy 5041 things, according to a dumb wc -l
<AmandaC> That's nothing! /s
<m1cr0m4n> Lol, I hope your laptop has a nice CPU!
<AmandaC> Guess I should do some more research in the mesa bug trackers to see if this has been isolated by someone with more knowledge than me
lollo has joined #nixos
<nh2[m]> m1cr0m4n: another possible explanation is that you accidentally added it as a child of some other attribute in `all-packages.nix` (e.g. check if the indentation is 2)
<nh2[m]> AmandaC: if you do not recompile the whole GUI (e.g. exclude browsers) and only build an environment in which you can reproduce it (e.g. simple X / Wayland with glxgears or a similar simple OpenGL application), then compilation should be affordably small effort.
<m1cr0m4n> nh2[m]: Ah, man I just figured it out XD I needed to use the -f flag, like so: nix-env -f ./nixpkgs -A minica So a combination of your first suggestion plus -f :)
<m1cr0m4n> (+ -i flag)
<nh2[m]> m1cr0m4n: ah sorry, you are right. I did not pay enough attention to the fact that this is `nix-env`, not `nix-build`. Yes, your solution is the right one
<m1cr0m4n> nh2[m]: Thanks for sticking with me on that :) I always appreciate responsive helpers on here!
<nh2[m]> yeah, so do I :D
<CRTified[m]> Hi, I'm currently writing a test for a module, but have some problems with `boot.initrd.secrets`. I have a known (fixed) path as destination and either a string or a path as source, but in both cases there is no file in the known path (checking with `ls` in `boot.initrd.network.postCommands`)
<AmandaC> nh2[m]: I'm convinced it's got something to do with being on/off battery, but I've not been able to find any link other than that. I used to get similar issues in PopOS! when I was using a newer mesa than was packaged for it, but the issues went away when I switched back to the s76 packaged ones. It's def. not reliably, sometimes I'd be abel to be on battery for hours without an issues, other times it chokes and dies within 5 min of
<AmandaC> being on battery. Sometimes it lasts fine on battery,then dies 5m after I plug back in. It's maddening
MidHotaru has quit [Quit: Connection closed for inactivity]
mrosenbe has joined #nixos
wiml has joined #nixos
<patagonicus> CRTified[m]: the nixos.org options search doesn't know about boot.initrd.secrets. Can you paste (part of) your config, maybe? Without the actual secrets, of course.
<nh2[m]> AmandaC: I'd do what you're planning then, running with an old version and seeing how that goes. You might do a very slow, real-life git bisect, where at each step you run with the system for a couple of days. First bisect on easily available mesa releases, then when you have it narrowed down between which releases the issue is, post it on the mesa issue tracker and follow up with a git-level bisect
<AmandaC> nh2[m]: WE'll see, I've got an Intel NUC in the mail to be used as a server, plan to throw hydra on it, if it doesn't take too long to build everything with an older mesa on it, I'll do that.
<CRTified[m]> patagonicus: I currently want to write a test for PR #63165 (and want to get it in a working and mergable state again). Right now, it is basically `boot.initrd.secrets."/etc/initrd.ovpn" = ./config.ovpn`, and my implementation uses the one from initrd-ssh as guideline: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/initrd-ssh.nix#L206
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63165 (by CRTified, 1 year ago, open): nixos/system/boot/initrd-openvpn: New openvpn options for initrd
<{^_^}> [nixpkgs] @Groggy opened pull request #91727 → nixos/resolved: fix systemd-resolve user group assignment → https://git.io/JJvG1
mrosenbe has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @tazjin opened pull request #91728 → age: unstable-2020-03-25 -> v1.0.0-beta4 → https://git.io/JJvGy
<nh2[m]> AmandaC: IMO Hydra is overkill for that, just use the `--builders yourserver --max-jobs 0` argument to build of a server of your choice instead of on your laptop. You could get a 20 EUR/month Hetzner dedicated for that, or ask Rickard from https://nixbuild.net/ for a test account
<AmandaC> nh2[m]: I've already got a hydra instance set up testing my configs regardless. IT's just currently on a VM on my gaming rig, which means it's got 1/2 cores and limited ram
<AmandaC> so I guess it's less "throw hydra on it" as "move hydra to it"
iyzsong has quit [Ping timeout: 240 seconds]
<bqv> I wanted to set up hydra, for custom flakes I own
<nh2[m]> AmandaC: I'm just saying I'm not sure if Hydra really helps with the task at hand. It watches git repos, builds things from them, and then reports build statistics and collects outputs. But you need none of that for just sharding off nix-builds; building locally with `--builders` appended, against any NixOS machine, or even just any Linux system with nix installed, would be enough.
zaeph has quit [Ping timeout: 240 seconds]
<AmandaC> nh2[m]: true, but I've already got it setup to try and anticipate breakages when I'm more spoonful, and fix them, and also make sure that I'm not pegging my laptop's CPU to compile stuff that I'm not going to be tweaking myself. I have all my machine's nix configs in a repo which hydra is testing for me. :P
iyzsong has joined #nixos
<gchristensen> fwiw AmandaC I have a bunch of stuff that pegs my laptop's CPU, but conditioned to only run when it is plugged in to AC. maybe a model you'd like
<AmandaC> plus, it's just fun to CI/CD all the things sometimes. :P
knupfer has joined #nixos
<AmandaC> Strictly, do I need it? Nah, but it was fun to configure and tweak to my liking
simba2 has joined #nixos
zaeph has joined #nixos
<nh2[m]> AmandaC: I see. Note though that with `--max-jobs 0` you are guaranteed to use only the remote builders, so it will not peg your laptop.
<AmandaC> And as a bonus if I run out of spoons while doing an update, I'm not stopped from relaixng to a chill game or similar because the CPU is running a million miles a minute
<pbogdan> AmandaC: looking at the module there's https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/hardware/opengl.nix#L72 - maybe that would let you somehow swap out just the drivers package without rebuilding the world?
<AmandaC> ooo, that's promising
Quick_Wango has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @primeos merged pull request #91605 → libva: 2.7.1 -> 2.8.0 → https://git.io/Jfj1W
<{^_^}> [nixpkgs] @primeos pushed 2 commits to staging: https://git.io/JJvZ8
werner291 has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<bqv> nh2[m]: is that true even with IFD?
<bqv> (I feel like no)
<nh2[m]> bqv: I'm not sure, I don't remember if I've tried it with import-from-derivation projects
<typetetris> Are there unit tests for nixos modules or only the "full qemu machine tests"?
eoli3n_ has joined #nixos
o1lo01ol1o has joined #nixos
<bqv> AmandaC: theres also the buildmachine ratios that you can tweak, so your laptop avoids building complex things locally by default
orivej has joined #nixos
<bqv> But I guess having it all build remotely so all you have to do is commit saves the most spoons, so fair enough
<AmandaC> indeed. And I can just shut down my laptop if I feel liek it. :P
dermetfan has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @bbigras opened pull request #91729 → broot: 0.18.0 -> 0.18.1 → https://git.io/JJvZP
<Quick_Wango> Hi everyone! I'm pretty much inexperienced with NixOS, but from my understanding of it, it might be a good fit as the OS for RKE (Rancher Kubernetes Engine) nodes. Has anyone any experience with this?
<eyJhb> Is it actually recommended to have a root PW?
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging: https://git.io/JJvZd
<VulNix> I can't speak for security experts in general but it does create one more credential that can be used to get root
<VulNix> You can mitigate that by disabling root SSH login, but I've found disabling the root account and using sudo -i when I need it works well enough
<bqv> If the root account is disabled, what happens in single user runlevel?
<m1cr0m4n> eyJhb: From an administration perspective, it depends on your environment. If you have KVM access in the event of total network failure on a host, you will want to have a root password somewhere. From a security POV, so long as it is sufficiently complex no one's really going to get in through that vector.
<eyJhb> This is a laptop, not a server so I would normally disable it.
<eyJhb> But I keep getting warnings from Nix
<m1cr0m4n> eyJhb: Oh right, I've never seen those warnings. It would seem odd to recommend a password, I would be more inclinded to check does that mean some form of passwordless auth is enabled for root?
<{^_^}> [nixpkgs] @Ma27 merged pull request #91698 → batsignal: Init at 1.0.0 → https://git.io/JJedn
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJvnv
acarrico has joined #nixos
<eyJhb> https://termbin.com/3reu might have to debug some more. Seems like it thinks I have set a pw
<m1cr0m4n> Yeah that's an odd one
pbb has quit [Ping timeout: 272 seconds]
MarcWeber has quit [Ping timeout: 264 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 merged pull request #90714 → nushell: add checkPhase without --target which causes failing tests → https://git.io/JfddT
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJvnW
<{^_^}> [nixpkgs] @marsam merged pull request #91728 → age: unstable-2020-03-25 -> v1.0.0-beta4 → https://git.io/JJvGy
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJvn4
orivej has quit [Quit: No Ping reply in 180 seconds.]
nikola_i has joined #nixos
orivej has joined #nixos
pbb has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #90674 → dashing: 2018-02-15 -> 0.4.0 → https://git.io/JfdGs
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJvn1
<{^_^}> [nixpkgs] @kraem closed pull request #85064 → exa: include patch to group dir symlinks with regular dirs → https://git.io/JvjtQ
<patagonicus> eyJhb: Did you set the hashedPassword for root? Or are you including something that might in your config? It's complaining that the value has an invalid format, not that root doesn't have a password.
o1lo01ol1o has joined #nixos
<eyJhb> patagonicus: not that I can see, only for my own user
<{^_^}> [nixpkgs] @danieldk merged pull request #91671 → easypdkprog: init at 1.2 → https://git.io/JJewn
<{^_^}> [nixpkgs] @danieldk pushed 3 commits to master: https://git.io/JJvn7
dkess has left #nixos ["Leaving"]
<patagonicus> Weird
rajivr has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @ktor opened pull request #91731 → jetbrains.*: 2020.1.1/2/3 -> 2020.1.2/3/5 → https://git.io/JJvce
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging: https://git.io/JJvcf
<{^_^}> [nixpkgs] @vcunat merged pull request #91711 → file: backport patch to fix a 5.39 regression → https://git.io/JJvTl
<{^_^}> [nixpkgs] @danieldk merged pull request #91729 → broot: 0.18.0 -> 0.18.1 → https://git.io/JJvZP
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJvck
<typetetris> Do I need to set different acmeRoots for different virtual hosts in nginx?
sangoma has quit [Ping timeout: 264 seconds]
turion has quit [Ping timeout: 256 seconds]
MarcWeber has joined #nixos
<pbogdan> eyJhb: the warning sounds like something to do with https://github.com/NixOS/nixpkgs/pull/83171 and https://github.com/NixOS/nixpkgs/pull/91238
<{^_^}> #83171 (by rnhmjoj, 13 weeks ago, merged): nixos/users: validate password hashes
<{^_^}> #91238 (by rnhmjoj, 1 week ago, open): nixos/users-groups: do not check validity of special hashes
<dminuoso> typetetris: no
rsoeldner has joined #nixos
<typetetris> dminuoso: hmm have several domains and all the acme-*.service units had been started concurrently, they failed. `systemctl start ...service` one by one succeeded then. That's why I thought of a race condition or something.
gustavderdrache has joined #nixos
<dminuoso> typetetris: Mmm let me look at the systemd unit
<eyJhb> pbogdan: could be!
<eyJhb> It is a pretty "new" error
<dminuoso> typetetris: Its definitely not due to overlapping acmeRoots.
<typetetris> dminuoso: ok, that is good to know.
<{^_^}> [nixpkgs] @flokli merged pull request #91046 → test-driver.py: delete VM state directory after test run → https://git.io/JfFZa
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJvcs
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @vcunat closed pull request #91399 → curl: 7.70.0 -> 7.71.0 → https://git.io/JfprX
<{^_^}> [nixpkgs] @Ma27 merged pull request #91721 → pylint: fix 1.9 → https://git.io/JJvmv
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJvcn
seku has joined #nixos
<dminuoso> And security.acme only uses that as a flag to lego
<typetetris> Can it be, that the https://github.com/NixOS/nixpkgs/blob/ff1b66eaea4399d297abda7419a330239842d715/nixos/modules/services/web-servers/nginx/default.nix#L744 leads to nginx being restarted once per domain and after the first domains the attempt to download the challenge from the other sides fails, because nginx is temporarily down?
<typetetris> But no, its reload , not restart.
dsx has quit [Quit: dsx]
<dminuoso> What particular error did you get?
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<dminuoso> Do you have a particular `preStart` configured?
sangoma has joined #nixos
<typetetris> dminuoso: `acme: error: 400 :: urn:ietf:params:acme:error:connection :: Fetching http://<mydomain>/.well-known/acme-challenge/<somelettersnumbers>: Connection refused, url:
Cale has quit [Ping timeout: 260 seconds]
<typetetris> dminuoso: Also `Unable to deactivate the authorization: https://acme-v02.api.letsencrypt.org/acme/authz-v3/<some numbers>`
<idontgetoutmuch[> How do I pick a recent version of nixpkgs in which ghc is actually built?
<typetetris> dminuoso: No `preStart` configured, using `https://gitlab.com/simple-nixos-mailserver/nixos-mailserver`.
<bqv> idontgetoutmuch[: hydra has a rest api
<idontgetoutmuch[> bqv: I am sorry but "hydra" and "rest api" mean nothing to me
<idontgetoutmuch[> I seem to have found one by doing a binary cut with git
<bqv> oh, ok
sangoma has quit [Ping timeout: 246 seconds]
dsx has joined #nixos
user_0x58 has joined #nixos
<idontgetoutmuch[> Hmm but if I try to use `random = hself.random_1_2_0` then nix starts to build ghc-8.8.3 - grrr
sangoma has joined #nixos
meh` has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
kleisli_ has quit [Ping timeout: 265 seconds]
Cale has joined #nixos
orivej has joined #nixos
<idontgetoutmuch[> How do I persuade nix to behave like stack and use the equivalent of the stackage nightly build?
fendor_ has joined #nixos
sangoma has quit [Ping timeout: 260 seconds]
fendor has quit [Ping timeout: 265 seconds]
dsx has quit [Quit: dsx]
dsx has joined #nixos
laerling has quit [Changing host]
laerling has joined #nixos
<idontgetoutmuch[> Instead of cabal hell I seem to be in nix hell
<{^_^}> [nixpkgs] @ngerstle opened pull request #91732 → keycloak: 9.0.3 -> 10.0.2 → https://git.io/JJvWz
<idontgetoutmuch[> `*** abort because of serious configure-time warning from Cabal`
drakonis has joined #nixos
ashesham` has joined #nixos
Humanoid has joined #nixos
<idontgetoutmuch[> So stack just worked but nix-build complains about lots of things
<idontgetoutmuch[> Ah but it lied
<Humanoid> Installing the package fbpanel failed because of a missing header. How do I add gdk-pixbuf as a build dependency to fbpanel?
<aleph-> Hmm, when adding packages to the path in a systemd service. Can I just do `path = with pkgs; [ bash ]; Or do I need to do `path = [ "${pkgs.bash}" ];`
<bqv> the former is fine
<aleph-> Got it, would the latter work?
<bqv> at a guess, yes? unless there's some mechanism i'm not aware of
<aleph-> Nod, got it.
<aleph-> Thanks bqv
<aleph-> Well that's a fun error. `error: fork/exec /run/current-system/sw/bin/bash: operation not permitted error: ssh: could not start shell`
jim97 has quit [Ping timeout: 260 seconds]
<idontgetoutmuch[> Why is there a random in hackage-packages.nix and also a random-1.2.0? Why doesn't random point at the latest version of random?
<bqv> :-D
<aleph-> Hmm, my package has access to bash and openssh...
<aleph-> Wonder what else the issue could be...
<bqv> once you add .path, i think you have to refer to bash directly
<bqv> rather than via /run/current-system
<bqv> or at least just via 'bash'
<idontgetoutmuch[> Maybe I should raise an issue about it
<aleph-> I don't believe I am. I'll need to check the source for teleport I guess...
<bqv> idontgetoutmuch[: grep for random-1.2.0, sometimes multiple versions are around cause it helps unbreak other stuff
<bqv> it's never a bug
<aleph-> Hmm seems it can't fork/exec...
lunaa has joined #nixos
MarcWeber has quit [Ping timeout: 265 seconds]
<idontgetoutmuch[> I can there is a random-1.2.0 in hackage-packages.nix - I want to use it but if I do then nix decides to build ghc
<idontgetoutmuch[> bqv: ^
<idontgetoutmuch[> 1.2 is x1000 faster than 1.1
<patagonicus> I'm not sure, but if you use "${pkgs.bash}" doesn't that give you the path in the nix store and you need to add /bin for the dir that binary is in?
<patagonicus> aleph-: I'd check the generated systemd file and see what dirs it actually lists for path.
<bqv> idontgetoutmuch[: you can probably use it, it's unlikely to be removed
<aleph-> patagonicus: I'm fairly certain it's a perm issue now that I'm thinking about it.
<bqv> maybe grep hackage-packages.nix to see what uses it
<aleph-> Works from a direct invocation via root.
<gustavderdrache> > lib.makeBinPath [pkgs.bash pkgs.openssh]
<{^_^}> "/nix/store/ypag3bh7y7i15xf24zihr343wi6x5i6g-bash-4.4-p23/bin:/nix/store/lxvnjkwwcdk9237q12gazbxixamighyy-openssh-8.2p1/bin"
<gustavderdrache> makeBinPath is probably the cleanest way to ensure you're setting up $PATH (or similar) correctly
<aleph-> Got it, I'll give that a look next. Just ruling out whether it's perm related
<aleph-> Yep, works via root.
bvdw has joined #nixos
<aleph-> So what needs to change...
<{^_^}> [nixpkgs] @danieldk merged pull request #91725 → libosmium: 2.15.5 -> 2.15.6 → https://git.io/JJvsY
<{^_^}> [nixpkgs] @danieldk pushed 3 commits to master: https://git.io/JJvlN
<aleph-> Think I'll need a capabillity and that should do it.
andreas303 has quit [Ping timeout: 240 seconds]
<aleph-> Now which one is the question...
<aleph-> Maybe CAP_SYSADMIN.
andreas303 has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
m4ts has quit [Quit: bye]
m4ts has joined #nixos
quinn has quit [Ping timeout: 258 seconds]
magnetophon has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
magnetophon has quit [Read error: Connection reset by peer]
orivej has joined #nixos
bennofs has joined #nixos
magnetophon has joined #nixos
bennofs_ has quit [Ping timeout: 264 seconds]
kmplsv has quit [Quit: weeeeeeeeeeeeeeeeeeee.]
philr_ has quit [Ping timeout: 264 seconds]
quinn has joined #nixos
MarcWeber has joined #nixos
<CRTified[m]> patagonicus: regarading that `boot.initrd.secrets`-problem: Even the `initrd-network-ssh` test fails for me, because `/etc/ssh/sh_host_ed25519_key` is not copied into the initrd. I'm running `nix-build nixos/tests/initrd-network-ssh/default.nix` on a local checkout of nixpkgs, last commit db5bbef31fa05b9634fa6ea9a5afbea463da88ea
<{^_^}> [nixpkgs] @romildo merged pull request #91401 → qogir-icon-theme: 2020-02-21 -> 2020-06-22 → https://git.io/JfpXH
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JJv8r
<{^_^}> [nixpkgs] @romildo merged pull request #91404 → fbmenugen: 2020-05-20 -> 0.85 → https://git.io/JfpSu
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JJv8o
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
mpiechotka has joined #nixos
<{^_^}> [nixpkgs] @ngerstle opened pull request #91734 → nixos/keycloak: init module → https://git.io/JJv8X
<mpiechotka> How to add package to gc root but not user environment?
sangoma has joined #nixos
simba2 has quit [Ping timeout: 246 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
MarcWeber has quit [Ping timeout: 258 seconds]
MarcWeber has joined #nixos
simba2 has joined #nixos
pinecamp has joined #nixos
<Humanoid> How do I add a single package locally, that is kept separate from the main channel?
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
wiml has quit [Ping timeout: 265 seconds]
<infinisil> mpiechotka: Can you give more context?
<mpiechotka> infinisil: stack installs ghc which is subsequently uninstalled by nix-garbage-collect
<mpiechotka> I want to 'pin' ghcs so they don't get uninstalled
<infinisil> Oh, stacks' Nix support
<infinisil> mpiechotka: Does it output a ./result symlink?
<mpiechotka> infinisil: Path to nix store? Yes
<infinisil> mpiechotka: Then I think setting `keep-outputs = true` in /etc/nix/nix.conf will work
<infinisil> Humanoid: What do you mean by "locally" and "main channel"?
<Humanoid> One of the packages in the channel is not working. I have made a modification to the default.nix to see if it fixes the problem, and I want to try installing it.
karetsu has joined #nixos
<infinisil> Humanoid: What default.nix?
<patagonicus> CRTified[m]: Yeah, I'm a bit surprised. I'm not even sure how that's supposed to work without the secrets ending up in the store.
lunatera has joined #nixos
<mpiechotka> infinisil: It's read-only. I presume I need to change confiuration.nix?
<Humanoid> nixpkgs/pkgs/applications/window-managers/fbpanel/default.nix
<infinisil> mpiechotka: Yeah
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: 2020-06-26 -> 2020-06-28 »: https://git.io/JJv4m
<infinisil> Humanoid: Ah so you have a nixpkgs checkout
<infinisil> Humanoid: You can build packages from the nixpkgs root with `nix-build -A <package attribute>`
stteevveen has joined #nixos
endformationage has joined #nixos
ashesham` has quit [Ping timeout: 272 seconds]
<CRTified[m]> patagonicus: That's simple: It bypasses the store and builds an additional initramfs. But it needs to be supported from the bootloader
lunaa has quit [Ping timeout: 256 seconds]
<patagonicus> Ah, ok
<Humanoid> infinisil: I'm getting this error: "error: cannot auto-call a function that has an argument without a default value ('stdenv')"
nikola_i has quit [Quit: Connection closed for inactivity]
quinn_ has joined #nixos
quinn has quit [Ping timeout: 260 seconds]
<mpiechotka> infinisil: Thanks
mpiechotka has quit [Quit: mpiechotka]
<Humanoid> infinisil: I'm trying to build the package without any modifications first, and I'm already getting an error.
cole-h has joined #nixos
<infinisil> Humanoid: Go into the root directory
<stteevveen> Any nix user programming in perl ? I'm learning perl, and as my scripts starts to get longer than 100 lines, I am learning the package/module functionnality in perl. Unfortunately it outputs the error: Can't locate MyConfig.pm in @INC (you may need to install the MyConfig module) (@INC contains:... And indeed the @INC does not contain the path
<stteevveen> of the current directory where I'm executing my script, and where my mini config module MyConfig.pm is. How do in Perl with Nix so as to indicate to perl to also look for my module in the current directory ?
<Humanoid> infinisil: Ok, it looks like it's working now. Thanks!
<infinisil> :)
wiml has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #91735 → osmium-tools: run tests, install man pages and zsh completions → https://git.io/JJv4K
<{^_^}> [nixpkgs] @vcunat pushed commit from @NeQuissimus to release-20.03 « linux_latest-libre: 17402 -> 17537 »: https://git.io/JJv4i
karetsu has quit [Quit: WeeChat 2.8]
MarcWeber has quit [Ping timeout: 240 seconds]
<marble_visions> hi all, doing development with multiple sets of tools, i would like not to pollute my system-wide environment with gcc/python/rustc/etc tools. am i right to think that i can manage to create per-"project" nix environments by having a project.nix for every project, which includes the packages i would like available, and every time i want to work on the project i would invoke nix-shell with project.nix?
<marble_visions> this will of course only play around with the generations / profiles / symlinks underneath
extends has joined #nixos
extends has quit [Client Quit]
<marble_visions> but it's still fine as i know that the system-wide env is lean
<srhb> marble_visions: That's the gist of it, yes.
<marble_visions> srhb: nice, thanks
<philipp[m]> Depending on your IDE needs you might want to check out lorri. Just cd into a dir and have a different env ready. Also works with emacs.
gustavderdrache has quit [Quit: Leaving.]
<AmandaC> so it seems I'm going to have to wait for my NUC to do more mesa experiments. Changing just the system mesa, or just a single package's mesa doesn't work.
<AmandaC> If they mis-match it'll die
<AmandaC> at least, sway will
<Humanoid> How do I add a library dependency to a nix expression? I tried adding it to the buildInputs list, but it doesn't seem to do anything.
sangoma has quit [Ping timeout: 264 seconds]
mrosenbe has joined #nixos
pingiun has joined #nixos
<pingiun> can someone explain me this magic from stage 2 init? https://paste.sr.ht/~pingiun/8fcf38da3f5186efe1182d6790c73769b18fd415
<pingiun> it doesn't seem to work when stage1 init was not run
<pingiun> I'm testing out firecracker with a nixos image
<Humanoid> There's a missing header: "gdk-pixbuf-xlib.h", so I tried adding gdk-pixbuf and gdk-pixbuf-xlib to the buildInputs of the nix expression, but it doesn't seem to do anything.
<CRTified[m]> patagonicus: And I found the matching hydra job, the test for initrd-network-ssh fails since 2020-06-05
lunatera has quit [Ping timeout: 240 seconds]
<CRTified[m]> (Well, at least it looks like that, but I'm not used to hydra so I might be wrong - at least the error is the same as my local error)
<infinisil> marble_visions: Usually shell.nix files are used for this, calling `nix-shell` uses that file by default. And btw, nix-shell doesn't mess around with profiles and generations at all
<{^_^}> [nixpkgs] @IvarWithoutBones opened pull request #91736 → 1password: 1.0.0 -> 1.1.1 → https://git.io/JJvBm
<{^_^}> [nixpkgs] @marsam opened pull request #91737 → mcfly: 0.3.6 -> 0.4.0 → https://git.io/JJvB3
zupo has joined #nixos
<marble_visions> Philipp[m] thanks, will check it out
<marble_visions> infinisil interesting, i thought a nix-shell would create a generation... does it do it's magic on the fly with just environment variables in the opened shell?
<Humanoid> How to specify in a nix expression that it needs to include the include directory of a library when compiling?
stteevveen has quit [Remote host closed the connection]
<infinisil> marble_visions: Yup
justanotheruser has quit [Ping timeout: 260 seconds]
<infinisil> Humanoid: Should be just with buildInputs, no idea why it doesn't work for you though
lollo has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 264 seconds]
<marble_visions> infinisil: what would happen if shell.nix contains a package that is not present yet in the current nix store and has to be downloaded?
<infinisil> It would download/build it
<marble_visions> that would definitely append to the store, but not the generations and profiles?
<infinisil> Yup
<marble_visions> aha, right.
<pinecamp> are there established best practices to integrate home-manager files with configuration.nix? I have a few home-manager modules written that I use on darwin, and I recently finished a basic NixOS installation on a separate machine. what's the recommended way to use parts of my home-manager setup in configuration.nix, without manually copying it into
<pinecamp> a `home-manager.users.pinecamp` block?
<pinecamp> I've tried `home-manager.users.pinecamp = import ../home.nix { config, pkgs };`, but that seems not to have any effect
orivej has joined #nixos
<{^_^}> [nixpkgs] @skykanin opened pull request #91738 → gtkcord: Init at 0.0.4 → https://git.io/JJvBQ
<energizer> pinecamp: i have that without the {config, pkgs} and it works
waleee-cl has quit [Quit: Connection closed for inactivity]
<pinecamp> energizer: do you still run `home-manager switch`, or is your home-manager configuration applied when you run `nixos-rebuild switch`?
<energizer> pinecamp: the latter
<pinecamp> strange
<energizer> i have imports = [<home-manager/nixos>];
pax-12 has joined #nixos
bastion-tester has quit [Ping timeout: 264 seconds]
<energizer> #home-manager might know better
<pinecamp> I'm using something similar... strange that it's not working
<pinecamp> thanks, I'll ask there too :)
pinion[m] has joined #nixos
<pax-12> when I try to enable nonfree software with { nixpkgs.config.allowUnfree = true; } in configuration .nix I get this error: error: anonymous function at /etc/nixos/configuration.nix:5:1 called with unexpected argument 'lib', at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:228:8
orivej_ has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
<energizer> pax-12: at the top of the file put {...}:
<pax-12> I get the same error if I do so
<pax-12> sorry, not the same ,,, error: attempt to call something which is not a function but a set, at /etc/nixos/configuration.nix:6:1(use '--show-trace' to show detailed location information)
<infinisil> pax-12: That doesn't sound related. Try removing the `nixpkgs.config.allowUnfree = true` and see if it still errors
<pax-12> infinisil, I now get this error instead: warning: the following units failed: wpa_supplicant.service
<pax-12> Process: 5479 ExecStart=/nix/store/zg9cdmi0klr1pwbskschpzcn86wclkm9-unit-script-wpa_supplicant-start/bin/wpa_supplicant-start (code=exited, status=255/EXCEPTION)
<pax-12> Active: failed (Result: exit-code) since Sun 2020-06-28 20:24:22 BST; 14ms ago
<pax-12> Loaded: loaded (/nix/store/4l9hxf44jfr40zh0ryl17x7hc8imbmf4-unit-wpa_supplicant.service/wpa_supplicant.service; enabled; vendor preset: enabled)
<pax-12> ● wpa_supplicant.service - WPA Supplicant
<pax-12> Main PID: 5479 (code=exited, status=255/EXCEPTION)
<pax-12> IP: 0B in, 0B out
<pax-12> CPU: 4ms
<pax-12> Jun 28 20:24:22 nixos-box systemd[1]: Started WPA Supplicant.
<pax-12> Jun 28 20:24:22 nixos-box wpa_supplicant[5479]: Successfully initialized wpa_supplicant
<pax-12> Jun 28 20:24:22 nixos-box wpa_supplicant[5479]: Failed to open config file '/etc/wpa_supplicant.conf', error: No such file or directory
<pax-12> Jun 28 20:24:22 nixos-box wpa_supplicant[5479]: Failed to read or parse configuration '/etc/wpa_supplicant.conf'.
<pax-12> Jun 28 20:24:22 nixos-box systemd[1]: wpa_supplicant.service: Main process exited, code=exited, status=255/EXCEPTION
<aleph-> Hmm, okay. So CAP_CHOWN and CAP_SETGID isn't enough to let a non-root user fork/exec shells for other users... so what else am I missing...
<pax-12> Jun 28 20:24:22 nixos-box systemd[1]: wpa_supplicant.service: Failed with result 'exit-code'.
<pax-12> warning: error(s) occurred while switching to the new configuration
<aleph-> pax-12: Use a pastebin please. :)
<pax-12> aleph-, ok
<chiiba> I want to populate data directories for a few stateful systemd services using a "data-restoration-service" at NixOps deploy-time. Obviously when restoration happens the stateful services have to be "down" and afterwards the services should restore their state. Would running `systemctl stop <stateful-services>` in my restoration service lead to NixOps deploy-time race conditions? (Is the sequence of service
<chiiba> start-ups determined in NixOps?)
Humanoid has quit [Quit: Leaving]
vpw has joined #nixos
werner291 has joined #nixos
<pax-12> https://bpa.st/DV6Q here is the error
cole-h has quit [Quit: Goodbye]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<aleph-> Hmm okay CAP_CHOWN, CAP_SYSADMIN, CAP_SETUID and CAP_SETGID don't work... Hmm.
<aleph-> Has to be someway to run a sshd as non-root user.
<energizer> "As an update to this thread, OpenSSH in version 7.5 deprecated the UsePrivilegeSeparation option, making it impossible to disable privilege separation. It appears that running SSHD as a user is now impossible."
<infinisil> pax-12: Can you post your full configuration.nix and the output of `nix-info`?
<aleph-> energizer: Yeah I saw that. I'm not technically running an sshd daemon, running the teleport daemon.
<aleph-> Ah think I know what to do.
<energizer> aleph-: do post an update if you figure it out
<aleph-> energizer: Think generating the user to run as, as `isSystemUser = true;` should do the trick.
<pax-12> https://bpa.st/QWMQ configuration.nix | nix-info, system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.3.6, nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
<pingiun> I'm trying to force a remote build with -j0, but I believe nix is refusing because my remote build is a linux machine and my local machine is macos
<pingiun> how can I do a build on my linux machine with a nix expression from my local machine?
<aleph-> Hmm, okay system user didn't help it. Ugh
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<infinisil> pax-12: Oh, well you can't just literally add { nixpkgs.config.allowUnfree = true; } anywhere in the file, that's not how Nix syntax works
<pax-12> infinisil, where should I add it then?
<infinisil> pax-12: If you see something like that, it means that nixpkgs.config.allowUnfree is an option, like any other option you set in the file
<infinisil> So add just that option assignment like you have all others
thawes has joined #nixos
<aleph-> Hmm I wonder if something is mounted noexec...
<pax-12> infinisil, now I get this error: https://bpa.st/DV6Q
<aleph-> Hmm, does nixOS use selinux by default at all?
<Taneb> aleph-: I'm pretty sure NixOS doesn't do selinux at all
<aleph-> Got it. Hmm, seems to be a common golang issue.
<aleph-> Wonder if I will just have to run as root for now.
<infinisil> pax-12: That's entirely unrelated to the allowUnfree thing
<pax-12> infinisil, Do you know how to fix it?
kenran has joined #nixos
orivej_ has joined #nixos
<pax-12> thank you
dadada_ has quit [Ping timeout: 240 seconds]
kenran has quit [Client Quit]
pax-12 has quit [Quit: Leaving]
dadada_ has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
vpw has quit [Quit: Leaving]
noogie has quit [Quit: lol]
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
arjen-jonathan has joined #nixos
justanotheruser has joined #nixos
turion has joined #nixos
pi4 has joined #nixos
simba2 has quit [Ping timeout: 246 seconds]
thawes has left #nixos ["ERC (IRC client for Emacs 27.0.91)"]
pinecamp has quit [Ping timeout: 245 seconds]
pax-12 has joined #nixos
<pax-12> when I try to install nonfree software with nixos-rebuild switch I get no error and I still cannot install nonfree software (I have ran sudo nixos-rebuild switch)
slack1256 has quit [Remote host closed the connection]
waleee-cl has joined #nixos
kenran has joined #nixos
<turion> pax-12 but if that command succeeded, then apparently it worked..?
<infinisil> pax-12: Your question is way too vague..
<pax-12> turion, if I install nonfree software such as discord I get this error: Package ‘discord-0.0.10’ in /home/pax/.nix-defexpr/channels_root/nixos/pkgs/applications/networking/instant-messengers/discord/base.nix:72 has an unfree license (‘unfree’), refusing to evaluate.
<infinisil> pax-12: What's the *full* error
<infinisil> Well no need to tell me
<infinisil> But read the full error, it tells you exactly what to do
<turion> Well, that clearly is an error, right? :)
<infinisil> ^^
<pax-12> infinisil, https://bpa.st/3YJA
<turion> And did you try something like nixpkgs.config.allowUnfree = true;?
<pax-12> yes
<infinisil> pax-12: And how did you install it?
<infinisil> Or try to
<turion> Ok, so you added that line to your config, and then how did you install discord?
<pax-12> infinisil, nix-env -i discord
<turion> Did you maybe not do nixos-rebuild switch before doing that?
<infinisil> pax-12: Yeah, now read the error again and see what it says about nix-env
<turion> Ah right :)
<pax-12> infinisil, should I have a ~/.config/nixpkgs/config.nix (I do not have a ~/.config/nixpkgs)
<pax-12> infinisil, make*
<infinisil> Yes
<pax-12> now it is installing
<pax-12> I wonder why the system-wide config does not work
<pax-12> and now if I try to open discord (does not show up in kde) from the command line it says command not found
<{^_^}> [nixpkgs] @jonringer merged pull request #90598 → python3Packages.simpy: add missing dependency → https://git.io/Jf5le
<{^_^}> [nixpkgs] @jonringer pushed commit from @dmrauh to master « python3Packages.simpy: add missing dependency »: https://git.io/JJvE0
pi4 has quit [Quit: WeeChat 1.6]
<infinisil> pax-12: It's completely separate. NixOS configuration.nix doesn't look at your users ~/.config, and nix-env doesn't look at NixOS configuration.nix
<infinisil> You might want to install programs with configuration.nix instead
<infinisil> That's generally preferred on NixOS
<pax-12> infinisil, how do I do that?
<infinisil> Should be in the manual
<pax-12> I have to go now
pax-12 has quit [Quit: Leaving]
<turion> Yeah, that amount of time is not enough to learn nix :D
asymptotically has quit [Quit: Leaving]
o1lo01ol1o has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
rsoeldner has quit [Remote host closed the connection]
asymptotically has joined #nixos
mtn has joined #nixos
<fps> hmm, for some reason after changing the systemCronJobs the first time a job should be executed i only get this in the log:
<fps> Jun 28 22:44:01 cherry /nix/store/g6x0mhdirz8qvsiz3z0zfpgzbqiqdy5j-cron-4.1/bin/cron[18728]: (*system*) RELOAD (/etc/crontab)
<fps> the second time the job should run it actually is run
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<fps> i would have expected the cron service to RELOAD the config directly after nixos-rebuild switch and the job to be executed the first time it should be executed
<bqv> does nix have a disjoint union operator?
seku has quit [Quit: Connection closed]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c5299e9d5bb (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
h0m1 has quit [Quit: WeeChat 2.8]
<fps> oh, i see. the cron daemon only checks every minute if the crontab changed. then reloads it and then does not check if there was a job to be run with the same time spec as when the check happened..
<fps> so when testing out jobs one needs to schedule them at least two minutes ahead, not one ;)
mtn82 has joined #nixos
mtn82 has quit [Remote host closed the connection]
h0m1 has joined #nixos
multun has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9893f64b578 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
EDGAR_ALLEN_FLOW has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
domogled has quit [Read error: Connection reset by peer]
domogled has joined #nixos
kenran has quit [Quit: leaving]
kenran has joined #nixos
kenran has quit [Client Quit]
zupo has quit [Ping timeout: 264 seconds]
kenran has joined #nixos
o1lo01ol1o has joined #nixos
kenran has quit [Client Quit]
eoli3n_ has quit [Ping timeout: 256 seconds]
otulp has joined #nixos
<m1cr0m4n> Hiya. Does anyone know how to use/have an example of mkRemovedOptionModule with a submodule type?
<{^_^}> [nixpkgs] @NickHu merged pull request #91438 → nodePackages.purescript-language-server: init at 0.12.9 → https://git.io/Jfhq9
<{^_^}> [nixpkgs] @NickHu pushed 2 commits to master: https://git.io/JJvzC
<{^_^}> [nixpkgs] @NickHu closed pull request #71215 → nodePackages.purescript-language-server: init at 0.12.7 → https://git.io/Je4kB
pjt_tmp has joined #nixos
kleisli_ has joined #nixos
<gordon1> hi
<{^_^}> [nixpkgs] @das-g opened pull request #91740 → osm2pgsql: 1.2.1 -> 1.2.2 → https://git.io/JJvzg
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to glibc231: https://git.io/JJvz2
<gordon1> it seems that if my laptop power plug is disconnected, my u2f keys aren’t working (they have power, but it works as if they’re disconnected)
orivej has quit [Ping timeout: 246 seconds]
mtn has quit [Remote host closed the connection]
orivej has joined #nixos
<gordon1> it seems weird, and i don’t know yet if it’s a hardware problem or an error in my configuration
alexherbo2 has quit [Ping timeout: 256 seconds]
<gordon1> (or maybe a nixos bug)
<infinisil> bqv: How would that look like?
knupfer has quit [Ping timeout: 240 seconds]
arjen-jonathan has quit [Ping timeout: 272 seconds]
mtn has joined #nixos
<bqv> something similar to //, but that errors if attributes are replaced
<mtn> Anyone here configured DNS validation for let's encrypt with acme? Been struggling with this for awhile :/
<bqv> (infinisil)
<mog> yes mtn i got it working for me the other day
<mtn> mog: What's your dns provider, and did you do anything substantially different from this section of the manual? https://nixos.org/nixos/manual/index.html#module-security-acme-config-dns
<mtn> I'm getting `SERVFAIL` from cloudflar
doyougnu has quit [Ping timeout: 240 seconds]
karetsu has joined #nixos
<mog> my provider is linode https://pastebin.com/ZBvcFM8p
<mog> it was frustrating at first but once i had it all set correctly just worked
zupo has joined #nixos
orivej_ has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
<mog> i got stuck on multi domains for a bit , but setting one for my wild card and one for my root fixed the problem
<mtn> gotcha -- one stupid thing I did yesterday was running lego on the command line I hit the duplicate cert limit, so now I'm setting it up on a different domain
<mtn> do you know if it's possible to point at lets encrypt staging?
zupo has quit [Ping timeout: 240 seconds]
<mog> i think it is, i hit that same wall before and just waited out. i use dns because i was running way to many sub domains and kept hitting the limit
gxt_ has joined #nixos
<mtn> gotcha
<mog> i wish people just allowed for trusting self signed certs.... i see so little value in the fact that letsencrypt validated i own the domain
<mtn> oh one more random question
<mtn> once everything's set up, do you have a problem hitting the renew limits from running nixos-rebuild switch?
<mog> never
<mog> i didnt have that problem before either though
<mog> nixos handles systemd timers correctly
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<mtn> ah ok, is that because you don't run it alot or it doesn't count against one of let's encrypts rate limits?
<multun> mog: the value is that people can't just impersonate your domain and decrypt traffic
domogled has quit [Ping timeout: 258 seconds]
<mog> multun, if i self signed my traffic people couldnt decrypt it. it only stops people from impersonating my domain
<mog> an attack vector i care a lot less about.
<multun> people can mitm
<mog> the flip side is letsencrypt can mitm all of our traffic
<mog> as we all use letsencrypt
<mog> so randos mitm my traffic vs govt or lets encrypt going evil and mitm
<mog> i prefer the randos
<multun> randos includes the govts
<Yaniel> randos includes govt and letsencrypt
<mog> theyd have to be the dns provider for my random users
<multun> no
<mog> something i think is more difficult to fix across all the random spots i connect to the internet
<mog> to mitm they need to convince me im connecting
<mog> i trust ssh and fingerprints much more than i trust ssl
<mog> and would have prefered web to go that same way
<multun> good for you, I think I'll keep protecting my users from randos MITM the shit out of them
<mog> its cool you can be wrong too ^__^
<multun> I just don't get it
<multun> having a signed cert just gives your user more protection
<multun> what's the drawback?
<mog> 3 can keep a secret if 2 are dead
<mog> less parties in my private conversations are better
<karetsu> what's the correct nix way of package AppImages? Is falling back on `appimage-run` okay?
<karetsu> what's the correct nix way of package AppImages? Is falling back on `appimage-run` okay?showKeybindings :: [((KeyMask, KeySym), NamedAction)] -> NamedAction
<karetsu> showKeybindings x = addName "Show Keybindings" $ io $ do
<karetsu> h <- spawnPipe "zenity --text-info --font=terminus"
<karetsu> hPutStr h (unlines $ showKm x)
<karetsu> hClose h
<karetsu> return ()
<karetsu> what's the correct nix way of package AppImages? Is falling back on `appimage-run` okay?showKeybindings :: [((KeyMask, KeySym), NamedAction)] -> NamedAction
<karetsu> showKeybindings x = addName "Show Keybindings" $ io $ do
<karetsu> h <- spawnPipe "zenity --text-info --font=terminus"
<karetsu> hPutStr h (unlines $ showKm x)
<karetsu> hClose h
EDGAR_ALLEN_FLOW has quit [Quit: leaving]
<karetsu> return ()
<karetsu> oh shit
<karetsu> sorry
<Yaniel> self-signed certs are not even secrets
Rusty1 has joined #nixos
<multun> letsencrypt also doesn't have your private keys
<multun> it only signs your public keys
justanotheruser has quit [Ping timeout: 258 seconds]
<multun> it could emit a new certification signed for your domain, just like anybody could if you're using self signed certs
<mog> it doesnt matter if they can sign new certs on my behalf
<Yaniel> literally anybody can self-sign a cert on your behalf
<multun> well with self signed certs anyone can
<mog> im saying if browsers supported better use of self signed certs/pinning i think the web would have been a better place
<mog> instead we all agreed that letsencrypt is validating the web
<multun> indeed, but it's not there
<mog> its like what 70% of all certs are now theirs
<mog> its insane
<Yaniel> and before letsencrypt it was a handful of expensive CAs
<mog> and im part of problem i know because its easy
<mog> but its not a good situation
<mog> i just dont get why firefox doesnt care
<Yaniel> who as the browser CA blacklists show weren't exactly "good" either
<multun> how do you pin certificates when the web pages are served by the same server that provides the cert? if the cert is an impersonation, the pinning data can also be
pingiun has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Yaniel> you obviously remember the first cert you've seen
<Yaniel> nobody would ever mitm that
<mog> i think things would be better done like how ssh is, you are right the first time you connect its risky because no one will check everything
<mog> but after its very secure
<Yaniel> so is a cert generated by a 3rd party
<Yaniel> if you pin it
<multun> then when you have to change cert, all your users will get a message
<multun> just like with ssh
<mog> right , but with lets encrypt thats all the time
<mog> so its not a real option
<Yaniel> not any more "all the time" than with self-signed certs
<Yaniel> well with self-signed you can specify a longer validity
<mog> the problems i have are not techincal they are idealogical
<multun> we can see that
<Yaniel> but letsencrypt and TOFU are orthogonal problems
karetsu has quit [Quit: WeeChat 2.8]
<multun> it seems like you'd rather accept weaker security rather than trusting letsencrypt, even if it only ratchets up sec
asymptotically has quit [Quit: Leaving]
<Yaniel> you could also generate your own root cert, tell your users to install that as a CA and use it to generate proper signed certs
__monty__ has quit [Quit: leaving]
<Yaniel> then you can renew your certs without annoying anyone
<mog> i disagree that its weaker. if i have a self signed cert thats pinned. vs a letsencrypt thats pinned all the time. id argue the letsencrypt is weaker given the attack vectors, and letsencrypt has made the former harder to do because of how browsers see self signed certs
<Yaniel> well unless your root cert gets leaked
<multun> but you can't pin your cert
<multun> (with web browsers at least)
zupo has joined #nixos
<mog> right im arguing for something that doesnt exist
<mog> browsers to be able to easily trust and pin a self signed cert
<multun> do you realise that if browsers accept that, users are going to get used to clicking on "it's ok if the identity changed", as they'd have no way to know whether the change is legit?
<Yaniel> they already were
<mog> in same way they click through other secruity warnings sure
<Yaniel> back when "permanently store exception" buttons still existed on the invalid certificate warning page
<mog> unless browser didnt let you
zupo has quit [Ping timeout: 258 seconds]
<multun> if browsers don't let you, then you can't change certs
zupo has joined #nixos
zupo has quit [Ping timeout: 265 seconds]
nikita` has quit [Quit: leaving]
detran has joined #nixos
pingiun has joined #nixos
cptchaos83_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos
Rusty1 has quit [Quit: WeeChat 2.8]
meh` has quit [Ping timeout: 260 seconds]
orivej_ has quit [Ping timeout: 256 seconds]
zupo has joined #nixos
orivej has joined #nixos
gustavderdrache has joined #nixos
<infinisil> bqv: Similar how
<infinisil> / doesn't error for replaced attributes
kenji has quit [Ping timeout: 240 seconds]
<bqv> infinisil: yes, similar in every respect except that :p
<bqv> that was the function of the 'but'
wiml has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
dermetfan has joined #nixos
werner291 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @das-g opened pull request #91743 → osm2pgsql: use libs from NixPkgs instead of vendored ones → https://git.io/JJvaQ
dsiypl4 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<infinisil> Oh
<infinisil> I see
seanparsons has quit [Quit: ZNC 1.7.5 - https://znc.in]
seanparsons has joined #nixos
NeoCron has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<jackdk> Any chance I can get some eyes on #90584? It has now been nearly two weeks.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/90584 (by endgame, 1 week ago, open): aws-sam-cli: 0.44.0 -> 0.52.0
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
cosimone has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<gchristensen> scoates: ping w.r.t. #90584 ^
<{^_^}> https://github.com/NixOS/nixpkgs/pull/90584 (by endgame, 1 week ago, open): aws-sam-cli: 0.44.0 -> 0.52.0
mbrgm_ has joined #nixos
justanotheruser has joined #nixos
cosimone has joined #nixos
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @lopsided98 opened pull request #91744 → Fix initrd ssh test → https://git.io/JJvVs
mtn has quit [Remote host closed the connection]
wiml has joined #nixos
pingiun has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sigmundv_ has joined #nixos
xAndy has joined #nixos
Rusty1 has joined #nixos
seanparsons has quit [Quit: ZNC 1.7.5 - https://znc.in]
seanparsons has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
dsx has quit [Quit: dsx]
<{^_^}> [nixpkgs] @austinbutler opened pull request #91745 → Add Beets extrafiles plugin → https://git.io/JJvV1
mallox has quit [Quit: WeeChat 2.8]
hamishmack has quit [Ping timeout: 246 seconds]
philr_ has joined #nixos
dsiypl4_ has joined #nixos
hamishmack has joined #nixos
dsiypl4 has quit [Ping timeout: 240 seconds]
dsiypl4_ has quit [Quit: Leaving]
m0rphism has quit [Ping timeout: 260 seconds]
Quick_Wango has quit [Quit: Bye! - http://cubeisland.de]
pingiun has joined #nixos
Quick_Wango has joined #nixos
pingiun has quit [Ping timeout: 240 seconds]
dermetfan has quit [Ping timeout: 272 seconds]
cr4y1 has quit [Remote host closed the connection]