<{^_^}>
[nixpkgs] @matthewbauer merged pull request #69002 → pianobar: enable on darwin → https://git.io/JeOQQ
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JeO70
<contrun[m]>
What is the easiest way to run bundle for ruby? I want to bundle install without manually writing a .nix file. Is that possible? Currently bundle yells at me with To install the missing version, run `gem install bundler:2.0.2`.
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 276 seconds]
<craige>
Ranger looks pretty good though. I'd guess it would used a plugin for Vim(?). If that's correct it could be called the same was as any other Vim plugin.
captn3m0 has quit [Ping timeout: 265 seconds]
<Guest66>
Or just exhibiting weird behavior when I open a directory with vim.
<craige>
ah, so you;ve got it working, just not the way you expected.
<Guest66>
Yeah.
<Guest66>
I cd a dir and open a file with it and when I try to navigate the file
<Guest66>
(with e.g Up, Down)
<Guest66>
The navigation gets messy.
<Guest66>
vim "erases" lines (doesn't acttually delete them), "jumps" around etc.
<slack1256>
Guest66: There is also the #vim channel that might help you (I think they also help with nvim).
<Guest66>
And it only happens if I cd a dir with vim + ranger. If I use ranger for it it's ok.
<Guest66>
slack1256: I think #vim requires authentication. xd
<slack1256>
Authenticate! it is worth it.
<Guest66>
Man. x.x
mexisme has quit [Ping timeout: 276 seconds]
<Guest66>
Too much of a hack to just :e! in augroup ranger?
<Guest66>
Seems to fix it.
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @orivej to master « python.pkgs.scikitlearn: 0.20.3 -> 0.20.4 »: https://git.io/JeO7h
m0rphism has quit [Ping timeout: 245 seconds]
Guest66 has left #nixos [#nixos]
exadeci has joined #nixos
<{^_^}>
[nixpkgs] @disassembler opened pull request #69005 → linuxPackages.ply: add rsync to native build inputs → https://git.io/JeO5t
leo_ has joined #nixos
leo_ has left #nixos [#nixos]
Guest66 has joined #nixos
<Guest66>
I solved it.
<Guest66>
augroup ranger :redraw! is a quickfix.
sb0 has joined #nixos
Guest66 has left #nixos [#nixos]
<{^_^}>
[nixpkgs] @marsam opened pull request #69006 → mkvtoolnix: fix build with clang → https://git.io/JeO5m
drakonis1 has quit [Quit: WeeChat 2.4]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}>
[nixpkgs] @lattfein opened pull request #69007 → station: init at 1.49.0 → https://git.io/JeO5s
drakonis_ has joined #nixos
vonfry has quit [Quit: WeeChat 2.4]
mexisme has joined #nixos
drakonis has quit [Ping timeout: 264 seconds]
gyroninja has joined #nixos
init_6 has quit []
rmeis has joined #nixos
endformationage has quit [Quit: WeeChat 2.5]
hc has quit [Ping timeout: 245 seconds]
nexgen has joined #nixos
hc has joined #nixos
slack1256 has quit [Remote host closed the connection]
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
Guest66 has joined #nixos
<Guest66>
Is there a way to dinamically update a configuration set?
<cdepillabout>
When I try to run konversation (a KDE IRC client) from a nix-shell, I get a message on the console about the standard icon theme "breeze" not being able to be found. Does anyone know how to make sure KDE applications can see an icon theme? I tried making sure the breeze-qt5 derivation was also available in the nix-shell, but that doesn't seem to make any difference.
<{^_^}>
[nixpkgs] @cdepillabout opened pull request #69010 → konversation: make sure breeze-icons is in buildInputs → https://git.io/JeOdv
jluttine has quit [Ping timeout: 240 seconds]
<cdepillabout>
Nevermind, I think I figured it out and submitted a PR to fix it ↑
joehh has joined #nixos
cdepillabout has quit [Quit: Leaving]
jtojnar has quit [Read error: Connection reset by peer]
<joehh>
hello, any hints on how to deal with large dependencies? I'm pulling some data (~250mb) out of a 30gb file to make some derivations to be sent out via nixops
jtojnar has joined #nixos
<joehh>
It seems I have to do this outside of nix, but is there any way to do it within?
abathur has quit [Ping timeout: 240 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever>
ctp: why do you want to entirely delete the package? it shouldnt be harming anything
palo1 has joined #nixos
cdepillabout has joined #nixos
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
cdepillabout has quit [Client Quit]
<ctp>
i write a custom installer. if someone cancel one of the install steps it should rollback to exactly same state as it was in before the installer was launched.
<Ariakenom>
clever: thanks. no swap so that's not an issue
<clever>
sb0: ive also looked into the source, binary_cache_secret_key_file is used by the perl code, when hydra itself as acting as a binary cache (over http)
<clever>
sb0: but store-uri is used by the c++ code, when the queue-runner is copying artifacts into whatever the store-uri is
<sb0>
okay, but then why does it say it's deprecated?
<sb0>
and especially "ignored" when it is not
<clever>
sb0: somebody forgot to update the perl code
<clever>
sb0: the official hydra.nixos.org has also disabled that perl code, since it now uploads everything to S3 and is configured to not act as a cache
<sb0>
so the solution is to update the perl code so that it takes store_uri into account and actually ignore binary_cache_secret_key_file
<sb0>
?
<clever>
sb0: probably
<{^_^}>
[nixpkgs] @petabyteboy opened pull request #69015 → qt5.12: Add patches for QTBUG-73459 and QTBUG-69077 (19.09) → https://git.io/JeObj
gxt has quit [Ping timeout: 260 seconds]
Walker3R has joined #nixos
vyorkin has quit [Remote host closed the connection]
vyorkin has joined #nixos
logzet has joined #nixos
Shados has quit [Quit: Shados]
Ariakenom has quit [Remote host closed the connection]
xepyhr1998 has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 245 seconds]
zupo has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
<{^_^}>
[nixpkgs] @volth opened pull request #69016 → system.extraSystemBuilderCmds: work around length limit → https://git.io/JeONl
zupo has quit [Client Quit]
inkbottle has quit [Ping timeout: 245 seconds]
inkbottle has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
orivej has joined #nixos
fusion809 has joined #nixos
<Nyanloutre[m]>
hello, does anyone have experience with Wireguard on NixOS ?
<Nyanloutre[m]>
I have trouble using the wireguard tunnel as my default route
<Nyanloutre[m]>
I can add specific public IPs with no problems but as soon as I use "0.0.0.0/0" my client connection break
dycan has joined #nixos
<dycan>
hi all, I use nixos-unsable channel. But I keep encountering haskell packages "marked as broken" when nix-instantiate my yesod project. What did I do wrong?
<shyim>
Hey, sometimes i have an issue where my pc freezes. I am using the "latest" kernel . Has someone an idea?
eddyb has joined #nixos
peti has joined #nixos
<{^_^}>
[nixpkgs] @volth opened pull request #69018 → ammonite: add scala-2.13 version → https://git.io/JeONN
<peti>
Hi there. When I pass a --profile=foobar flag to nixos-rebuild, is there any way to see that value inside of configuration.nix? I would like to parameterize the system's configuration based on the profile I'm building. I realize that I could use different top-level configuation.nix files by passing "-I nixos-config=...-foobar.nix" along with --profile, but that seems awkward. Is there any better solution?
<peti>
My use case is that I'd like to be able to boot my laptio with the Optimus NVidia chipset enabled or disabled depending on the profile I am booting.
<eddyb>
does anyone know why `glxinfo` might fail with `Error: couldn't find RGB GLX visual or fbconfig`?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever>
peti: i checked the source in the above, and it looks like there is no way for you to access that, and the vars that do contain the value arent exported
<{^_^}>
[nixpkgs] @ttuegel merged pull request #69015 → qt5.12: Add patches for QTBUG-73459 and QTBUG-69077 (19.09) → https://git.io/JeObj
<{^_^}>
[nixpkgs] @ttuegel pushed 2 commits to staging-19.09: https://git.io/JeOAv
<peti>
clever: I suppose it wouldn't be hard to pass "--argstr profileName foobar" to nix-build in that script ... could be done unconditionally, to be honest. The default would simply be "system".
gagbo has joined #nixos
<eddyb>
wait I just did `nix-env -i glxinfo` and it works now. I suppose this betrays a significant misunderstanding on my part wrt how libGL & friends work
kleisli has joined #nixos
<clever>
peti: but that --argstr would be passed to nixos/default.nix, not configuration.nix
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #68366 → Install git’s bash completion so that it is loaded on demand → https://git.io/JeqaN
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/JeOps
orbekk has quit [Ping timeout: 265 seconds]
dbyte has joined #nixos
orivej has joined #nixos
orbekk has joined #nixos
jgt has joined #nixos
mkoenig has quit [Remote host closed the connection]
mkoenig has joined #nixos
veske has joined #nixos
dbyte has quit [Ping timeout: 265 seconds]
dbyte has joined #nixos
nschoe has quit [Ping timeout: 240 seconds]
suzanne has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
joehh has quit [Ping timeout: 268 seconds]
hoijui has quit [Ping timeout: 250 seconds]
bahamas has joined #nixos
nschoe has joined #nixos
<bahamas>
how do I find the location of a file in nixos? specifically pg_hba.conf in this case
<sphalerite>
bahamas: what are you trying to achieve by finding it? Because editing it, wherever it is, will be a bad idea
<teto>
bahamas: you can use nix-locate or the bot
<teto>
{^_^}: ,locate pg_hba.conf
<teto>
,locate pg_hba.conf
<{^_^}>
Found in packages: postgresql94, postgresql95, postgresql96, postgresql_10, postgresql_11
<Ariakenom>
I've been trying to figure out why clementine starts on login on my nixos plasma5. I have tried to uninstall it . for some reason it shows up in nix-store --gc --print-roots | grep clementine
<Ariakenom>
does anyone have troubleshooting tips
<sphalerite>
Ariakenom: where was it previously installed? How did you try to uninstall it?
<bahamas>
sphalerite: I want to see what it contains. I'm using the code found here https://nixos.wiki/wiki/PostgreSQL, but for some reason I get "psql: FATAL: role "vagrant" is not permitted to log in" when I try to login
zupo has joined #nixos
<bahamas>
of course, I'm creating role vagrant and database vagrant
<Ariakenom>
I think nix-env --install and --uninstall. might have been adding removing from configuration.nix. I dont remember, it was a while ago
endformationage has joined #nixos
<sphalerite>
bahamas: ah, fair enough — it should be in postgres's data directory, which is by default a subdirectory of /var/lib/postgresql
<sphalerite>
Ariakenom: Is it included in the output of `nix-env -q`?
<Ariakenom>
sphalerite: no
<orbekk>
bahamas: my regular workflow would be 'systemctl cat postgresql', and dig around there to find its configuration files
<sphalerite>
Ariakenom: what about `nix-store -qR /run/current-system | grep clementine` ?
<Ariakenom>
sphalerite: nothing
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite>
Ariakenom: ok, one more try for a nixy path where it might live… is it in _sudo_ nix-env -q?
xacktm has quit [Ping timeout: 264 seconds]
nschoe has quit [Quit: Program. Terminated.]
<sphalerite>
Ariakenom: failing that, it's probably in some weird stateful path. Try `grep -r clementine ~/.config ~/.local`
<Ariakenom>
sphalerite: nope that's empty
<Ariakenom>
that was about the previous command
<gchristensen>
sphalerite: (redirect from -dev about znapzend) I'm surprised you keep so many locally and so few remotely, which is the opposite of what I want to do. can you tell me about that?
<gchristensen>
just not enough space?
<bahamas>
orbekk: I guess I needed to remember that postgres stores everything in PGDATA for that to be useful
<sphalerite>
gchristensen: I keep infrequent snapshots for a long time remotely, and frequent snapshots for a short time locally
rndd has joined #nixos
rndd has quit [Client Quit]
<Ariakenom>
sphalerite: that turns up some .config/Clementine/Clementine.conf .config/plasmashellrc .config/ksmserverrc
<gchristensen>
I wonder if the frequent snapshots remotely (with a low retention remotely) would be good so you're transfering small amounts of data regularly, instead of one big xfer once a day (and then you have closer to an "up-to-the-minute" snap if something fails bad)
<sphalerite>
Ariakenom: check the latter two
<sphalerite>
gchristensen: znapzend does do that, essentially — it sends _all_ the snapshots more recent than the most recent one retained according to the config
<gchristensen>
oh :) I should read more!
<bahamas>
how do you enable tab completion in nixos?
Ariakenom has quit [Remote host closed the connection]
hmpffff has quit [Quit: Bye…]
Ariakenom has joined #nixos
<Ariakenom>
sphalerite: The references looked like "restart because it was on during last session". so i tried to stop it and then restart but it still started
<orbekk>
bahamas: I'm just saying that's generally a useful place to start, because the startup script often points to the location of the configuration files
<bahamas>
orbekk: yes, you're right
<sphalerite>
Ariakenom: does it still show up in those files?
<bahamas>
in postgres' backend-initScript, I have "GRANT ALL PRIVILEGES ON DATABASE vagrant TO vagrant;" but in the logs only "GRANT" is shown. also, the vagrant database is owned by postgres instead of vagrant. anyone know why?
<Ariakenom>
sphalerite: yes under the same sections afaict
<Ariakenom>
sphalerite: ok I'll try to just remove them from those files
Ariakenom has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @romildo opened pull request #69026 → enlightenment.enlightenment: add dependency on bc → https://git.io/JeOhy
Ariakenom has joined #nixos
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
jump_spider has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.6]
<gchristensen>
thank you infinisil, sphalerite. down from 96% full to 50% full
logzet has quit [Ping timeout: 246 seconds]
<Ariakenom>
sphalerite: Not entirely sure but I think it
<sphalerite>
gchristensen: \o/
Overtion has joined #nixos
<Ariakenom>
it's no longer starting because I actually shut it down this time. the time before I did it from the kde bar and I think it just went away from the bar
<Ariakenom>
it still appears in plasmashellrc as "1 shell_clementine" for some reason. I did remove it once
<gchristensen>
pretty cool that 19.09's systemd does CPU and network accounting
suzanne has quit [Ping timeout: 265 seconds]
emptyflask has joined #nixos
<Ariakenom>
what may plasmashellrc be generated from ...
<Ariakenom>
what does the "{memory:9} ->" mean in "nix-store --gc --print-roots"?
{^_^} has quit [Remote host closed the connection]
<duncan>
Hmm.. I'm having a wee bit of trouble with the `diceware` package. Not sure if this is my fault. I'm using nixpkgs-unstable: https://paste.debian.net/hidden/638ba101/
<duncan>
(on darwin)
zacts has joined #nixos
<duncan>
It looks like it might be an issue with a dependency in the environment but I confess I don't know.
{^_^} has joined #nixos
vyorkin has quit [Remote host closed the connection]
<Taneb>
It'd be nice if Hydra had a "why isn't this build running right now?" feature
bahamas has quit [Quit: leaving]
orivej has quit [Ping timeout: 265 seconds]
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « ghc: Revert "compile with DWARF support by default" »: https://git.io/JeOjE
dbyte has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @worldofpeace pushed 8 commits to master: https://git.io/JeOja
<sphalerite>
Ariakenom: it means that it's still referenced by some running process
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
<Ariakenom>
sphalerite: ah ok
<Ariakenom>
hey clementine is now gone from gc roots. I dont understand why
<glasserc>
Is there a way to write a derivation that doesn't have a `src` ?
<sphalerite>
glasserc: yes, just make sure the normal unpackPhase doesn't run, by providing buildCommand (if you want to specify all the commands that get run for building your derivation) or unpackPhase = ":" (if you only want to stop it from trying to unpack src).
dbyte has quit [Read error: Connection reset by peer]
dm9 has joined #nixos
<glasserc>
sphalerite: Cool, thanks!
Shados has joined #nixos
dbyte has joined #nixos
orivej has joined #nixos
dbyte has quit [Ping timeout: 265 seconds]
Ilya_G has joined #nixos
Ariakenom has quit [Remote host closed the connection]
<Ilya_G>
I am using `nixos/nix` docker and I am trying to add a trusted CA to it. I placed a cert for trusted certificate into `/usr/local/share/ca-certificates/` to no avail. When bash into the running docker container I can't either curl or nix-prefetch-url the path I am trying to get.
erasmas has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
<{^_^}>
[nixpkgs] @ryantrinkle pushed 19 commits to mine-2019-09-18: https://git.io/JeOj7
growpotkin has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
<Ilya_G>
sphalerite: That being said I am pulling data down from a preset git repo over HTTPS and the cert I am trying to add is our internal CA. Does your answer still apply?
<sphalerite>
Ilya_G: yes and no — nix will use _only_ the certs from the file specified, so you might need to bundle it along with the standard certs into one file, if you need non-internal-CA certs.
Shell has joined #nixos
dbyte has joined #nixos
<Ilya_G>
sphalerite: Isn't there a way to add a custom CA certificate to a certificate store?
mexisme has quit [Ping timeout: 245 seconds]
qyliss has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
<sphalerite>
Ilya_G: I'm sure there is, I just don't know how
<__monty__>
Is there a way to bring only a single binary from an expression into scope in a nix-shell? In particular, I need pod2man but I don't the perl binary for example.
<infinisil>
__monty__: I guess if you just need a single binary you can do `export PATH="$(nix-build --no-out-link '<nixpkgs>' -A pod2man)/bin:$PATH"`
<infinisil>
(A bit verbose though)
<manveru>
that'd still add all binaries from that package
<infinisil>
Ah
<manveru>
so you have to make a wrapper, i guess
<{^_^}>
[nixpkgs] @worldofpeace opened pull request #69031 → nixos/xdg/icons: match XCURSOR_PATH spec → https://git.io/Je3eC
<infinisil>
I understood that __monty__ didn't want to have other binaries from the nix-shell like gcc and such
<infinisil>
It would be cool if NixOS had some binary installation option
<infinisil>
Like `environment.binaries.bash = pkgs.bash`
<Taneb>
infinisil: how would that differ from what currently exists?
<infinisil>
environment.systemPackages installs all binaries of a package
<infinisil>
My PATH is bloated with all kinds of binaries I never need because of that
Overtion has left #nixos [#nixos]
nixnothing has joined #nixos
<Taneb>
And what would this do differently?
growpotkin has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @peti opened pull request #69032 → ghc: revert "compile with DWARF support by default" → https://git.io/Je3eB
<infinisil>
It would only install the binaries you tell it to
MmeQuignon has joined #nixos
zupo has joined #nixos
<infinisil>
E.g. with bash it would only install the `bash` binary, not `sh`
<infinisil>
With `environment.binaries.bluetoothctl = pkgs.bluez` it would only install ${pkgs.bluez}/bin/bluetoothctl, and none of the other dozend binaries I never need
wfranzini has quit [Remote host closed the connection]
<immae>
I understand your idea but your syntax is strange infinisil
<Taneb>
I think I follow
<infinisil>
immae: Got a better syntax?
<Taneb>
I'm worried that this would cause breakages
dermetfan has quit [Ping timeout: 268 seconds]
Myhlamaeus has quit [Remote host closed the connection]
<immae>
I was thinking of something reversed (i.e. when installing bluez you have a mechanism to "override" the derivation to say that you want only ${pkgs.bluez}/bin/bluetoothctl in it), which seems more generic (can be used in non-nixos or non /bin) than your `environment.binaries`
<immae>
But actually I’m starting to understand the rationales behind environment.binaries and it seems neat too
Ilya_G has quit [Remote host closed the connection]
<cransom>
it'd probably look something like `security.wrappers` from configuration.nix, but with none of the security settings involved. you'd have to state with binary you wanted from whichever derivation.
erasmas has quit [Quit: Lost terminal]
erasmas has joined #nixos
Guest66 has joined #nixos
<Guest66>
I'm trying to overlay firefox to use a custom user.js configuration
<Guest66>
Anyone tried that?
growpotkin has joined #nixos
judson__ has joined #nixos
judson has joined #nixos
Ariakenom has joined #nixos
zacts has quit [Quit: WeeChat 2.4]
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage2nix: disable builds that break evaluation on Hydra »: https://git.io/Je3eH
<{^_^}>
[nixpkgs] @peti merged pull request #69032 → ghc: revert "compile with DWARF support by default" → https://git.io/Je3eB
<{^_^}>
[nixpkgs] @peti pushed 31 commits to haskell-updates: https://git.io/Je3ed
<__monty__>
What infinisil described is kinda what I'm after. Installing moreutils for vidir brings a ton of other binaries in scope. I don't want to accidentally mask something else just because I need a single binary from a package.
<{^_^}>
[nixpkgs] @peti pushed 24 commits to haskell-updates: https://git.io/Je3ex
<infinisil>
immae: Oh, how about something like `filePicker { bin.bluetoothctl = pkgs.bluez; bin.bash = pkgs.bash; etc.foo = pkgs.foo; }`
<infinisil>
This would pick the file at the path `bin/bluetoothctl` from `${pkgs.bluez}/bin/bluetoothctl`
<infinisil>
And `$out/etc/foo` from `${pkgs.foo}/etc/foo`
<infinisil>
Like a more fine-grained `buildEnv`
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Je3eh
<immae>
infinisil or something like that yes :)
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « git-annex: update sha256 hash for new release 7.20190912 »: https://git.io/Je3vv
__monty_2 has joined #nixos
__monty_1 has joined #nixos
__monty_1 has quit [Client Quit]
<infinisil>
I guess it would be annoying if you had to pick out the man pages for commands like that
__monty_2 has quit [Client Quit]
<immae>
__monty__: you cannot mask something without getting an error (or at least a warning)
<immae>
infinisil nothing prevents you from takeing `${pkgs.foo}/etc/foo/` if you have `etc.foo = pkgs.foo`
<immae>
(like, directories)
<infinisil>
Yeah, but man pages are in e.g. `$out/share/man/man1/foo.1.gz`
<immae>
ah yes
<nixnothing>
so yesterday
<nixnothing>
I learned
<infinisil>
I've also thought about how it would be nice to have some better guidelines and conventions for what $out contains
<nixnothing>
nixpkgs channel has almost as many packages as debian
<infinisil>
Like man pages are there, binariies in $out/bin, but there's a lot more unwritten conventions
<infinisil>
nixnothing: It depends a lot on what gets counted, but yeah nixpkgs has a whole bunch :)
<Taneb>
nixnothing: according to repology.org, nixpkgs has considerably more :)
<immae>
infinisil in that regard I think people assume that $out is kind of equivalent to /usr, no?
<immae>
so bin, man, share, lib, and that’s about it
<immae>
(include, src)
sigmundv has quit [Ping timeout: 240 seconds]
<infinisil>
immae: Yeah that mostly works, but then there's also things like zsh/bash completions which are somewhere in /share (I think there's multiple locations even)
<infinisil>
applications, icons
<infinisil>
Licenses, html/pdf documentation
<infinisil>
And for bash/zsh completions this is important because these paths are integrated into NixOS so you can add completions just by adding them to `environment.systemPackages`
<nixnothing>
Teneb: ah, dang
<immae>
infinisil right, my assumption was a bit light :D
justanotheruser has quit [Ping timeout: 240 seconds]
<Taneb>
nixnothing: I think we might "cheat" (because repology lists both nixpkgs stable and unstable, the "not unique" count is kind of useless)
<infinisil>
No worries
evils has joined #nixos
<__monty__>
immae: Afaict that's false. I get a different version of pod2man if I enter a `nix-shell -p perl`.
zacts has joined #nixos
<immae>
__monty__: nix-shell is not "installing" anything long term
<nixnothing>
Taneb: ah, that makes sense. I was looking at the graph and scracting my heard
<{^_^}>
[nixpkgs] @peti opened pull request #69033 → drop obsolete versions of the GHC compiler → https://git.io/Je3vu
<nixnothing>
nixpkgs was way out there XD
dm9 has quit [Quit: WeeChat 2.6]
ubert has quit [Remote host closed the connection]
<__monty__>
immae: True, but it happened to be what I was talking about. Though it'd also be useful to specify exactly which binaries in a more permanent place, like configuration.nix.
<nixnothing>
unstable
erasmas has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
<nixnothing>
I've also been a big fan of dnf when I use fedora
<immae>
__monty__: if you install things with nix-env or via systemPackages (not sure of the name), then you have an error in case of collision (locally for each), then it’s like in every system : if you reorder your path (putting the path corresponding nix-env before or after systemPackages) or add things to it (nix-shell), then you will modify the precedence, that’s nothing new (and nothing I would care about as
<__monty__>
immae: I'm not sure why you're going on about this. It's not the only possible reason to limit packages to the specific binaries you actually care about. It's just *a* reason *I* would like that feature. And I'm not talking about shadowing between permanently installed things even. I'm specifically talking about temporary development shells.
<emptyflask>
/quit
emptyflask has quit [Quit: WeeChat 2.4]
drakonis_ has joined #nixos
<nixnothing>
would you all believe me if I said I have been going by nix online for years before even knowing about nixos? (and prob b4 it was a thing)
<immae>
__monty__: Ok, that’s not what I understood from your first message, sorry.
<infinisil>
nixnothing: That's impressive considering that NixOS is in focus everywhere
<nixnothing>
>_<....happy (and now very confusing) coincidence. used to be my old wow name since bc
rauno has joined #nixos
<infinisil>
Ahh, I understood that you were using Nix without ever coming accross NixOS
drakonis has quit [Ping timeout: 276 seconds]
<infinisil>
But it being your username is cool and more believable :o
<__monty__>
infinisil: Isn't that a tad optimistic about NixOS? *Maybe* people in the configuration management space have all at least heard about it. But it's not as if it's a mainstream distro.
<__monty__>
Oh.
<__monty__>
nvm
<eyJhb>
__monty__: soon it will be!
<nixnothing>
also #thatfeelwhentryingtosellotherpeopleonnix
<eyJhb>
It's easy nixnothing !
<nixnothing>
#andthenexplainingit
<infinisil>
Nix is on its way to become a decently popular distro
<infinisil>
NixOS*
<eyJhb>
I am considering if I can get some servers at AAU to start using NixOS internally at ITS
<infinisil>
Hell I'll say it's decently popular even now
<eyJhb>
Would be nice
<__monty__>
What happened to "Avoid success at all costs!?"
<nixnothing>
I like it, it solves problems by trying to solve underlying issues rather thank adding 'band-aid' obfiscation layers
Myhlamaeus has joined #nixos
<infinisil>
__monty__: Who said that?
<eyJhb>
Do NixOS not want to be successfull?
<nixnothing>
but I've found it rought to sell some ppl on b/c learing curve
<infinisil>
We should write more and better Nix tutorials
<__monty__>
infinisil: I'm pretty sure it's a requirement for something to be called "declarative."
<nixnothing>
its like how it took a while to alot of poeple to get onboard with functional programming (imo)
<__monty__>
It's still taking a while : )
<nixnothing>
It think its just waiting for people to reach they same conclusion =/
erasmas has joined #nixos
drakonis has joined #nixos
<exarkun>
How do I get certbot plugins on nixos?
<lordcirth_>
"atomic rollbacks" was all I needed to hear to just in
<lordcirth_>
jump*
<dminuoso>
18:45:09 nixnothing | but I've found it rought to sell some ppl on b/c learing curve
<__monty__>
lordcirth_: A kernel upgrade gone awry is what got me to look into it.
<lordcirth_>
The amount of screwups I could have just hit "undo" on...
<dminuoso>
nixnothing: I think the main prohibitive thing is that in order to sensibly use nixos/nixops you have to learn nix and write overlays/custom nix derivations.
<dminuoso>
nixnothing: (Because you rapidly hit edge cases of missing features, or some "doesn't quite do what you need" - and that case you are completely screwed since quick band-aids are pretty much impossible in nixos)
<nixnothing>
lordcirth_: yeas! thatsr why I converted from fedora
<eyJhb>
dminuoso: a lot of people get by, without being able to write anything nix, like me most of the time
<eyJhb>
Also why I waste hours and then infinisil just come and say "why don't you just do this?"
<infinisil>
Hehe
<nixnothing>
dminuoso: yea. its like ppl are afraid of commit to a stack, but don't realize that its more of a methodology and all the stack tools are just feautes/convenience
drakonis_ has quit [Ping timeout: 276 seconds]
<teto>
docs/UI are kinda dreadful but the pace at which it is improving is fascinating. nix 2 was a cool improvement, flakes are gonna be great, and after flakes we'll get a proper module system I believe. That will already improve things a ton
<__monty__>
Also though, as a devil's advocate, btrfs/zfs/stratis/lvm snapshots. Or, you know, conventional backups.
<dminuoso>
eyJhb: Well if you get by with what's already there that's great.
<eyJhb>
infinisil: going to convert my openvpn server tonight, sooo, hoping you will be here ;)
<nixnothing>
I use zfs too
<infinisil>
teto: I wish the new UI was actually finished though..
<dminuoso>
eyJhb: But sensible nixops requires nix competency in order to get anything right.
<dminuoso>
(Unless you have a trivial infrastructure)
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Je3fn
<infinisil>
eyJhb: I do have a bunch of experience with openvpn :D
<infinisil>
And a new module for it too
<dminuoso>
We're currently moving our first servers from manual CentOS to NixOS as an attempt to introduce declarative server description over ansible non-sense. And we already have to modify some nixos modules because things being things
<dminuoso>
infinisil: Im beginning to wonder whether that's just an artifact of an OS methodology/ecosystem that's just not designed for declarative thinking.
<dminuoso>
(GNU/Linux I mean)
<__monty__>
Yeah, I don't have a good answer yet to "X doesn't work on nixos and I need it *now*, can't afford to spend a day packaging it."
<nixnothing>
I'm sure Im gonna end up being the `have your yeard of our lord and savior nixos` guy
<dminuoso>
__monty__: Indee!
<infinisil>
dminuoso: Maybe yeah, a lot of people just think about getting their usecase working, without thinking further than that, which means we end up with mostly hardcoded service configurations
<dminuoso>
In a usual setting I could always hand-compile packages if I had to badly enough.
<__monty__>
And, "Spin up a docker/VM" isn't a satisfying solution, imo.
<nixnothing>
__monty__: containers?
<nixnothing>
ah
<infinisil>
__monty__: Is it often the case that you have to get something running *now* now, and can't affort to spend a day packaging it?
<__monty__>
infinisil: Not for me currently but that's a luxury most people lack. It's why some friends gave up on NixOS.
<infinisil>
I guess if it's something complex, it might take longer than a day, and you're not sure how long it will take, or if it's even possible without patching everything
<dminuoso>
__monty__: I think that's what Docker gets right. You get a sort of deterministic (with some discipline) method of shipping build artifacts in a standardized way, but it's utterly trivial to transfer your usual linux competency into a Dockerfile.
<dminuoso>
Which might explain why it has so much adoption.
<__monty__>
But I do often run into "This tool *might* solve my problem but I don't want to invest effort in getting it to run up front."
janneke has quit [Quit: janneke quits Mes'sing]
<nixnothing>
__monty__: maybe like sell nixos for like, longterm-stable, and concurently run another, server/vps for newer stuff
<nixnothing>
like an additional layer to staging, prod/pre-prod
<dminuoso>
infinisil: Here's an example. I switched to NixOS and then I had the problem of "I need mail and we have just outlook"
<__monty__>
Also, packaging often sucks. You have to get pretty familiar with a project's build system if you go beyond "./configure && make && make install # this always works."
janneke has joined #nixos
<dminuoso>
infinisil: I spend nearly a week trying to build a working nix derivation for hiri, in vain. I tried evolution, but that required a massive hackery of a nix derivation to make it work.
<eyJhb>
infinisil: what do you do for generating those certs? easyrsa module?
<dminuoso>
(Now you could blame that hiri is badly packaged, but at the end you could also say that "hiri would have worked out of the box on ubuntu, fedora or centos)
<infinisil>
dminuoso: Why not another mail client like thunderbird?
<dminuoso>
infinisil: thunderbird doesn't natively talk to outlook.
<dminuoso>
It requires a commercial plugin
<infinisil>
Ugh
kleisli has joined #nixos
<infinisil>
Nasty stuff
<infinisil>
But yeah, until somebody goes through the pain of packaging something like that NixOS is at a disadvantage
<infinisil>
s/NixOS/,NixOS
<infinisil>
eyJhb: Ah yeah, I actually have some text files I use to remember what to do but they're in my private repo
<eyJhb>
PRIVATE! Damn you. jk. But you don't do it automatically with NixOS then?
<dminuoso>
infinisil: In my eyes, it's that fundamental concept of a filesystem that is poison to declarative system descriptions, because filesystems are inherently stateful.
<eyJhb>
dminuoso: well, some do / in tmpfs, if that helps
<dminuoso>
(And GNU/Linux is, more than any other system, so heavily focused around the idea of "everything is a file")
<infinisil>
dminuoso: Yeah agreed, filesystems in NixOS are a bit painful..
<lordcirth_>
Well, if you go down far enough, the storage hardware is stateful. I'm not sure that trying to push that even lower than the filesystem layer is helpful.
<dminuoso>
lordcirth_: I dont mind persistent storage, but filesystems dont appear to be the right abstraction for it.
<eyJhb>
infinisil: thanks! I will look at it. Could probably do a systemd service, that just checks if those files exists, and then fire those commands
<eyJhb>
That does not make sense.. Ignore that
<infinisil>
Yeah those should be run statefully
<eyJhb>
More, initial startup then I don't care much about them, but you're right
<infinisil>
Ah
<infinisil>
Yeah you could do like the proper key request/sign thing
<exarkun>
how do I construct a mirror://pypi/... url for fetchurl? how do I know what's on the mirror and what's not?
drakonis has quit [Read error: Connection reset by peer]
<infinisil>
Where all clients send a certificate signing request (easyrsa can do that too) to the openvpn server through another secure channel
<eyJhb>
I will just copy my existing files, and use those. My only problem is my iptables are kinda... Weird.. As I do some snat/dnat for forwarding using OpenVPN. Which at some point, I will just do using autossh
<infinisil>
Then you can trigger the signing which sends the signed cert back
<teto>
exarkun: look into fetchurl/mirrors.nix
<eyJhb>
Considering doing some insecure user/pass :p
drakonis has joined #nixos
<exarkun>
teto: helps ... minimally
<exarkun>
actually, maybe interesting but not really helpful at all?
<teto>
exarkun: ok I don't get what you ask probably sry
<exarkun>
if there's some python package I want to use as a src, I wonder how to write a mirror:// url for it instead of an https://pypi.org/... url
<worldofpeace>
exarkun: why not use fetchPypi?
<exarkun>
worldofpeace: I don't know
gagbo has quit [Ping timeout: 268 seconds]
<exarkun>
why do things in nixpkgs use fetchurl instead of fetchPypi sometimes?
dbyte has quit [Ping timeout: 240 seconds]
<teto>
yeah it will generate the correct url
<teto>
exarkun: probably because of ignorance
gagbo has joined #nixos
<worldofpeace>
exarkun: because fetchPypi is only meant to fetch things from fetchPypi. anything that doesn't use it for pypi is a bug
<exarkun>
cool I'll use fetchPypi
<adisbladis>
exarkun: Even fetchPypi is an abstraction on top of fetchurl :)
kleisli has quit [Ping timeout: 250 seconds]
<exarkun>
of course
<exarkun>
abstractions are nice
<evils>
anyone here using sway?
<__monty__>
evils: Multiple, I think gchristensen for one.
<gchristensen>
yeah a bunch are (and I do, yeah)
orivej has quit [Ping timeout: 276 seconds]
boxscape has joined #nixos
<evils>
i seem to be getting further with it than i was on debian, i'm currently stuck at something that may be a keyboard issue
Bryophyllum has joined #nixos
<evils>
i've set my layout (dvorak), and that actually seems to work, but either urxvt and dmenu don't start, or some keybindings are dead
gxt has quit [Remote host closed the connection]
knupfer has joined #nixos
kleisli has joined #nixos
<alexarice[m]>
evils: have you got xwayland installed?
<alexarice[m]>
both of the things you mentioned are X programs
gxt has joined #nixos
<evils>
alexarice[m]: not that i know of, i'll look into it, thanks
<alexarice[m]>
evils: if you are on nixos the sway module will automatically install xwayland unless you override `programs.sway.extraPackages`
<evils>
i've got sway installed in my environment, xwayland was indeed the issue, i'll look into actually setting it up properly later
<evils>
another question, is there a recommended way to deal with multi-monitor setups?
gagbo has quit [Ping timeout: 258 seconds]
dbyte has joined #nixos
<{^_^}>
[nix] @zimbatm opened pull request #3097 → function-trace: always show the trace → https://git.io/Je3fb
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
gagbo has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<alexarice[m]>
evils: you literally just need `programs.sway.enable = true;` in your config
<evils>
alexarice[m]: but then it gets called automatically, wouldn't that interfere with my working i3 setup?
Zer0xp has quit [Read error: Connection reset by peer]
Zer0xp has joined #nixos
jgeerds has joined #nixos
<{^_^}>
[nixpkgs] @matthewbauer opened pull request #69038 → treewide: use libtinfo.so.5 where needed → https://git.io/Je3J1
waleee-cl has joined #nixos
hc has quit [Ping timeout: 268 seconds]
Bryophyllum has quit [Quit: Bryophyllum]
hc has joined #nixos
gagbo has quit [Ping timeout: 246 seconds]
gagbo has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
kleisli has joined #nixos
zupo has joined #nixos
Zer0xp has quit [Ping timeout: 245 seconds]
<eyJhb>
Can I have a file like.. `{ config, pkgs, lib, ... }: let something = "something"; in { somestuff = pkgs.writeblabla { text = "file"; }}; }`, and import it in another file, and rget somestuff path?
<eyJhb>
I know I can just do a plain `{ somestuff = ... }` file, but I really would like to be able to declare that variable beforehand
<eyJhb>
pst, infinisil :D
Jackneill has quit [Remote host closed the connection]
<infinisil-m>
Not sure why you have the config/pkgs/lib there
mkoenig has quit [Remote host closed the connection]
<eyJhb>
SHould probably only have pkgs, because I want to write to a file
<eyJhb>
Thanks, pointed me in the right direction infinisil-m :)
<infinisil>
Ah I see
<infinisil>
I mean, that should work just fine
<infinisil>
`{ pkgs ? import <nixpkgs> {} }: let something = "something"; in { somestuff = pkgs.writeText "filename" something; }`
<infinisil>
Like this?
<eyJhb>
I just ended up removing all { config, pkgs..} at the top, and just have a let, in which was string manipulation :p
<eyJhb>
What does the { pkgs ? imort <nixpkgs> {} }: mean, compared to the other syntax?
<infinisil>
It's a default argument, so you don't need to pass it a pkgs if you don't want to
<infinisil>
Useful if you want to e.g. just check what the somestuff evaluates to
<infinisil>
Because you can then do `nix-instantiate --eval file.nix -A somestuff`
ris has joined #nixos
<infinisil>
(or the same with nix eval
<infinisil>
Which wouldn't work if it didn't have a default value
domogled has joined #nixos
<eyJhb>
So, it isn't a must, and I could do just { pkgs }:, but it is good practice?
<infinisil>
But less good if you want reproducibility, because if you forgot to pass pkgs in your NixOS config or so, it uses the impure <nixpkgs>
<infinisil>
Yeah it's not a must, just a small convenience thing, which might be very useful in certain cases
<infinisil>
I wouldn't put a default there until you feel like it's needed
gagbo has quit [Ping timeout: 258 seconds]
<eyJhb>
But I am guessing, that that syntax shouldn't be used in e.g. main configuration.nix?
<infinisil>
Indeed, defaults for arguments shouldn't be used in NixOS modules
gagbo has joined #nixos
<infinisil>
Well I guess there are cases where they could be used, but that's almost never necessary
<infinisil>
But the standard pkgs, lib, config, options arguments should never have defaults
<eyJhb>
At some point, I should really read all the nix-pills...
* infinisil
never read through them
<infinisil>
Not thoroughly at least
<eyJhb>
But, I feel like they somewhat would help :p So I don't just ask all my stupid questions at you guys
drakonis_ is now known as drakonis
<samueldr>
I have overviewed some of the nix-pills, and AFAICT it's only useful in understanding the underpinnings of nix and derivations
<eyJhb>
Btw... Speaking of more questions. How can I check my networking.firewall.extraCommands, regarding the output they give whe nrun?
<eyJhb>
I should probably say more, repetetive questions
<eyJhb>
It must hurt how often such questions gets asked at some point
rmeis has joined #nixos
<infinisil>
Actually I haven't seen your questions before!
<samueldr>
I think it depends on whether *you* asked or were involved in such questions
<savanni>
Are there any tools that nix provides to severely isolate a shell environment? I'm thinking docker-level isolation, with a full filesystem pretending to be there, but for a Mac instead of a for Linux?
<eyJhb>
infinisil: hmm, that is something! Just often hurts when I look at #docker, and it is the same questions over and over again
Guest66 has joined #nixos
<eyJhb>
samueldr: Yeah, right, it is just from my perspective when I sometime get a lot of the same questions in other channels!
<eyJhb>
But, is there any way of checking the extraCommands from firewall? Doesn't seem like it want to add my snat/dnat things to iptables... And I have no clue why
<infinisil>
We have {^_^} for our super-common questions here :D
<Guest66>
samueldr: I studied your configurations for learning. * - *
<eyJhb>
,fixFirewall
<eyJhb>
:D
<Guest66>
I'm using overlays-compat and the "overlays pattern".
<infinisil>
eyJhb: You mean like `nixos-option networking.firewall.extraCommands`?
<eyJhb>
infinisil: yes, precisely. I have a bunch of ${pkgs.iptables}/bin/iptables ... commands, that I need to have added
<infinisil>
Or I like the more direct `nix-instantiate --eval '<nixpkgs/nixos>' -A config.networking.firewall.extraCommands` too
<eyJhb>
For debugging?
<infinisil>
Yea
<eyJhb>
But shouldn't it log to SOME kind of files, somewhere?
<infinisil>
Or `nix eval --raw -f '<nixpkgs/nixos>' config.networking.firewall.extraCommands` if you want it to output multilines nicely
<infinisil>
Not sure what you mean
<eyJhb>
It doesn't seem obivious how I would feed that 7 lines of way to long iptable commands
<eyJhb>
Like, when I rebuild and it adds/runs the extraCommands, shouldn't it be available in journalctl?
<eyJhb>
Or something like that?
<infinisil>
Ah you want to see where the extraCommands ended up in the final system?
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je3UC
<eyJhb>
Yeah, and also the output when they run
<infinisil>
eyJhb: After looking at the firewall.nix NixOS module, I think you should be able to do `systemctl cat firewall`
<eyJhb>
As I cannot see them when I run `iptables-save` :(
<infinisil>
The ExecStart points to the script containing the extraCommands
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from Averell Dalton to release-19.09 « pythonPackages.iso-639: add setuptools dependency »: https://git.io/Je3Ul
<infinisil>
Unless the commands output something when run you probably won't see anything right?
<eyJhb>
Oh, now they show up.. Might have run a ` | grep snat` instead of with `-i`.. - I was expecting them to give some kind of error ,because they did not show up :D
zacts has joined #nixos
knupfer has joined #nixos
ixxie has quit [Ping timeout: 265 seconds]
<infinisil>
:)
<eyJhb>
Thanks infinisil ! :D Now I just need to debug why it doesn't send stuff down my tunnel
<eyJhb>
Yay
growpotk- has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}>
[nixpkgs] @bjornfor pushed to master « mdadm: fix path to sendmail »: https://git.io/Je3UE
rmeis has quit [Ping timeout: 265 seconds]
rmeis has joined #nixos
<{^_^}>
[nixpkgs] @bjornfor pushed to release-19.09 « mdadm: fix path to sendmail »: https://git.io/Je3Uu
logzet has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<drakonis>
i was trying to figure out how to enforce enableunfree on nixpkgs
<rnhmjoj>
drakonis: nice, i have been working on something that would really make sense as a flake. for now it's just a nixos module a load with fetchgit
<rnhmjoj>
* i load
<eyJhb>
is there any way of preventing `networking.firewall.extraCommands` from creating duplicate entries in iptables? I would somewhat expect it to take down all rules, put them up again
<drakonis>
its quite nice.
<drakonis>
the documentation on it is currently dreadful
<drakonis>
the rfc alone doesnt't explain everything
<drakonis>
eelco has a few flakes of his own
<exarkun>
"It is also possible to omit inputs entirely and only list them as expected function arguments in outputs"
<{^_^}>
#68897 (by edolstra, 2 days ago, open): [WIP] Flake support
<infinisil>
eyJhb: You might want to check out nftables, it's like the modern version of iptables which allow a declarative configuration
<drakonis>
finally
<infinisil>
s/allow/allows
<drakonis>
sailing will be much smoother now
<rycee>
eyJhb: On the first line of `extraCommands` I have `${extraStopCommands}`.
<eyJhb>
infinisil: Looks nice! But a HUGE downside is that it does not play well with Docker
drakonis has quit [Read error: Connection reset by peer]
<eyJhb>
rycee: So basically commands which first remove the rules?
<infinisil>
eyJhb: It doesn't?
drakonis has joined #nixos
<rycee>
eyJhb: Yes, I define `networking.firewall.extraStopCommands` to remove the rules I add.
<eyJhb>
infinisil: `Note that if you have Docker enabled you will not be able to use nftables without intervention. Docker uses iptables internally to setup NAT for containers. This module disables the ip_tables kernel module, however Docker automatically loads the module. `
<eyJhb>
There is some more info however
<infinisil>
Ah I see
<rycee>
Then I also stuff that option first in my `extraCommands` so it'll try removing the rules that I'm about to add :-)
rmeis has quit [Ping timeout: 258 seconds]
kleisli has quit [Ping timeout: 246 seconds]
<eyJhb>
rycee: Question, can you just define `networking.firewall.extraStopCommands`, and then use it like you put? Or is it just to give me a example?
<eyJhb>
Luckily yes! But I cannot type any special charaters into that console
<eyJhb>
WHich sucks
<{^_^}>
[nixpkgs] @Ma27 pushed to master « nixos/sway: install swaybg by default »: https://git.io/Je3T4
<samueldr>
eyJhb: not at all?
<samueldr>
try this trick: set your keyboard to qwerty US, even if your remote console is set to your native keyboard config
<eyJhb>
I can do like... + and _ atm.
<eyJhb>
The mapping is SO weird
nexgen has quit [Remote host closed the connection]
Cale has quit [Ping timeout: 252 seconds]
<samueldr>
(setxkbmap us)
nexgen has joined #nixos
<eyJhb>
I will note that down samueldr !
<eyJhb>
I have missed that soo much
<samueldr>
some remote consoles work by (wrongly imo) mapping from the char they get, to the keycode they produce on us qwerty
<eyJhb>
I was lucky I had a cleanup script for iptables, so I could do ctrl+r, and just type in delete
<samueldr>
I say "wrongly", but I think it's a case of not having a better solution :/
evanjs| has quit [Client Quit]
<samueldr>
at least, that's what I observed
<Guest66>
rycee: I'm reading your code.
<{^_^}>
[nixpkgs] @Ma27 pushed to release-19.09 « nixos/sway: install swaybg by default »: https://git.io/Je3TB
<Guest66>
Very good.
<Guest66>
But I want it system-wide. hehe
<eyJhb>
samueldr: yeah, the remote console are generally very very.. Weird
<Guest66>
I'm not using home-manager. .-.
jgt1 has joined #nixos
<eyJhb>
I also remember VMWares being a little... FUnky (I think vCenter or what it is called)
<eyJhb>
It was my stop commands who screwed it up, weird
<drakonis>
i'm not sure why but i'm giddy for the idea of a home-manager flake
<drakonis>
doing away with the extra install steps looks like a positive change
evanjs| has joined #nixos
<eyJhb>
Guess I will do without stop commands for now
<eyJhb>
A little extra rules never hurt anybody
<rycee>
Guest66: You can always create a user.js yourself and just copy or link it in place. But, yeah these won't provide a system wide configuration. Then the PR is your best bet I think :-)
o1lo01ol1o has quit [Remote host closed the connection]
jgt has quit [Ping timeout: 252 seconds]
<Guest66>
rycee: I want to get fancy. ><
<{^_^}>
[nixpkgs] @peti pushed to master « shotcut: use vaapi_device /dev/dri/renderD128 instead of ":0" »: https://git.io/Je3To
justanotheruser has quit [Read error: Connection reset by peer]
erba has joined #nixos
justanotheruser has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
Cale has joined #nixos
evanjs| has joined #nixos
<erba>
Hey, so what is the correct way of setting up an environment with a set of packages? Originally I was defining a shell.nix that used mkShell but I later realised that I could also define a shell.nix where I create a derivation using mkDerivation and use nix run.. or nix-shell for that matter.
o1lo01ol1o has quit [Remote host closed the connection]
<selfsymmetric-pa>
Is that what my derivation is doing or did I mess something up?
drakonis has joined #nixos
<selfsymmetric-pa>
I thought maybe I messed up the overrideAttrs so I also tried doing it by copy-pasting the whole derivation and changing some variables but that gave me the same error messages.
jgeerds has quit [Ping timeout: 268 seconds]
Walker3R has quit [Ping timeout: 252 seconds]
Walker3R has joined #nixos
asymptotically has quit [Quit: Leaving]
<c00w>
Anyone know what fixes happened for hydra?
<c00w>
Looks like it got a lot greener for unstable.
<{^_^}>
[nixpkgs] @asbachb opened pull request #69056 → doc: replaced outdated config reference `build-use-sandbox` with `san… → https://git.io/Je3L4
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<rnhmjoj>
i have been trying to make a flake but i think i've found a bug: nix build fails to fetch nixpkgs with `error: setting time of symlink '/home/rnhmjoj/.cache/nix/tarballs/.2_9frc4vbks7l7c1400gbdzrdbk1i0pcpg-source-unpacked': Read-only file system.` any idea?
gyroninja has quit [Read error: Connection reset by peer]
__monty__ has quit [Quit: leaving]
<clever>
rnhmjoj: what does `dmesg` say at the end?
gyroninja has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
<rnhmjoj>
it's really trying to modify a read-only file (in the nix store)
<{^_^}>
[nixpkgs] @dtzWill opened pull request #69059 → nm-tray: init at 0.4.3 → https://git.io/Je3L5
Palpares has quit [Ping timeout: 260 seconds]
<dycan>
hi all. "nix-env -qaP -A haskellPackages.aeson" cannot find pacakge. But "nix-env -f "<nixpkgs>" -qaP -A haskellPacakges.aeson" can. Why? I would like to "nix-build --no-out-link -A haskellPackages.aeson" but can't find package.
Palpares has joined #nixos
Serus has joined #nixos
<infinisil>
dycan: Use `nix-build --no-out-link '<nixpkgs>' -A haskellPackages.aeson`
<infinisil>
Not sure why the first nix-env doesn't work, but nix-env is weird anyways, I wouldn't recommend it, especially not for installing libraries
<infinisil>
,libraries dycan
<{^_^}>
dycan: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
Guest66 has left #nixos [#nixos]
<dycan>
infinisil: I see. Thanks for the tips!
<dycan>
thanks for the heads-up!
<infinisil>
:)
johnnyfive has quit [Ping timeout: 245 seconds]
<selfsymmetric-mu>
I'm trying to update the `circleci-cli` derivation but I'm having trouble. Can someone check my derivation here to see if I'm not making a silly mistake? https://github.com/NixOS/nixpkgs/issues/69047
<infinisil>
selfsymmetric-mu: If you want to update it in nixpkgs you should edit the expression in nixpkgs directly
<batzy>
Alright let's try this again. I get this error when trying to run cool-retro-term. The issue is that the menu bar will not appear https://hastebin.com/oxicovekip.cpp
<infinisil>
selfsymmetric-mu: And it seems that the package didn't have any dependencies before, so updating just the source won't work, you also need to make its dependencies available
<batzy>
infinisil, it could be because I dont have something installed right?
<infinisil>
Doesn't seem likely, but I guess it could be
<batzy>
nixos doesnt do dependencies very well
Palpares has quit [Remote host closed the connection]
<infinisil>
Not sure what you mean by that
Palpares has joined #nixos
<batzy>
compared to other OSes
<batzy>
it suucks
joehh has joined #nixos
<infinisil>
Feel free to use another distro, nobody is forcing you to use NixOS :)
<gchristensen>
perhaps you could be more specific about your expectations and how NixOS doesn't satisfy them? (as it stands, you sound like trolling, and I'd rather think you're not)
<batzy>
infinisil, why does it have to suck so bad with the dependencies tho
<{^_^}>
[nixpkgs] @alexfmpe opened pull request #69060 → Fix example → https://git.io/Je3tG
<batzy>
:^)
<infinisil>
Batzy: Can you be more specific?
selfsymmetric-mu has quit [Remote host closed the connection]
<batzy>
There's really no need for me to
batzy has left #nixos [requested by gchristensen (troll elsewhere)]
<infinisil>
+1
<gchristensen>
they're PMing me about how they're not trolling
<gchristensen>
¯\_(ツ)_/¯
ThatOtherGuy has quit [Ping timeout: 245 seconds]
<{^_^}>
[nixpkgs] @Anton-Latukha opened pull request #69061 → djview: adopt, upd {descriptions, to qt5}, add features → https://git.io/Je3tW
<worldofpeace>
don't provide your energy to them
<infinisil>
gchristensen: Can you tell them if they're open to discuss in a respectful manner they're allowed back?
<gchristensen>
sure
orivej has joined #nixos
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @dtzWill to gnome-3.34 « gtk3: 3.24.10 -> 3.24.11 »: https://git.io/Je3tl