fendor_ has quit [Remote host closed the connection]
<andrewrk>
hmm, I see the version of signal-desktop should be 1.30.1 according to nixos-version on my system which is 20.03pre212208.8130f3c1c2b (Markhor). But when I open it and do the help->about menu it says v1.28.0
<{^_^}>
[nixpkgs] @primeos pushed 2 commits to release-20.03: https://git.io/Jvlv7
edwtjo has joined #nixos
edwtjo has joined #nixos
edwtjo has quit [Changing host]
<Cadey>
andrewrk: did that fix it?
<evanjs>
what's the best way to combine outputs for a makeInitrd? Say I want /lib/modules to be populated with all the stuff in e.g. ${kernelPackages}/lib/modules but I also want ${driver}/lib/modules?
<noonien>
when calling a package with `pkgs.pkgsCross.<some-platform>.callPackage`, is there any difference between
<{^_^}>
[nixops] @onixie opened pull request #1225 → Fix wrong exception on SSH master connection failure → https://git.io/JvlTR
nuncanada has quit [Read error: Connection reset by peer]
thongpv87 has joined #nixos
epl692_ has quit [Ping timeout: 240 seconds]
<dongcarl>
Hi all, trying to bump a package right now and noticing that even though I bumped the version... it still builds! surely the hashes of the archive downloads must have changed?!
<samueldr>
it's a common pitfall due to a fix for another issue
<samueldr>
change the hash a bit
<samueldr>
the way it works is sources are all looked-up as /nix/store/${hash}-${name}
<samueldr>
but all source names are named "source"
vandenoever has quit [Read error: Connection reset by peer]
<cole-h>
Is it possible, using home-manager, to append to `home.packages` in a file inside of the `imports` list?
<clever>
cole-h: the module system will always append if you set a list type thing twice
<cole-h>
e.g. I have `imports = [ ./conf/fonts.nix ];` and want to add a few font packages to the `home.packages` list when that module is imported
<clever>
cole-h: just set home.packages in each file
<cole-h>
Wow, indeed. I didn't know that; that's really cool!
<cole-h>
clever++ once again
<{^_^}>
clever's karma got increased to 331
<clever>
depending on the type, nix will either append or fail, when you set it twice
<clever>
types.lines will merge things with a \n
<clever>
types.commas will merge stings with a ,
growpotk- has quit [Ping timeout: 265 seconds]
felixfoertsch has joined #nixos
felixfoertsch23 has quit [Ping timeout: 260 seconds]
ryanartecona has quit [Quit: ryanartecona]
<cole-h>
Anybody have any examples of how to correctly import a directory of self-made derivations?
phreedom has quit [Remote host closed the connection]
<epl692>
Channel switching question here, trying to get my user account to install a few unstable packages, but can't seem to get it to work. I switched channels to unstable, but it keeps installing the 19.09 versions of stuff
phreedom has joined #nixos
<{^_^}>
[nixpkgs] @nh2 merged pull request #79815 → fftw: Re-enable OpenMP with non-GCC and musl → https://git.io/JvCCK
<LinuxHackerman>
hpfr: I think you can take the riot-web package, point an nginx's webroot at it, and boom you have a riot instance you can point your browser at
<hpfr[m]>
Ah thanks
<LinuxHackerman>
let me check if that's how we run our riot…
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jvlmb
<{^_^}>
[nixpkgs] @nlewo opened pull request #80102 → dockerTools.buildLayeredImage: store all paths passed in final layer (fix 78744) → https://git.io/JvlmA
civodul has joined #nixos
veske has joined #nixos
veske2 has joined #nixos
Tucky has joined #nixos
Makaveli7 has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « ghc-8.8.x.nix: update override for brick to the latest version »: https://git.io/JvlYf
<{^_^}>
[nixpkgs] @zimbatm merged pull request #80078 → docker-slim: move expression to outside of build-support → https://git.io/JvlfE
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @marsam to master « docker-slim: move expression to outside of build-support (#80078) »: https://git.io/JvlYO
mexisme has quit [Ping timeout: 272 seconds]
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @marsam to release-20.03 « docker-slim: move expression to outside of build-support (#80078) »: https://git.io/JvlYc
<{^_^}>
[nixpkgs] @nlewo merged pull request #80102 → dockerTools.buildLayeredImage: store all paths passed in final layer (fix 78744) → https://git.io/JvlmA
<eoli3n>
from man "Add a path to the Nix expression search path."
<manveru>
eoli3n: it's equivalent to `NIX_PATH=$NIX_PATH:/bin`
bukkitgerman8 has joined #nixos
<eoli3n>
that's what i misunderstand
<manveru>
and the `<foo>` syntax looks up things in `NIX_PATH`
<eoli3n>
because /bin is empty
<LinuxHackerman>
eoli3n: that's a very odd expression, but `-I /bin` adds /bin to the NIX_PATH, which means that anything in <>s will be looked for in /bin
<manveru>
where did you see this?
<LinuxHackerman>
eoli3n: if /bin is empty that expression won't evaluate successflly
<eoli3n>
ok, i think i get it
<{^_^}>
[nixpkgs] @jtojnar pushed 2 commits to fetchgit-sri: https://git.io/JvlGK
<eoli3n>
it asks to ping package what is in /bin ?
<eoli3n>
is in its package's /bin
logzet has joined #nixos
<manveru>
so it would be `./bin`
<eoli3n>
ok that's not that
<eoli3n>
i don't get what you mean manveru
<manveru>
me neither :)
<{^_^}>
[nixpkgs] @jtojnar pushed to fetchgit-sri « fetchurl: suggest SRI hash in md5 assert »: https://git.io/JvlGi
<eoli3n>
nix-instantiate -I /bin --eval -E '<steam>' : in human language, wht does it query ?
<eoli3n>
when and where we will be told to update this ?
<eoli3n>
to the next version
<claudiii>
ah I don't know, probably here or on the discourse
vykook has quit [Ping timeout: 260 seconds]
<eoli3n>
there is no mailing list for this ?
<claudiii>
as far as i understand is (i'm knew to nixos) the discourse replaced the mailinglist
<claudiii>
s/is/it
<eoli3n>
ok thx
cosimone has quit [Quit: Terminated!]
markus1189 has joined #nixos
<__monty__>
Discourse does have some subscribe, comment by email functionality as I understand it.
<eoli3n>
is there any changelog with that kind of version jump ? or its just unstable being merged into "stable" ?
waleee-cl has joined #nixos
<infinisil>
,stateVersion eoli3n
<{^_^}>
eoli3n: Setting stateVersion to the latest release doesn't upgrade anything and can only break your setup at best. To actually upgrade NixOS see https://nixos.org/nixos/manual/#sec-upgrading. If you want to update the stateVersion option regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually migrated with the new value.
<__monty__>
eoli3n: The nixos manual has a changelog iirc.
<infinisil>
,stateVersion = Setting stateVersion to the latest release doesn't upgrade anything and can only break your setup at best. To actually upgrade NixOS see https://nixos.org/nixos/manual/#sec-upgrading. If you need to update the stateVersion option for some odd reason regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually
<{^_^}>
stateversion redefined, was defined as Setting stateVersion to the latest release doesn't upgrade anything and can only break your setup at best. To actually upgrade NixOS see https://nixos.org/nixos/manual/#sec-upgrading. If you want to update the stateVersion option regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually migrated with the new value.
<infinisil>
migrated with the new value.
<infinisil>
Aw
<eoli3n>
__monty__: infinisil link gave it
<infinisil>
Yeah, but I want to update the entry
orivej has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
alexherbo2 has joined #nixos
rnhmjoj has joined #nixos
rnhmjoj has joined #nixos
rnhmjoj has quit [Changing host]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
smatting has joined #nixos
<{^_^}>
[nixpkgs] @vcunat opened pull request #80112 → glibc: use python3Minimal instead of python3 → https://git.io/JvlZz
Chiliparrot has joined #nixos
v88m has joined #nixos
nuncanada has joined #nixos
fendor has quit [Remote host closed the connection]
hyper_ch2 has quit [Remote host closed the connection]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
hyper_ch2 has joined #nixos
vidbina has joined #nixos
cryptowest has quit [Remote host closed the connection]
sbetrium has quit [Quit: sbetrium]
Makaveli7 has quit [Quit: WeeChat 2.7]
smatting has quit [Ping timeout: 265 seconds]
brano543 has joined #nixos
smatting has joined #nixos
<{^_^}>
[nixpkgs] @pasqui23 opened pull request #80113 → StevenBlack-hosts: init at 2.5.52 → https://git.io/JvlnP
<brano543>
Hi guys, I have a question how should I deal with sources which always use the same name, but their content might change. For instance I need to use http://osmdata.openstreetmap.de/download/water-polygons-split-3857.zip, but how do I use this when Nix always expects to compare the sha256, but this might change when the file gets updated.
sbetrium has joined #nixos
<{^_^}>
[nixpkgs] @rnhmjoj opened pull request #80114 → nixos/boot: add option to disable initrd → https://git.io/Jvlny
dingenskirchen has quit [Remote host closed the connection]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
smatting has quit [Ping timeout: 272 seconds]
<gchristensen>
(bad) pro tip if you're trying to run a bash script which uses /usr/bin/ ... blah blah blah all over the place, shim them and move on ;) /bin/sudo() { sudo "$@" }
brano543 has quit [Remote host closed the connection]
Chiliparrot has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<sphalerite>
gchristensen++ thanks I hate it
<sphalerite>
but also love it
<gchristensen>
you can of course do this the other way too
<gchristensen>
`builtins` and `command` can get around this, but of course, nothing is stopping you from redefining the builtin and command functions :)
<krackout>
hello to all. I'd like to make an overlay for firefox, in order to make it ALSA only. I use Nix package manager on Debian, alsa only system and currently have no sound from nix firefox
<krackout>
I made this file, .config/nixpkgs/overlays/firefox-alsa-overlay.nix
<rnhmjoj>
krackout: the options are called alsaSupport and pulseaudioSupport
<krackout>
error: syntax error, unexpected '}', expecting ';', at /home/o/.config/nixpkgs/overlays/firefox-alsa-overlay.nix:4:54
<krackout>
oh, thank you rnhmjoj
<krackout>
Any idea on the proper syntax?
<lassulus>
false;
<lassulus>
And true;
<lassulus>
Stuff in { needs to be terminated with ;
<krackout>
ok, got it lassulus, I'll give it a try
alexherbo2 has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
sbetrium has quit [Quit: sbetrium]
xkapastel has quit [Quit: Connection closed for inactivity]
<rnhmjoj>
krackout: i also think you may have to do: pkgs.wrapFirefox (firefox-unwrapped.override {...})
alexherbo2 has quit [Client Quit]
gustavderdrache has joined #nixos
<krackout>
You mean, inside the firefox-alsa-overlay.nix file rnhmjoj ?
hyper_ch2 has joined #nixos
<rnhmjoj>
krackout: instead of overriding firefox, which is a wrapper around the real package firefox-unwrapped you may have to override the latter and then call wrapFirefox on the result
<krackout>
error: syntax error, unexpected $end, at /home/o/.config/nixpkgs/overlays/firefox-alsa-overlay.nix:5:8
nfip^ has joined #nixos
<rnhmjoj>
i think i forgot to close the first brace
<krackout>
let me see
<krackout>
rnhmjoj, Great! No errors!
<krackout>
thank you!
<rnhmjoj>
no problem, so you have audio issues with firefox? i don't use firefox myself but know other reported this as well
<krackout>
rnhmjoj, yes, mozilla hard-coded pulseaudio only in the recent versions of firefox. The alsa code is still there unmaintained. So you can build firefox using alsa.
<krackout>
firefox on debian uses alsa, but debian has only firefox esr (older version) on its repos. So I use Nix Firefox, for using latest version. Alsa was supported until v70 I think, but no Nix Firefox also looks for pulse
<krackout>
*but now Nix Firefox
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has joined #nixos
chimay has quit [Ping timeout: 272 seconds]
luelista has quit [Quit: WeeChat 1.9]
luelista has joined #nixos
dingenskirchen1 is now known as dingenskirchen
luelista has quit [Client Quit]
luelista has joined #nixos
cfricke has quit [Quit: WeeChat 2.7]
nschoe has quit [Ping timeout: 260 seconds]
fergus has joined #nixos
<fergus>
If I'm trying to add a substituter to nix on a non-NixOS Linux system, is /etc/nix/nix.conf still what I want to edit?
<rnhmjoj>
crackout: so, did disabling pulseaudio restored audio for you? i was aware that alsa was unmaintained but it has been like that for a while and it was working
<evanjs>
clever: so with your RPI stuff, and more specifically, the pure initrd system, is it possible to get EFI functionality without a full NixOS system? I guess manual entries like your recovery image might be something to look at?
<krackout>
rnhmjoj, unfortunatelly not...
hyper_ch2 has quit [Remote host closed the connection]
<krackout>
firefox installed, it opens, but no sound. I see the same problem on about:support page,
waleee-cl has quit [Quit: Connection closed for inactivity]
<krackout>
Audio Backend (remote error)
<edef>
fergus: yep
hyper_ch2 has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
hyper_ch2 has quit [Remote host closed the connection]
ddellacosta has joined #nixos
<rnhmjoj>
crackout: did you try an older version? maybe the esr or firefox from nixos 19.03
nikola_i has joined #nixos
<ornxka>
is it normal to have a nix store of 100+GB even after a nix-store --gc
<buckley310>
ornxka, no
<ornxka>
ah
<buckley310>
try `sudo nix-collect-garbage -d`
<edef>
(this will delete old generations of your profiles)
<nschoe>
Hi everyone, I'm trying to launch qtah-examples. It compiled fine, no error, but when trying to launch qtah-examples, it fails with "qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in " and "This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.". But it works okay with a friend. Is there smth in my env' that is somehow messing up with Qt?
<Guest54>
cleverca22: you there?
<Guest54>
clever: *
slyfox has joined #nixos
<clever>
Guest54: yes
<Guest54>
I'm now an IT consultant.
<clever>
Guest54: you are also still listed as a guest in irc
<Guest54>
I'm thinking about buying a high-end notebook to help me with my demands.
<Guest54>
You think it's worth it?
<Guest54>
I know you to have some beast machines.
<Guest54>
> you are also still listed as a guest in irc
<{^_^}>
error: syntax error, unexpected IN, expecting ')', at (string):277:38
<Guest54>
I'm shy?
nikola_i has joined #nixos
ryanartecona has joined #nixos
growpotkin has joined #nixos
c0c0 has quit [Quit: WeeChat 2.6]
civodul has joined #nixos
shibboleth has quit [Quit: shibboleth]
philr has quit [Ping timeout: 260 seconds]
cole-h has joined #nixos
kleisli has joined #nixos
<evanjs>
So if I am building a package with e.g. pkgs(Musl), and I use autoPatchelfHook, I take it pkgsMusl.callPackage is what I would want, vs e.g. stdenv = pkgsMusl?
<evanjs>
**when I want a package to be built against musl, rather
<evanjs>
The other libraries fail to find what they need, otherwise
knupfer has joined #nixos
waleee-cl has joined #nixos
<NinjaTrappeur>
Just discovered writers.* more specifically writers.writeHaskell. That's super handy! <3 lassulus
phreedom_ has quit [Quit: No Ping reply in 180 seconds.]
phreedom has joined #nixos
<evanjs>
resolved my musl issue earlier. Indeed, if I am packing an app for use on a musl-based system, I do need to use e.g. pkgsMusl.callPackage rather than simply passing in a musl stdenv, which makes sense, especially since autoPatchelfHook and etc is used
drakonis has joined #nixos
vykook has joined #nixos
<Taneb>
I'm getting a bunch of eval errors in local Hydra "restarting hydra-eval-jobs after job 'blah' because heap size at 4823742424 bytes"
<Taneb>
What's the root cause of this?
<Taneb>
And how do I stop it happening?
<Taneb>
(re-evaluating makes it go away but it rears its head again elsewhere)
<{^_^}>
[nixpkgs] @jonringer opened pull request #80126 → python38Packages.nipype: mark broken → https://git.io/Jvl0i
smatting has joined #nixos
<evanjs>
If I am using a modulesClosure to include some modules in an initrd image (via makeInitrd), is there a way to pull out of tree modules in? or is rootModules restricted to modules that are included with the kernel?
vykook has quit [Ping timeout: 265 seconds]
magnetophon has joined #nixos
<evanjs>
I've ensured I can reach my module from the kernel/kernelPackages I am using
<{^_^}>
[nixpkgs] @brano543 opened pull request #80127 → corrected postgresql support for gdal 3.0+ → https://git.io/Jvl0p
<evanjs>
okay, I worked around this "issue" for now by simply building what I need into the kernel and then adding the wifi driver I need to modprobe as the sole /lib/modules item in the makeInitrd call
<evanjs>
So I ended up getting the w722n working... using TP-Link's driver, not Realtek, as I needed AP mode, which doesn't seem to be supported in the 8188eu driver in staging. Is such a vendor-specific driver less helpful/clean to upstream into nixpkgs?
<evanjs>
Totally fine either way, it's just a nasty expression (unzip the zip in the zip archive... etc)
<raywan>
hi; trying to understand how to use `nix-env` to query: I'm able to install a package `nix-env -iA nixpkgs.darwin.trash`, but unable to query the package using `nix-env -qaP | grep -i trash` -- infact I'm unable to query for <any> package under `nixpkgs.darwin`. what am I doing wrong?
dm9 has quit [Quit: WeeChat 2.7]
Sigma has quit [Ping timeout: 268 seconds]
Sigma has joined #nixos
<raywan>
yet I see the package listed here `~/.nix-defexpr/channels/nixpkgs/pkgs/top-level/darwin-packages.nix` and`darwin = callPackage ./darwin-packages.nix { };` imported here `.nix-defexpr/channels/nixpkgs/pkgs/top-level/all-packages.nix` -- does nix-env query not transverse these imports?
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #80107 → androidenv build-tools: fix old versions under linux → https://git.io/JvlsC
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JvluK
hyper_ch has joined #nixos
mexisme has joined #nixos
opthomasprime has quit [Ping timeout: 260 seconds]
opthomasprime has joined #nixos
<fajP>
hello all, is it possible to create a hydra release.nix file that will take an existing nixpkgs and override the src to ../. of the git repository and build that?
<fajP>
anyone got an example as such? I feel something like that would be a common use case
<Dandellion>
so im trying to override a file in another package, I tried doing symlinkJoin and having the new file in one of the packages, but that didn't seem to work no matter the order I put them in the paths list
<Dandellion>
I then tried buildEnv but that doesn't seem to actually produce a package or anything
<Dandellion>
what would the "right" way to do this be?
<nrdxp[m]>
Dandellion: can you post the code or a link?
<gchristensen>
each machine does `imports = [ ./that/wireguard.nix ];`
<slabity>
Awesome, that's exactly what I was looking for gchristensen++
<{^_^}>
gchristensen's karma got increased to 208
<gchristensen>
I might have a slightly different version doing something more ... let me see
<gchristensen>
eh, I have one with slight changes but not too interesting
oever is now known as vandenoever
<gchristensen>
it adds `peername.wg0` to each machine's hosts file for its peers, and adds a systemd job to restart adding the peer until it works to fix over a stupid bug I have
leothrix has joined #nixos
morr has quit [Quit: WeeChat 2.3]
morr has joined #nixos
<{^_^}>
[nixpkgs] @rnhmjoj merged pull request #79638 → clearlyU: split outputs in out and otb → https://git.io/JvcZT
<samueldr>
yeah, those names are extremely heavy with old tech names
<gchristensen>
suuuper heh
<gchristensen>
this devices.txt has been so helpful for me
leothrix has quit [Ping timeout: 240 seconds]
<simukis__>
I’m trying to `buildEnv` with `pkgconfig` and a couple of libraries in it. I tried both `paths = [pkgconfig ...]` and `buildInputs = [pkgconfig ...]` and various combinations of the two and pkgconfig can never see the libraries. How can I get it to work?
simukis__ is now known as simukis_
<clever>
simukis_: pkgconfig must be in the nativeBuildInputs, buildEnv will break the setup hook
<clever>
simukis_: what nix file are you using and what command are you running?
<eacameron>
how do I know if this vultr server is uefi?
<clever>
eacameron: if you booted with efi, then the efivars should be mounted un `mount`
<cole-h>
If `efivar -l` succeeds, that's another indicator, I believe
<clever>
simukis_: for example, look at this: nix-shell -p pkgconfig ncurses --run 'echo $PKG_CONFIG_PATH'
<simukis_>
I see. `pkgconfig.withPackages [...]` would be dope I guess.
<eacameron>
I'd like vultr to have have entry in the virtualisation section in nixpkgs, but I'm nowhere near familiar enough with this stuff to be confident my config would be correct in general.
ngerstle[m] has joined #nixos
<clever>
simukis_: the setup hooks are supposed to automate it for you, so you dont need to do that
ivan has joined #nixos
<simukis_>
well, automate if you’re using `nix-shell` or `mkDerivation`, neither of which are true in my case.
<clever>
simukis_: why cant you use nix-shell?
<simukis_>
because the use-case for this environment is not interactive.
<eacameron>
samueldr: I must have done this wrong. It's failing to install GRUB. Something about Embedding not possible and only being able to use blocklists...
<samueldr>
eacameron: did you format as GPT or MBR?
cosimone has quit [Quit: Quit.]
<clever>
simukis_: what stops non-interactive things from just using `nix-shell -p foo --run bar` ?
<samueldr>
grub, when the target disk is formatted as GPT, will require a small "bios boot" partition to hold the boot program
lovesegfault has joined #nixos
<samueldr>
on MBR, it (ab)uses the gap between the MBR and the first partition
<dminuoso>
gchristensen: Well I dont want to have to log into each machine separately.
alexherbo2 has joined #nixos
zeta_0 has joined #nixos
<dminuoso>
Or are you suggesting a plain `nixops ssh-for-each`?
<Yaniel>
there is a setting for scheduled garbage collection iirc
<Yaniel>
in nixos*
<gchristensen>
so, like, you want to delete old NixOS profiles, or just a general GC?
alexherbo20 has quit [Ping timeout: 272 seconds]
<dminuoso>
gchristensen: Both, I suppose.
leothrix has joined #nixos
<dminuoso>
I mean I can just do it with `ssh-for-each` I suppose
<dminuoso>
It just seems a bit too imperative for a task that every nixops user should be doing at some point if they maintain a large enough fleet of small machines.
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<Palpares>
hi. I am trying to install several haskell tools (gitit, or tidal cycles), and for both, I get that error "the cabal: The program 'ar' is required but it could not be found"
<cole-h>
You'll need `binutils`
<Palpares>
thks. how could I know that myself ?
<cole-h>
Only reason I knew was because I'm on Arch and I just ran `pacman -F ar` :P
<{^_^}>
[nixpkgs] @wavewave opened pull request #80143 → ogdf: init at 2020.02 → https://git.io/JvlwF
mexisme has joined #nixos
nuncanada has quit [Read error: Connection reset by peer]
mexisme has quit [Ping timeout: 240 seconds]
<Palpares>
cole-h: ^^ arch still usefull
<dminuoso>
What's the canonical way to set ulimits in nixos?
<{^_^}>
[nixpkgs] @jonringer pushed commit from Michael Brantley to master « pythonPackages.ydiff: init at 1.1 »: https://git.io/Jvlrm
<dminuoso>
makefu: Ah pam, didnt think to look there. Thanks
<m3thos>
hello, what's the equivalent of /etc/rc.local for nixOS ? I wanna run some custom commands on startup.. (basically, I want to put all the 12 disks in low-powermode)
<dminuoso>
m3thos: You'd usually use systemd units
<makefu>
dminuoso: for systemd services, check out servicename.serviceConfig.LimitNOFILE and similar
<makefu>
m3thos: there is also `system.activationScripts` which runs on every activation of the system configuration (e.g. reboot), however this is somewhat frowned upon ( https://nixos.org/nixos/options.html#activationscripts )
<makefu>
systemd services would be the preferred way
<ar>
,locate bin ar
kapil_ has quit [Quit: Connection closed for inactivity]
<{^_^}>
Found in packages: binutils-unwrapped, llvmPackages.bintools
<ar>
palpares: ↑
<cole-h>
Now how does one do that without IRC?
<dminuoso>
makefu: Do you mean `security.pam.services.<name?>.limits` rather?
<{^_^}>
[nixpkgs] @btlvr opened pull request #80144 → fixed QT problem → https://git.io/Jvlr4
<makefu>
dminuoso: you can always override and extend the systemd service by addressing it directly using `systemd.services.<servicename>.serviceConfig.whateveryouwant` :)
<dminuoso>
Ah mmm
<m3thos>
makefu: your script looks just like the right thing. where does the "allDisks" variable come from ? (I'm an ignoran on the nix language)
<mbrgm>
hey! seems like systemd enabled some hardening features, which cause the acme state directory to live under /var/lib/private. this dir is owned by root with 0700, so the 'group' feature of acme cert definitions becomes pointless, as users other than root cannot traverse to the cert directory. is there a preferred way for dealing with this?
<Palpares>
,locate bin z
<{^_^}>
Found in packages: z-lua, ruby-zoom
<Palpares>
cole-h: how you got running nix-locate so fast. still building the database after 10 minute on my laptop. what hardware are you using
<Dandellion>
to switch out a single file in a package I ended up doing this: