<joko>
Now, to combine it with overrideAttrs, it would make it a bit strange with parenthenses, let me check if I find an example on that
<joko>
pushqrdx: wineBuild and wineRelease are arguments, you need sth like (wine.override { wineBuild = "..."; wineRelease = "..."; })
<joko>
pushqrdx: oh, just noticed. You're overriding attributes, but that's an argument
<joko>
pushqrdx: you probably need to override wineBuild to "wine64", check the original package
2020-12-10
<joko>
Hey, I have a question on flakes: I know how to set inputs of an input to follow another input, e.g., nixpkgs-wayland's nixpkgs to follow my current nixpkgs. Could I do the reverse one, i.e., make my flake's nixpkgs follow nixpkgs-wayland's nixpkgs?
2020-09-08
<joko>
Hey, does Hydra support PR evaluation of flake repositories?
2020-09-07
<joko>
ixxie: well, it's not unlikely that some things break in order to support newer hardware
<joko>
another thing * sigh, I'm tired..
<joko>
ixxie: another more thing you could try is to stick on an LTS kernel, i.e., "boot.kernelPackages = lib.mkForce pkgs.linuxPackages_5_4;"
<joko>
ixxie: :+1:
<joko>
ixxie: not a bad idea, I think you'll miss only video acceleration from there
<joko>
I see glamor, tear free and dri configurations, I think they are now obsolete, default settings are working OK
<joko>
But my gut feeling is that you have over-configured graphics
<joko>
ixxie: I would recommend you to post this in the Discourse site first :) Having said that, you need to mention also your NixOS version. I think you need first to identify your machine's kernel and then try to remove extra configuration. Since 2016 lots of things have been improved in Linux, e.g., using GLAMOR is no longer advised (or so I think)
2020-08-13
<joko>
Hey, does anyone know if Hydra supports GitHub PRs on flake-based repositories? E.g., I make a PR and Hydra evaluates it, too.
2020-06-06
<joko>
morgrimm: right, it's mostly zsh. And the NixOS option for ssh support basically sets the necessary SSH_AUTH_SOCK env variable.
<joko>
Hm, /etc/systemd/user/pulseaudio.service seems also to be more complex, I'll check that, too
<joko>
adisbladis: I did, yes
<joko>
adisbladis: but in 19.09 I have the impression it was working without system-wide pulseaudio, the local user was able to start a user unit of pulseaudio and get it done...
<joko>
(it worked before)
<joko>
And "sudo -u shairport pacmd list-sinks" reports "No PulseAudio daemon running, or not running as session daemon."
<joko>
0.002160682 "audio_pa.c:130" *fatal error: failed to connect to the pulseaudio context -- the error message is "Connection refused" is the message I get
<joko>
Hey, is there a way to persist (as in write in configuration.nix) an instantiated systemd service? So, there is a myservice@.service file and I can do "systemctl enable myservice@myarg.service", but I would like to persist also
<joko>
manveru: same error... One more hint: "Asciidoctor.js 1.5.9 requires an unreleased Opal 0.11.99.dev"
<joko>
What I've tried so far: bundix -l to generate gemsets.nix, generate a shell.nix file with bundlerEnv, but "bundle exec rake build" inside the shell fails, mentioning "There was an error parsing `Gemfile`: There are no gemspecs at /nix/store/j0jbj8nl07sdimwm9mcn97b6wjiikgqx-gemfile-and-lockfile. Bundler cannot continue."
<joko>
Hey, I would like to modify a Ruby app (https://github.com/asciidoctor/asciidoctor-reveal.js), is there a tutorial to follow? For what is worth, I have managed to use the upstream gem, but I want to make some changes to its source code before using it
2019-09-08
<joko>
m15k: no idea, but you can always check afterwards if this is needed, e.g., nix-channel --list
<joko>
hey, I am trying to generate a package using node2nix, which has a dot in its name (asciidoctor-reveal.js), how one can override the dot character there?
2019-08-28
<joko>
?
<joko>
Is anyone using waybar from colemickens' nixpkgs-wayland
<joko>
qubasa: builtins.stringLength e ?
2019-08-27
<joko>
manveru++
<joko>
manveru: that worked as well, thanks :D I had tried first with tryEval, but was not working
<joko>
exarkun: it's ok, it could have been something in my /etc/nixos/configuration.nix
<joko>
exarkun: I'm using readDir in home-manager to read the contents of a directory found in my home directory. I also have a Hydra job which tries to build the packages and readDir fails there due to restrict mode being on
<joko>
Hey, I'd like to ask once again, is there a way to test programmatically if restrict mode / sandbox is on?
2019-08-24
<joko>
ivan: I think that's the case
<joko>
(warning: my Hydra deployment must be a bit old)
<joko>
ivan: why not store-uri = file:///nix/store?secret-key=blabla?
<joko>
Miyu-chan: you mean this programmatic restrict-mode check? :)
<joko>
feel free to add a reverse proxy though
<joko>
ivan: I don't think you need apache or nginx to serve the cache
<joko>
infinisil: right, I want to check inside a code, e.g., so that I avoid using readDir with external paths in restricted mode
<joko>
Is there any way in nix to detect if restrict-eval is set to true?
2019-08-23
<joko>
manveru++
<joko>
Is there any Nix / nixpkgs function to list the contents of a file directory?
2019-07-31
<joko>
ivan: I think you're right, that should have been my issue, thanks!
<joko>
Hey, is anyone having problems with open/save GTK dialogs? I get msgs in Firefox like the following: "Can't open portal file chooser: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.FileChooser” on object at path /org/freedesktop/portal/deskt"
2019-07-25
<joko>
Seems cool, let's see if I can separate the downloading tasks and patch the binaries before running them
<joko>
oh, that could come in handy, thanks in advance!
<joko>
adisbladis: I was thinking more like buildFHSUserEnv, I'm running gradle tasks which download extra binaries in the build directory, which I don't have the luxury to patch them one by one
<joko>
Hey, is anyone using an FHS environment in shell.nix so that downloaded binaries work directly? If so, could you share your setup?
2019-06-12
<joko>
gallexme[m]: I have recently switched to the same
<joko>
karetsu: it seems to be working here, I set QT_QPA_PLATFORMTHEME for xmonad
<joko>
gallexme[m]: did you try .xprofile?
2019-03-29
<joko>
(I've gotten the issue from the 0.7.13 release)
<joko>
gchristensen: I haven't tried a 5.x Linux kernel, but the issue you're having could be during the architecture (aarch64-linux). Maybe zol devs aren't anticipating this? https://github.com/zfsonlinux/zfs/issues/8259 mentions x86-64. Disclaimer: I've read only texts, not a single line of code :)
<joko>
qyliss^work or anyone actively using Ruby on your projects: Any preference for making HTTP(S) requests returning most likely JSON objects?
<joko>
qyliss^work: nice, it worked, thanks!
<joko>
qyliss^work: kewl, thanks for your contribution :D No need to backport it, it's just for a hackathon event on our company, I think it's a nice opportunity to show some nix stuff :D
<joko>
gchristensen: well, I'm using encryption which is still not available, but ok, maybe I should not push my luck :)
<joko>
Has anyone used it?
<joko>
ok, maybe I should set my backup server and then test this :D
<joko>
ah
<joko>
clever: you mention zfs and trim in the same sentence, did you mean trim support has landed in zfs?
<joko>
tokudan[m]: I cheated by checking Gentoo and ArchLinux sources
<joko>
tokudan[m]: you can do something similar with container tabs and the multi-account containers addon, I think
<joko>
tokudan[m]: ok, thanks
<joko>
tokudan[m]: are you online? Is it ok to edit your FileZilla PR to modernize it a bit?
<joko>
clefru: kuhl! Is linux-5.0 considered to be an LTS version?
<joko>
clever: agreed
<joko>
And any idea how to maintain this? Disable the upstream module and maintain the file on my own?
<joko>
clever: many thanks, I think I could echo this on "zfs load-key -a" or sth like that
<joko>
clefru: I don't want to bother you, only if you have something ready :)
<joko>
I mean during booting and mounting
<joko>
Speaking of ZFS, I have started testing encryption and I was wondering if there is a way to share a password between a LUKS partition and a ZFS encrypted dataset
<joko>
hyper_ch: And any comment with ZFS mounting? As far as I saw in your configs you do it manually
<joko>
hyper_ch: obviously you were wise enough not to mess with boot.zfs.forceImport{Root,All}
<joko>
hyper_ch: so now system cannot start
<joko>
hyper_ch: I had force import disabled and kind of messed my system by not exporting the zpool
<joko>
I would like to avoid booting from network / USB, but I think I cannot avoid it
<joko>
hyper_ch: and how to fallback?
<joko>
hyper_ch: good suggestion
<joko>
hyper_ch: last question, is it possible to force import a zpool with kernel's cmdline?
<joko>
hyper_ch: many thanks for the guidance
<joko>
hyper_ch: perfect!
<joko>
hyper_ch: and have you experimented with sending encrypted datasets with unlocking them to remote host just before sending them and re-locking them once you're done?
<joko>
hyper_ch: cool!
<joko>
hyper_ch: have you also tried sending / receiving encrypted datasets?
<joko>
So, just before boot, you enter the password and all is taken for?
<joko>
hyper_ch: yeah, I would like to know more about ZFS native encryption
<joko>
Doh, nixops is very sensitive with absolute paths and this messed things up :S
<joko>
Is there something wrong with nixops? Any deploy I do seems not to change the target host
<joko>
Hey, is anyone using ZFS native encryption? So far I have been using ZFS over LUKS to do so and I was wondering if native encryption would be better
2019-01-19
<joko>
yorick: in filesystems, as attribute sets
<joko>
Hey, speaking of nixops, I am setting up some new entries on fstab, but the fstab is not getting updated to the target host. Any ideas what's wrong?
<joko>
Neo--: could you check file permissions? ls -al ~/.config/dunst/dunstrc
2018-11-11
<joko>
Let me check again
<joko>
But I had also the ssh backdoor commit reverted there
<joko>
srhb: I think that's the case with Gitlab runners, I mean the test on my workstation takes less than 3 minutes to finish, in the runner more like 40
<joko>
If I run the stat() application on a nix shell, then it seems to work as intended
<joko>
It's actually an application running another application which has actually the stat() call
<joko>
Is there something special with the /nix/store mount? The stat system call inside an application returns that a directory there is not a directory