<slabity>
Do you have any other firefox process open? Running firefox will just send a signal to open a new window if one is already open
<slabity>
Anything get output?
<slabity>
nilsirl: What happened if you run it in a terminal?
<pie__>
slabity, erlang
<slabity>
BEAM?
<Ankhers>
slabity: Nothing specific. I just feel like I still don't fully grawk how everything works. I don't know how much of the manual I have properly gone thorough. I will start with that. But I am also trying to build up the BEAM ecosystem within nix and I can't really seem to find much of a "best practices" for that type of stuff.
<slabity>
codedmart: Would narrow doesn which apps are using the correct value and which aren't. Such as all GTK apps vs QT apps, etc.
<codedmart>
slabity: How does that narrow it down? I would expect nautilus to have the same cursor size as gnome-terminal, but they don't.
<codedmart>
slabity: I have that set already to 192.
<slabity>
codedmart: Can you try setting the `Xft.dpi` variable in your Xresources? That would narrow it down which apps are seeing the correct value
<slabity>
Ankhers: The manuals goes pretty deep. Is there something specific you were looking for?
<jtojnar>
slabity: yeah, I can download it just fine
<slabity>
jtojnar: Are you able to access the file manually? If you do a `curl -O URL` what happens?
<slabity>
That's true. But unless you have a cheap SSD that doesn't sort out data poorly, it should last longer than an HDD
<slabity>
SSDs make great swap devices
<jD91mZM2>
slabity: I'm using an SSD, so I'm a bit worried about adding swap.
<slabity>
No problem. Make sure you got plenty of swap space.
<jD91mZM2>
slabity: Aaaah that's it, tmpfs. Thanks a lot!
<slabity>
What does `df -h` say? There might be a temp-directory that's filled
<slabity>
error: The option value `services.phpfpm.poolConfigs.restya-board' in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/web-apps/restya-board.nix' is not of type `strings concatenated with "\n"'.
<slabity>
Anyone know how to install mono with Wine on NixOS? Installing it in my environment doesn't seem to work
2019-05-24
<markasoftware>
slabity: where is the system channel defined, and how do I change it?
<slabity>
Only absolute path you need
<slabity>
Thank god `/usr/bin/env` is POSIX specified
<slabity>
Everything is duct taped in C and shell scripts
<slabity>
Actually that would be a pretty neat concept
<slabity>
Just make every source file its own derivation. Problem solved
<slabity>
I'd like my user accounts to always use the system channel
<slabity>
Maybe? Honestly, some of my systems my user just uses the system's channel, and other times I need to explicitly add a user channel. Not sure how to control that behavior
<slabity>
markasoftware: Can you do a `nix-channel --update`?
2019-05-23
<slabity>
I still get that issue when updating FF
2019-05-21
<rycee>
slabity: The Home Manager xsession setup overrides the NixOS configuration by default.
<rycee>
slabity: Not sure if you got any help but you don't need to set anything special for `desktopManager.default`.
<jeaye>
slabity: config.vim.python defaults to true, if python is installed.
<slabity>
jeaye: config.vim.python
<slabity>
Not sure what the session name would be if home-manager is running it
<slabity>
If anyone here uses home-manager with `xsession.enable`, do you know what to set in my system configuration for `desktopManager.default`? `none` does not work
<slabity>
Anyone here use home-manager to manage their xsession?
<slabity>
I'm just gonna reinstall. Shouldn't take too long...
<slabity>
And it seems to take libvirt with it :O
<slabity>
No, just the nixos-install command
<slabity>
Huh. My VM freezes when trying to reinstall as well...
<slabity>
Well I ran it. No errors. But now I'm getting this: `builder for '/nix/store/7mnljjx9mzvfp1hx65r35kskqrwkirby-hwdb.bin.drv' failed with exit code 127`
<slabity>
Well it is a VM. I could just snapshot it and use the tool
<Lisanna1>
slabity: your best bet may actually be to boot to the nix installer, purge your /nix directory, re-install, then reboot back to your system and do a normal rebuild
<slabity>
Any way to change that variable for only one command? I can't modify `/nix/nix.conf` and I can't rebuild my system until I fix this path
<slabity>
Yep. And using `ext4` just like in that issue
<ocharles>
slabity: do you have store hard link optimisation on?
<slabity>
I'm not sure `--repair-path` is actually trying to redownload it
<slabity>
Is there any way to have Nix force-redownload it?
<slabity>
How do I recover?
<slabity>
ivan: Yea, had to force-reboot a VM
<slabity>
`sudo nix-store --repair-path /nix/store/...` does not seem to fix it
<ivan>
slabity: that can happen if your kernel crashes or you lose power
<slabity>
This is strange. My `/nix/store/...-perl-5.28.2/bin/perl` is just a bunch of `0x00` bytes.
<slabity>
`nix-store --repair-path` doesn't seem to do anything.
<goibhniu1>
slabity: you could try nix-store --repair-path
<srhb>
slabity: Got any system logs left or did they not get flushed?
<srhb>
slabity: Sounds like an fs went poof during the build, possibly?
<slabity>
I have no idea if it's related to the force-reboot. Likely not
<slabity>
On unstable channel. Anyone else having this issue?
<slabity>
So I just had to force-reboot a VM after it became unresponsive when doing a `nixos-rebuild`, and now trying to do it again results in `/nix/store/ryinn9xa3g8bn55nj1h54ypnlp9naq6i-stdenv-linux/setup: line 1283: /nix/store/qd4j58ykdkg9yvy8kvgh0i00gacy0ldm-perl-5.28.2/bin/perl: cannot execute binary file: Exec format error`
<slabity>
Yea, if you could pastebin it, that would be helpful. But if it's a Java exception it's likely an issue with the software
<slabity>
Any specific issues?
<slabity>
astal: `services.confluence.enable`
2019-04-25
<slabity>
Ah, nevermind. Looks like it's disabled in bios
<slabity>
It appears the `kvm-intel` module never loaded? I have `boot.kernelModules = [ "kvm-intel" ];` though
<slabity>
Huh... /dev/kvm does not exist
<slabity>
Hey guys, I have `virtualisation.libvirtd.enable = true;`, but trying to create a guest with `virt-manager` leads to it saying KVM is not enabled. `lsmod` says that `kvm` is enabled as well, so I'm a bit confused
<slabity>
I dunno. I was pretty sheltered as a kid.
2019-04-24
<iceypoi>
slabity: well... yes, it does...
<slabity>
Does that mean Nix will soon be supporting Windows? :P
<slabity>
Nice
<iceypoi>
slabity: even home-manager is working
<iceypoi>
slabity: not nixos, but nix is
<slabity>
iceypoi: Really? It's working? I'm quite surprised about that
<slabity>
It's basically a super chroot
<slabity>
Just point it to a valid `configuration.nix` file and it should build a derivation of it
<slabity>
The expression is `nix-build '<nixpkgs/nixos>' -A config.system.build.toplevel -I nixos-config=configuration.nix`
<slabity>
tilpner++
<__monty__>
Depends on how it's logged. In the current session something like /last or /lastlog may work. Otherwise something like `rg '<.slabity>' .irclogs` might work.
<slabity>
Yea, does anyone know how to search through the chat for my name? I can probably find it archived somewhere.
<monsieurp>
slabity: could you please tell me what's the expression to bootstrap a nix systemd in a directory you mentioned earlier?
<slabity>
Ah, I'm thinking of PAGER
<slabity>
Seems to prefer EDITOR over VISUAL for me
<slabity>
clever: Likely because 99.999% of yum packages are already packaged with dpkg/apt, which is in Nixpkgs
<clever>
slabity: yeah, im surprised its missing
<slabity>
Yea, sounds like nobody really had a need to package yum
<slabity>
ambro718: That would defeat the point of NixOS
<slabity>
monsieurp: You'd install nix on debian then run the expression
<monsieurp>
slabity: right but what if I want to bootstrap NixOS from, say, Debian?
<clever>
slabity: the result wont work right until you somehow map /mnt/ to /, via either chroot, containers, or booting it as /
<slabity>
ambro718: Depends on a lot of different variables - cgroups, user/group permissions, etc.
<clever>
slabity: nix-copy-closure --to local?root=/mnt/ /nix/store/foo, lets you copy things to /mnt/nix/store/, including the entire closure
<slabity>
monsieurp: There's a nix expression that just builds a Nixos directory tree. I know another to build an ISO image
<slabity>
LXD can be used with libvirtd too, so you can just use virt-manager
<slabity>
That's more of a container service provider
<slabity>
Just pick one and go with it
<slabity>
There's lots of ways to do containers. Nixos-container, docker, lxc, etc.
<slabity>
ambro718: You mean LXC?
<slabity>
It's containers all the way down
<slabity>
Yea, docker would likely be your best bet if there's already an image available
<slabity>
For example, I have some scripts called in `services.xserver.desktopManager.session`
<slabity>
wolfman154: I'm not sure how xinit works, but you could probably call the script in your xsession
<slabity>
DigitalKiwi: That seems to have worked. Thanks!
<DigitalKiwi>
slabity: I think you can use `nix-env -f . -iA nixos.package` from that directory
<slabity>
So I have a local copy of a nixpkgs repo that contains a fix for a package. Going into the directory and running `nix-build -A package` seems to work. But for some reason `nix-env -iA nixos.package -I nixpkgs=/path/to/nixpkgs` does not. Anyone have an idea on the reason for this? Does nix-env not support the `-I` flag?
<slabity>
nh2: Strangely that doesn't seem to work either
<nh2>
slabity: I usually use `NIX_PATH=nixpkgs=/path/to/nixpkgs nix-something ...` instead of `-I` but I think it _should_ do the same
<slabity>
If I go into the directory and run `nix-build -A package` it builds fine.
<slabity>
I'm trying to install a package using nix-env and a branch that I have locally. However, `nix-env -I /my/nixpkgs -iA nixos.package` still uses what's in my nix-channel. What's wrong here?
<slabity>
Software might just be a bit more bloated?
<slabity>
The only thing I can think of is that Arch typically builds software with many options enabled by default.
<slabity>
I think Arch has a giant raminitfs/initcpio
2019-04-18
<nh2>
slabity: good, `nix-build '<nixpkgs/nixos>' -A config.system.build.toplevel -I nixos-config=iso.nix` seems to evaluate to the root FS contents, thanks!
<slabity>
I'm on unstable though
<slabity>
works for me
<nh2>
slabity: OK thanks, I'll start with that. I wonder what comes out if I just build `-A config.system`
<slabity>
Then I just ran `nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix`
<slabity>
Obviously you won't want the nixpkgs.overlays option, but try changing the imports to what you want
<eyJhb>
slabity: thanks ;) Now... What is the best way to say package X requires Y to be present?
<slabity>
eyjhb: I believe you can use the commit sha as the revision. Might be wrong though
<eyJhb>
slabity: I can use `nix-shell -I nixpkgs=nixpkgs/ -p go`, but that's it.. :|
<slabity>
eyjhb: Still having issues even with a specific `-I` path?
<slabity>
Peter_Storm_: Clipboard sharing with a VM typically requires special guest drivers
<nschoe>
slabity, I'm re-trying it from scratch, just to make sure I haven't done anythign wrong. I'he just updated my channel. I've just confirmed `nix-shell -p qt5.full` works, and `qmake -query` gives me: "QT_VERSION:5.11.3". So I'm on 5.11. I'm going to try an build my project again and describe the error. I'll get back to you :)
<slabity>
nschoe: So it specifically says it's missing some sort of *.cmake file?
<nschoe>
slabity, okay I understand. But I'm getting the same error as describe there: some plugins wrongly refered to :/
<slabity>
nschoe: Sorry. Not sure how catkin_make works.
<nschoe>
slabity, no qt5.full builds, it's when I compile my project with `catkin_make` that I get the error.
<slabity>
nschoe: Is qt5.full itself failing to build? If you run `nix-shell -p qt5.full` does it succeed?
<nschoe>
slabity, hum, I don't think thi swill actually solve my issue actually. In my shell.nix, I have `qt5.full`, I don't specify which minor version it is, and I was on latest channel a couple of days ago.
<nschoe>
slabity, ah! This is good to know, I will try and switch to qt511 then.
<infinisil>
slabity: I think we only keep older versions around for packages that don't build with the newest one
<slabity>
Both qt59.full and qt511.full builds on nixos-unstable.
<slabity>
I don't even see qt510 in my nixpkgs. It just jumps from qt59 to qt511
2019-04-03
<slabity>
Well you set `go` in your `systemPackages`... Maybe there's a conflict?
<slabity>
Or `with (import <unstable> {}); betterlockscreen` for your overlay for example
<attente[m]>
@slabity:matrix.org: thanks. I guess I'll make an issue on the repo
<slabity>
Looks like the overlay broke. Unless target.tar.bz2 is an actual hostname
<slabity>
attente: Yea, looks the same for me.
<slabity>
Run nix-index on your machine. It'll take a few minutes to index all the packages, but then you can run nix-locate <some_file> to find out which package contains it
<slabity>
iqubic: You can find better results by using nix-locate