<LnL>
if you're using ./. it's probably the result symlink, try building with --no-out-link
<wilornel>
Hi #nixos! I was able to use `users.extraUsers.bob` in configuration.nix to create a new user. For that new user, in `~/.config/nixpkgs/config.nix`, I added `stow` as a dependency. I ran `nix-env -iA nixos.myPackages`. Then, I tried to use stow.
<fearlessKim[m]>
dmj`: if you use a local path, it oculd be, or git or anything
<wilornel>
`stow sometestdir`: stow: ERROR: Could not create symlink: foobar => alice/sometest/foobar (Permission denied)
<fearlessKim[m]>
you can use cleanSource beforehand or filter manually
<wilornel>
I _think_ that the error is because the `stow` program does not have the same permissions as alice. I _am_ able to `vi foobar` inside ~/
<wilornel>
actually, adding `sudo` to the command solved it, but I don't know if that's the right way to go about it..
<vaibhavsagar>
dmj`: are you running nix-build from outside the src folder?
<angerman>
hi wilornel
<wilornel>
no no, adding sudo to the command did not solve it, sorry
<dmj`>
I clone this haskell repo, cd into it, then call nix build once, it builds, then call it again and the whole thing rebuilds
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<gchristensen>
dmj`: the first nix-build is creating a ./result link which is then changing the src to the second nix-build
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vNcHQ
<NixOS_GitHub>
nixpkgs/master 17453b2 Will Dietz: snowman: Drop qt4 variant...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 9af3b9d adisbladis: Merge pull request #33868 from dtzWill/snowman-deprecate-qt4...
nithor has quit [Ping timeout: 256 seconds]
<angerman>
wilornel: well, I'll be digging into the nixops python code today I guess.
<dmj`>
gchristensen: so then on the third nix build it should just show the path then right
<wilornel>
oh nice! I didn't know it was runninh on python
<gchristensen>
dmj`: no because now the result symlink points to a _new_ output, forever
rardiol1 has joined #nixos
<dmj`>
gchristensen: so under what circumstances do I call nix build and just the path shows up.
joshuaks has joined #nixos
<gchristensen>
dmj`: rm result; nix-build
<gchristensen>
run that twice
<joshuaks>
Hey, I'm trying to install a python application with pip2nix but I'm not having any luck.
<joshuaks>
It looks like it spit all the dependencies into an out file but upon installation I keep getting "error: expression does not evaluate to a derivation".
<dmj`>
gchristensen: shouldn't all derivations filter source to not include the result symlink then
<gchristensen>
no, because that isn't a universally true thing, though I do know it is annoying
<gchristensen>
you can apply your own filtering if you'd like!
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis closed pull request #33867: mendeley: add update script, use it, add myself as maintainer (master...update/mendeley-1.17.13-and-update-checker) https://git.io/vNcwm
NixOS_GitHub has left #nixos [#nixos]
nithor has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
<wilornel>
`nix-env -iA nixos.myPackages` will check in ~/.config/nixpkgs/config.nix. Is it possible to get it to check for config.nix in a different, specific directory? What about the current directory?
pkill9 has joined #nixos
<tilpner>
wilornel - Do you just want to define myPackages elsewhere, or do you want that exact command to check elsewhere?
_habnabit has quit [Remote host closed the connection]
<wilornel>
With ` myNewPackages = pkgs.buildEnv {` as the first line, it complains about pkgs being undefined
<wilornel>
wait trying something else
<plakband>
I'm having some trouble with the graphics drivers on a macbook, and I came across the suggestion to try kernel branch 4.9. How do I change my kernel version?
<tilpner>
wilornel - You can define package like "let pkgs = import <nixpkgs> {}; in ...", and pkgs will be available in ...
rain1 has quit [Ping timeout: 276 seconds]
<tilpner>
*can define pkgs
<wilornel>
good, that worked, and now it complains that emacs is undefined
<wilornel>
nixos.emacs is also undefined
<wilornel>
pkgs.emacs is what I want?
<wilornel>
ah right right
<wilornel>
alright, it's installin
<wilornel>
alright, now there is a collision because in ~/.config/nixpkgs/config.nix I declared `stow` to be installed and similarly in myproject/default.nix
<tilpner>
plakband - You are running NixOS, right? You can set boot.kernelPackages = pkgs.linuxPackages_4_9;
nithor has quit [Ping timeout: 255 seconds]
loli has quit [Ping timeout: 256 seconds]
Supersonic112 has quit [Disconnected by services]
dag has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] catern opened pull request #1801: remote_store: register for NIX_REMOTE=unix://path (master...master) https://git.io/vNc7T
NixOS_GitHub has left #nixos [#nixos]
plakband has quit [Ping timeout: 256 seconds]
dag is now known as Guest11008
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
nithor has joined #nixos
dag_ has quit [Ping timeout: 255 seconds]
plakband has joined #nixos
ssmike has joined #nixos
<plakband>
my connection died, if someone answered my question I might have missed it, sorry
markus1199 has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
s33se_ has joined #nixos
<fearlessKim[m]>
plakband in those cases, go to riot.im to see the logs
<tilpner>
plakband - You can set boot.kernelPackages = pkgs.linuxPackages_4_9;
<tilpner>
pmeunier - Hey! Is the "Compiling Rust crates using Nix instead of Cargo" HelloWorld example you added a month ago supposed to work yet? I'm getting a panic https://git.io/vNcdJ
Guanin has joined #nixos
ssmike has quit [Ping timeout: 276 seconds]
<Guanin>
I have a mdadm raid on luks volumes. is there any way to write this with a keyfile in the configuration? fileSystems.<name?>.encrypted seems to be able to unlock only one filesystem at once, correct?
<tilpner>
angerman - nixpkgs/nixos/modules/security/wrappers/default.nix +183 mentions "Remove the old /var/setuid-wrappers path from the system... this is only necessary for upgrades 16.09 => 17.x;"
<tilpner>
Curiously, the update code doesn't look like it's intended to handle a tmpfs, so that's still a mystery
<angerman>
tilpner: what do you mean by reboot? (init 6)
<angerman>
That I did (a few times already actually)
<tilpner>
I don't know, I just googled what init 6 does. Intuitively I would expect /run/booted-system to point a 18.03 system generation after rebooting from one though
<dmj`>
gchristensen: yea, that worked
<tilpner>
*to point to a
nithor has quit [Ping timeout: 256 seconds]
fpletz has quit [Ping timeout: 252 seconds]
fpletz has joined #nixos
<tilpner>
Would it be a problem to try a reboot without init 6?
<angerman>
What command would you run to reboot the system other than init 6?
<angerman>
So the issue might be that the booted-system isn’t updated?
<tilpner>
I use "reboot", but apparently "systemctl reboot" is preferred
<tilpner>
That might not itself be the issue, but it is very suspicious. The real issue might be related to the reason booted-system is still ancient
<angerman>
Maybe I need to attach some vnc to the server to see what happens during the boot sequence.
fpletz has quit [Ping timeout: 256 seconds]
<tilpner>
Have you looked through journalctl -b?
<angerman>
Didn’t see anything suspicious, but didn’t look out for booted system Version stuff. Will do after lunch.
nithor has joined #nixos
fpletz has joined #nixos
nithor has quit [Ping timeout: 256 seconds]
nithor has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nithor has quit [Ping timeout: 276 seconds]
schoppenhauer has quit [Ping timeout: 276 seconds]
schoppenhauer has joined #nixos
klntsky has quit [Ping timeout: 272 seconds]
<tilpner>
Why is blender in applications/misc instead of e.g. applications/graphics?
nithor has joined #nixos
babyflakes has joined #nixos
<amfl>
Some time ago I posted in here, > Anyone know is multimc is broken? I'm getting "This application failed to start because it could not find or load the Qt platform plugin "xcb"" when I try to run it.
<tilpner>
angerman - That should open a voxel editor. If it does, please try painting a little chaos, then saving/exporting it
<angerman>
tilpner: it's going to take a while building a bunch of packages.
<angerman>
could it be that the grub update didn't work?
<angerman>
and that's why I keep getting the stale systemConfig?
<tilpner>
angerman - And yes, that sounds completely wrong. You use "nixos-rebuild boot" or "nixos-rebuild switch", right?
<tilpner>
angerman - Your bootloader configuration could be wrong
<angerman>
switch
ajp_ has joined #nixos
<tilpner>
angerman - On boot you get a list of generations to choose from, the VNC you mentioned might help you check that it boots the latest one, as opposed to the earliest one
<tilpner>
angerman - After reboot and before a nixos-rebuild, what does nixos-version say on the target??
<vaibhavsagar>
angerman: are you doing NixOps things?
<angerman>
I'm trying to...
<vaibhavsagar>
I think it uses the 16.09 image in the bootstrapping process
<angerman>
I think my configuration.nix just misses some boot parts.
<tilpner>
Using the sha1 should force a download: nix-shell -I nixpkgs=https://github.com/tilpner/nixpkgs/archive/f78a1ef72a32e6bdb13a588df136d23c7299d533.tar.gz -p goxel --run goxel
nithor has joined #nixos
ma27 has joined #nixos
Guanin has quit [Ping timeout: 256 seconds]
<angerman>
just a sec
<angerman>
alrigth here we go again.
<angerman>
I still don't know why my grub is not updated.
<angerman>
tilpner: same error
<tilpner>
Okay, thanks for trying, I'll leave this to someone else :)
dtulig has quit [Ping timeout: 268 seconds]
cransom has quit [Ping timeout: 256 seconds]
ma27 has quit [Ping timeout: 256 seconds]
Guanin has joined #nixos
asuryawanshi has joined #nixos
krey has quit [Ping timeout: 276 seconds]
MP2E has joined #nixos
asuryawanshi has quit [Ping timeout: 256 seconds]
rauno has quit [Ping timeout: 256 seconds]
slack1256 has joined #nixos
cinimod has joined #nixos
<cinimod>
If I do `nix-channel --list` I get nothing - I don't know what this is telling me
<NixOS_GitHub>
[nixpkgs] bjornfor opened pull request #33889: bitscope: create derivations with version info (master...bitscope-version) https://git.io/vNCev
NixOS_GitHub has left #nixos [#nixos]
orivej has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
MichaelRaskin has quit [Quit: MichaelRaskin]
JosW has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
nithor has joined #nixos
taktoa has quit [Remote host closed the connection]
jb55 has quit [Ping timeout: 256 seconds]
nithor has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] lschuermann opened pull request #33890: openvpn: add option to store credentials (master...openvpn-auth-user-pass) https://git.io/vNCvG
Supersonic112 has quit [Ping timeout: 248 seconds]
erictapen has quit [Ping timeout: 248 seconds]
Tucky has joined #nixos
erictapen has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
<Aleksejs>
What software would you recommend for managing wifi printers?
<hyper_ch>
aren't wifi printers just a huge pita?
<Aleksejs>
why?
asuryawanshi has joined #nixos
Supersonic112 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ashgillman opened pull request #33892: mrtrix3: init at 0.3.16 (master...add-mrtrix3) https://git.io/vNCf7
NixOS_GitHub has left #nixos [#nixos]
klntsky has joined #nixos
<hyper_ch>
because they are
<Aleksejs>
well it doesn't answer my question, does it?
ertes-w has joined #nixos
zzamboni has quit [Quit: Leaving.]
nithor has joined #nixos
zzamboni has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
zzamboni has quit [Client Quit]
nithor has quit [Ping timeout: 255 seconds]
zzamboni has joined #nixos
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<angerman>
ahh... so my hoster took away pvgrub. and I'm left to choose between a hosted xen or PV kernel.
<angerman>
how do I figure out that now?
nithor has joined #nixos
klntsky has quit [Ping timeout: 272 seconds]
<rauno>
hey, are there any documentation about connection nixos to network storage like ceph ?
Arcaelyx has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
Tucky has quit [Remote host closed the connection]
rauno has quit [Ping timeout: 256 seconds]
<srhb>
rauno: lejonet is (re-)packaging ceph for NixOS which should help :)
hotfuzz_ has joined #nixos
Tucky has joined #nixos
hotfuzz has quit [Ping timeout: 255 seconds]
zzamboni has quit [Quit: Leaving.]
justan0theruser has quit [Read error: Connection reset by peer]
justanotheruser has joined #nixos
nithor has joined #nixos
jensens has joined #nixos
zzamboni has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
alex`` has joined #nixos
zzamboni has quit [Remote host closed the connection]
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
zzamboni has quit [Client Quit]
zzamboni has joined #nixos
nithor has joined #nixos
dbe_ has joined #nixos
bkchr has joined #nixos
<bkchr>
Hi, I found the following in a expression"impureEnvVars = stdenv.lib.fetchers.proxyImpureEnvVars;". If I understand that right, that allows network connection while building a package?
<pmeunier>
tilpner: sorry for the late answer, it is supposed to work.
<pmeunier>
tilpner: you can fix your problem by deleting ~/.cargo/nix-cache (and I'd love to know what you've been doing to get a non-sqlite3 database with that filename, please report on https://nest.pijul.com/pmeunier/nix-rust).
pkill9 has joined #nixos
aarvar has quit [Ping timeout: 256 seconds]
nithor has joined #nixos
patrl has joined #nixos
lonokhov has joined #nixos
lonokhov has quit [Client Quit]
lonokhov has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
orbekk has quit [Quit: WeeChat 1.9.1]
alexteves has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pkill9 has quit [Remote host closed the connection]
<tilpner>
pmeunier - Yes, I did that after strace-ing carnix. My assumption was that an older version of carnix wrote that file, but you seem to say that's wrong. I can't think of another explanation though...
<NixOS_GitHub>
[nixpkgs] dywedir opened pull request #33895: tokei: 6.1.2 -> 7.0.0 (master...tokei) https://git.io/vNCGs
NixOS_GitHub has left #nixos [#nixos]
sigmundv_ has joined #nixos
<tilpner>
Am I supposed to nag about merging PRs? I know it's only been 5 hours, I'm not at all saying this should be merged already. I just want to know if I'm actually just annoying and redundant. Is someone going through PRs to merge them, or are people supposed to bring it up?
nithor has joined #nixos
a6a3uh has joined #nixos
<tilpner>
I get that some infrastructure PRs need discussion, but adding a new package probably just needs an "ok, doesn't look wrong. ok, binary runs" check
MP2E has quit [Remote host closed the connection]
Itkovian has quit [Remote host closed the connection]
<bennofs[m]>
tilpner: maybe you should nag someone about commit rights 🙂
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vNCZE
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master fad6250 zimbatm: Revert "aws_shell: move to pythonPackages"...
TonyTheLion has quit [Ping timeout: 260 seconds]
nithor has quit [Ping timeout: 276 seconds]
<tilpner>
Nah, way too early for that. I'm just trying to better understand contribution flow, because I feel bad about bothering people with a PR, but also want to avoid weeks-old PRs that might eventually break or need rebasing
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vNCZw
<NixOS_GitHub>
nixpkgs/master 1775b03 zimbatm: Revert "awscli: move to pythonPackages"...
NixOS_GitHub has left #nixos [#nixos]
dywedir has joined #nixos
pkill9 has joined #nixos
pkill9 has quit [Remote host closed the connection]
zzamboni has quit [Remote host closed the connection]
zzamboni has joined #nixos
georges-duperon has joined #nixos
zzamboni has quit [Remote host closed the connection]
fuyuuri has quit [Ping timeout: 268 seconds]
zzamboni has joined #nixos
<Aleksejs>
I asked before how to get a GUI for wifi printers. Turns out you have to install cups+avahi, enable both services and UI is available via localhost:631. You only need ppd file for each printer model. Works perfectly!
<NixOS_GitHub>
[nixpkgs] rnhmjoj opened pull request #33897: Avoid package attributes starting with a digit (master...digits) https://git.io/vNC4p
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] oxij opened pull request #33898: nixos: doc: implement related packages in the manual (again) (master...nixos/related-packages-v5) https://git.io/vNC4h
NixOS_GitHub has left #nixos [#nixos]
dbe_ has joined #nixos
patrl has joined #nixos
nithor has quit [Ping timeout: 256 seconds]
<FRidh>
SSL connect error with a nix multi-user installation when fetching a path as root. The issue does not occur when using the daemon. A proxy is configured both in /etc/environment for users, and as an override for the nix-daemon systemd service. Root itself can fetch, but not using nix.
fyuuri has quit [Ping timeout: 256 seconds]
lezed1 has quit [Quit: Connection closed for inactivity]
<Mic92>
FRidh: the nix daemon probably does not pass the proxy down to the fetcher builder.
<Mic92>
(my guess)
<Mic92>
You can probably take a look at /proc/<pid>/environ where <pid> is the builder trying to download something.
<Mic92>
If that's the case a transparent proxy might help
<FRidh>
I'll have a look, but this is as root, in which case the daemon is not actually used.
<FRidh>
although the issue is actually more about the masking
pkill9 has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] antonxy opened pull request #33899: Lightworks: use old portaudio 2014 (master...lightworks2) https://git.io/vNC0N
NixOS_GitHub has left #nixos [#nixos]
pkill9 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c closed pull request #33652: libvncserver: reduce dependencies; only use systemd on linux (master...libvncserver-deps) https://git.io/vNq8g
NixOS_GitHub has left #nixos [#nixos]
pkill9 has quit [Remote host closed the connection]
<Mic92>
FRidh: impureEnvVars contains your proxy variable names?
nithor has joined #nixos
TonyTheLion has joined #nixos
<TonyTheLion>
hello
<TonyTheLion>
I wondered if you can pass a dependency to a nix derivation as an argument to the derviation?
<TonyTheLion>
or if you can get nix to see it without explicitly having to call 'callPackage', if its a local dependency?
<joko>
Hello, any idea why the nfs-utils package requires gcc as runtime dependency?
<TonyTheLion>
joko: I suppose its probably not been setup properly
nithor has quit [Ping timeout: 255 seconds]
<TonyTheLion>
there's a nix pill about having a build-time dependency still show up as a run-time dependency
<Mic92>
joko: maybe it has gcc as string somewhere in its binary.
<Mic92>
you can check with `strings` from binutils
<joko>
Mic92: would "for e in $(find -executable); do strings "$e" | grep gcc; done" in its bin dir be enough? it shows nothing
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
playX has joined #nixos
<playX>
Why i cant install themes to plasma?
ryantrinkle has quit [Ping timeout: 276 seconds]
<jasonmj>
sorry for such a noob question here, but for some reason my configuration.nix always reverts when i reboot. nixos-rebuild switch appears to run successfully
fyuuri has quit [Ping timeout: 265 seconds]
<lassulus>
is /boot mounted?
<jasonmj>
yes, it mounts during startup
<Mic92>
is the new created boot entry also the one you see in grub/systemd-boot
<Mic92>
?
<jasonmj>
i'm using uefi on an old macbook pro. pretty sure its systemd that i'm using... there's only one option upon startup "Nixos"
jluttine has joined #nixos
<Mic92>
In systemd-boot you will see all entries, so I assume you have grub2 on your system.
<Mic92>
You can press a key to see all entries. Also I forgot which one it was.
ilyaigpetrov has joined #nixos
<Dezgeg>
grub2 should show two entries
<Dezgeg>
so that doesn't sound like it
<Dezgeg>
(the default profile and a sub-menu for the rest)
<Mic92>
jasonmj: did you configure systemd-boot manually at some point?
<jasonmj>
i have rEFInd installed, but i think nixos installed a boot loader over that
<jasonmj>
i have not configured systemd-boot manually
raynold has quit [Quit: Connection closed for inactivity]
grumble has quit [Quit: Well, would you look at the time. I've almost missed my ambiguous, non-existent appointment that I have scheduled just when I start to lose interest in my current conversation.]
<jasonmj>
except, before running nixos-generate-config, i also made sure to mount the boot partition to /boot
<jasonmj>
except, before running nixos-generate-config, i also made sure to mount the boot partition to /mnt/boot
<etu>
Mic92: Sounds like systemd-boot to me, because if you have only one entry in systemd-boot, it doesn't show version and build date and things. Grub doesn't change such things.
<Mic92>
Ok. I rarely have only one version installed
<etu>
jasonmj: Could you paste your configuration.nix?
<Mic92>
jasonmj: do you have two boot partitions by accident?
<Mic92>
one you installed nixos the first time and the other you try to update in nixos-rebuild switch
grumble has joined #nixos
<etu>
jasonmj: Is it the ESP you mounted or /boot or a separate not vfat partition on /boot?
playX has quit [Quit: Page closed]
<jasonmj>
there are two boot partitions and two drives
<jasonmj>
i wasnt sure what rEFInd had done, but there was 1 boot partition at the beginning of each of my two physical drives
TonyTheLion has quit [Ping timeout: 260 seconds]
<jasonmj>
this is my second time installing nixos, the first time the installer automatically used the boot partition at sdb1
<Mic92>
maybe the nixos-generate-config swapped partitions this time
<jasonmj>
so that's what i mounted to /mnt/boot before installing, even though my nixos ext4 and swap partitions are on sda4 and sda5
<Mic92>
or actually you did,
<Mic92>
try to add your other boot partition as /boot in configuration.nix and perform an update.
<jasonmj>
sounds like it should be sda1 instead
nithor has quit [Ping timeout: 256 seconds]
<etu>
I would go with /dev/disk/by-uuid/... paths to drive in case they change
<etu>
It's rare, but may happen
<etu>
Or rather, it happens every boot on my laptop if I have a usb-stick plugged in.
<jasonmj>
should this change be in ./hardware-configuration.nix?
<jasonmj>
well this is bizarre... both boot partitions, sda1 and sdb1 have the same uuid: 67E3-17ED
<etu>
wow
<jasonmj>
no clue how that happened... rEFInd perhaps?
nithor has joined #nixos
<Mic92>
jasonmj: you can try to assign fat label to the right partition and use /dev/disk/by-label instead.
sivteck has joined #nixos
sivteck has left #nixos [#nixos]
<FRidh>
Mic92: turned out I mixed up a http with a https in /etc/environment
<Mic92>
FRidh: makes sense
<jasonmj>
i'm comparing the EFI dirs on both sda1 and sdb1 -- they look similar, but i'm assuming since my ext4 partition for nixos is sda4, i should use sda1 as for boot instead of sba1
reinzelmann has quit [Quit: Leaving]
rauno has joined #nixos
seanparsons has quit [Ping timeout: 265 seconds]
xcmw has joined #nixos
seanparsons has joined #nixos
endformationage has joined #nixos
MercurialAlchemi has quit [Ping timeout: 256 seconds]
<jasonmj>
ok, i re-labeled sda1, mounted that at /boot instead of sdb1, then ran nixos-rebuild switch... it appears to have been successful, i will reboot to check
jasonmj has quit [Remote host closed the connection]
fre has quit [Ping timeout: 276 seconds]
rauno has quit [Ping timeout: 240 seconds]
la_putin has quit [Read error: Connection reset by peer]
nithor has quit [Ping timeout: 256 seconds]
jasonmj has joined #nixos
<jasonmj>
success! thank you Mic92!
peacememories has joined #nixos
<Mic92>
you are welcome.
jasonmj has quit [Client Quit]
dbe_ has quit [Ping timeout: 240 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cransom has joined #nixos
nithor has joined #nixos
rauno has joined #nixos
fre has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
Taneb has quit [Ping timeout: 252 seconds]
fendor has joined #nixos
sdhand has quit [Ping timeout: 255 seconds]
rauno has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] y0no opened pull request #33902: bettercap: init at 1.6.2 (master...add_bettercap) https://git.io/vNCQJ
<andi->
woffs: yea... reverting or not reverting is the big question
asuryawanshi has joined #nixos
pkill9 has joined #nixos
<woffs>
And, how to fix meltdown on 32bit? Or just don't care?
<andi->
it is pretty simple a) they do not provide any benefit unless you have one of the enterprise distro kernels that might alreayd carry further mitigations or b) they are as bad or worse as before and at best a preparation for future release
<andi->
+s
zzamboni has quit [Ping timeout: 255 seconds]
fyuuri has quit [Ping timeout: 276 seconds]
<andi->
woffs: no idea about 32bit.. I saw an article on that topic the other day but I am seriously sick of the fear teh world is going to end due to those bugs :-)
<woffs>
the world is going to end because of the bugfixes!
ssmike has quit [Remote host closed the connection]
<infinisil>
the world is gonna end less because of the bugfixes
ssmike has joined #nixos
<infinisil>
only 10-30% slower in comparison to a compromised system
<andi->
the world is alreayd gone, we were live-migrated into a VM running on an IBM Mainframe.
<woffs>
and so many fucked-up systems which havent been rebooted for years and now break
<andi->
they break because the admin didn't bother checking if they would still reboot or because of the updates?
nuncanada has joined #nixos
nithor has quit [Ping timeout: 256 seconds]
dbe_ has joined #nixos
coot___ has joined #nixos
<woffs>
:-)
pkill9 has quit [Read error: Connection reset by peer]
coot____ has quit [Ping timeout: 276 seconds]
Tucky has quit [Ping timeout: 256 seconds]
<woffs>
because of lacking checking, but the recent buggy hot-fixes are a bit catastrophic, though
<woffs>
much work for what
dbe_ has quit [Ping timeout: 240 seconds]
nithor has joined #nixos
<andi->
the inherent problem with the microcode updates is: you do not know what they actually do. When intel says those fix/change/alter the meltdown/spetrce/$issue stuff they might as well do something that nobody expects to mitigate yet unknown issues... closed source is just not fun :/
ryanartecona has quit [Quit: ryanartecona]
nithor has quit [Ping timeout: 256 seconds]
<hodapp>
to be fair, you already had no idea what the processor was really doing.
pkill9 has joined #nixos
ssmike has quit [Remote host closed the connection]
bkchr has quit [Ping timeout: 256 seconds]
coot___ has quit [Quit: coot___]
<hodapp>
the new microcode is closed source, yes... replacing old microcode that's also closed source, targeting internals that are completely closed.
<infinisil>
RISC-V ftw
nithor has joined #nixos
<hodapp>
infinisil: RISC-V does interest me but thus far I've only seen its microcontroller variants put into production
<andi->
I estimate at lest 7y before RISC-V will be anywhere useable for a "computer" (As in not your random hard disk controller)
lonokhov has quit [Quit: leaving]
nithor has quit [Ping timeout: 255 seconds]
<hodapp>
why 7 years?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] lschuermann opened pull request #33905: sudo: define extra rules in Nix language (master...sudo-extra-rules) https://git.io/vNWvA
NixOS_GitHub has left #nixos [#nixos]
Neo-- has joined #nixos
nithor has joined #nixos
bkchr has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] andir opened pull request #33906: miniupnp{d,c} updates, fix for CVE-2017-1000494 (master...miniupnp) https://git.io/vNWJO
NixOS_GitHub has left #nixos [#nixos]
jensens has quit [Ping timeout: 256 seconds]
nithor has quit [Ping timeout: 255 seconds]
bfrog has joined #nixos
goibhniu has quit [Ping timeout: 264 seconds]
bkchr has quit [Remote host closed the connection]
bkchr has joined #nixos
ma27 has joined #nixos
jb55 has joined #nixos
Lisanna_ has joined #nixos
nithor has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
bkchr has quit [Ping timeout: 268 seconds]
ssmike has joined #nixos
swayf_ has quit [Remote host closed the connection]
swayf_ has joined #nixos
<andi->
hodapp: guesstimate
swayf has joined #nixos
<gchristensen>
WAG? :)
klntsky has joined #nixos
swayf has quit [Ping timeout: 265 seconds]
aprokurov has joined #nixos
<aprokurov>
Can i install Guix in Nix? I just want to try it
ssmike has quit [Remote host closed the connection]
ryantrinkle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master af9724d Tim Steinbach: vscode: 1.19.1 -> 1.19.2
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vNWIm
<wilornel[m]>
Guix is based no Nix? What is it like? Why would one want to use Guix instead of nix?
jsgrant_ has joined #nixos
<civodul>
wilornel[m]: perhaps best discussed on #guix, but basically Guix attempts to provide better OS and deployment integration by using a single language and toolset
<concatime>
Did someone get GPU pass-through working?
* jsgrant_
is determined to fix this kworker bug today or tomorrow; Looks like I just have to perssistently write to /sys/firmware/acpi/interrupts/gpe13 to set to disable.
stephenjudkins has joined #nixos
nithor has joined #nixos
<jsgrant_>
Looks like I might just need to add a 'cron' service to my conf.nix
<hodapp>
civodul: can one make it coexist peacefully with Nix/NixOS though?
asuryawanshi has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
<jsgrant_>
Okay, will bbl; Going to work on this later -- might pester people in here, if I can't figure it out but may have already got it done/fixed. :^I
<jsgrant_>
Peace. o/
jsgrant_ has quit [Quit: leaving]
asuryawanshi has quit [Ping timeout: 276 seconds]
aprokurov has quit [Ping timeout: 260 seconds]
hakujin has joined #nixos
MichaelRaskin has joined #nixos
sigmundv_ has joined #nixos
jsgrant_ has joined #nixos
<jsgrant_>
Ooookay, I thought was going to be a lot bigger deal and/or a lot more gotchas than that...! Stunned; Two lines in my config; That's great.
<jsgrant_>
Still going afk & will be back later; But honestly floored. :^)
<hakujin>
hi, new to nix and am curious how I would go about including ruby gems/executables (e.g. `rake`) in a nix-shell session for a primarily haskell project. I have the ruby bits and haskell bits working successfully separately.
tmaekawa has joined #nixos
<hakujin>
where ruby bits are generated via `bundix` and haskell bits are generated via `cabal2nix`. I end up with two `default.nix` files and am unsure how to combine them; ruby seems to use `mkDerivation` but the haskell tooling appears to have some abstraction.
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<elvishjerricco>
Ever since the stackage 10 switch, lots of haskell modules are failing to build due to `cannot find -ltinfo`. Anyone know how to properly fix this?
coot___ has quit [Ping timeout: 256 seconds]
<elvishjerricco>
Does `ghc` have to link `-L${ncurses}/lib` by default now?
ckauhaus has joined #nixos
oida has quit [Ping timeout: 255 seconds]
<elvishjerricco>
ghcjs won't build, for example. That's a pretty big failure
<disasm>
hakujin: this is not my expertise at all, but what I'd do is do something like let bundler_env = bundlerEnv rec { ... }; haskellPackages = something; in stdenv.mkDerivation { buildInputs = [ bundler_env.foo haskellPackages.bar ]; };
<hakujin>
disasm: ah! alright, I'll give that a shot. thanks.
asuryawanshi has quit [Remote host closed the connection]
aarvar has joined #nixos
ssmike has quit [Remote host closed the connection]
rauno has joined #nixos
nallar has joined #nixos
concatime has quit [Quit: Page closed]
Ross has quit [Ping timeout: 276 seconds]
raynold has joined #nixos
mg_ has joined #nixos
cinimod has quit [Quit: Connection closed for inactivity]
concatime has joined #nixos
ckauhaus has quit [Remote host closed the connection]
<mg_>
I'm trying to build a derivation for a program that has a Makefile that calls wget. When running wget by itself I have no problems, but when running nix-build I get Unable to locally verify the issuer's authority.
<mg_>
Do I have to include certs in the buildprocess somehow?
mahalel_ has quit [Remote host closed the connection]
bpa has joined #nixos
<andromeda-galaxy>
Is there some way to get essentially a lazy version of the // operator? I would like to be able to use something like 'fix (self: (self.doSomeThing) // { doSomeThing = ...; })'
mahalel_ has joined #nixos
simendsjo has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
nithor has joined #nixos
<rauno>
is it possible to configure nixos two network interfaces into a team?
<rauno>
bonding seems to work but what about teaming
coot____ has quit [Quit: coot____]
nithor has quit [Ping timeout: 265 seconds]
rauno has quit [Ping timeout: 255 seconds]
orivej has joined #nixos
simendsjo has joined #nixos
aborsu has joined #nixos
concatime has quit [Ping timeout: 260 seconds]
fendor has quit [Ping timeout: 248 seconds]
nithor has joined #nixos
hotfuzz_ has quit [Quit: WeeChat 2.0]
aborsu has quit [Remote host closed the connection]
<nixy>
dtz: I've seen nixops goof in a lot of ways but I've never seen that before
<nixy>
nixops doesn't actually control virtualbox so it's possible that you may have made changes to virtualbox that are causing a nixops script to mess up
<dtz>
okay, I'll investigate. I didn't.. mean to? but i'll take a look. Lots of help to know difference between "known problem" and "works for me" :)
swayf__ has joined #nixos
swayf has quit [Read error: Connection reset by peer]
<nixy>
I'm not terribly familiar with how NixOps works, but I know having accidentally fiddled with virtualboxes settings gave me problems in the past
ckauhaus has quit [Remote host closed the connection]
marusich has joined #nixos
<chaker>
Hey, at work we have Hydra server that use S3 as nix store. I want to add a jobset in the server as a nix channel. However it seems that Hydra only support Local stores for that. So is there a way to use the s3 store as a nix-channel?
apeyroux has quit [Remote host closed the connection]
ryantrinkle has joined #nixos
athan has quit [Quit: Lost terminal]
<bpa>
netflix doesn't work with nightly (firefox), it's the only version of firefox I know
m0rphism has quit [Quit: WeeChat 1.9.1]
Lisanna_ has quit [Quit: Lisanna_]
<chaker>
bpa: You need to try Firefox Quantum
<gchristensen>
nightly received Quantum like 8mo ago, chaker :)
plakband has joined #nixos
sadkaksdkasd has quit [Ping timeout: 260 seconds]
hakujin has quit [Ping timeout: 265 seconds]
knupfer has quit [Ping timeout: 248 seconds]
bkchr has joined #nixos
<i-am-the-slime>
aborsu: I wish I didn't have to, but I guess I will give it a go.
JosW has quit [Quit: Konversation terminated!]
dan_b has joined #nixos
Itkovian has joined #nixos
Drakonis has joined #nixos
<bpa>
I have the latest and greatest from the unstable channel, nightly doesn't seem to work with netflix but it's ok for now, I am happy with chrome, thank you
ckauhaus has joined #nixos
dbe_ has quit [Ping timeout: 240 seconds]
m0rphism has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
ssmike has quit [Remote host closed the connection]
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
bpa has quit [Read error: Connection reset by peer]
bpa has joined #nixos
chaker has quit [Quit: WeeChat 1.9.1]
asuryawanshi has quit [Ping timeout: 248 seconds]
stephenjudkins has quit [Ping timeout: 248 seconds]
hamishmack has quit [Quit: hamishmack]
ckauhaus has quit [Ping timeout: 256 seconds]
m0rphism has quit [Quit: WeeChat 1.9.1]
ckauhaus has joined #nixos
<boxofrox>
when creating containers declaratively in configuration.nix, are paths inside the `containers.<name> {}` attrSet relative to configuration.nix on the host, or in the container filesystem namespace?
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
ckauhaus has quit [Read error: Connection reset by peer]
ckauhaus has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
rardiol1 has left #nixos [#nixos]
Lisanna has joined #nixos
ckauhaus has quit [Ping timeout: 268 seconds]
<samueldr>
paths are relative to the file
<samueldr>
so, on the host to answer your question
ssmike has joined #nixos
<samueldr>
but let's say you imported the declaration through `imports = [ ./some/other/folder/containers.nix ];` the paths would be relative to that containers.nix file and not configuration.nix
<Lisanna>
anyone know off the top of their head if I could run chroot inside the nix sandbox?
bkchr has quit [Ping timeout: 256 seconds]
_c_ has left #nixos ["-"]
concatime has joined #nixos
<boxofrox>
samueldr: thanks.
bpa has quit [Read error: Connection reset by peer]
<concatime>
Hi. Does someone know how to solve this message `Failed to find module 'snd_pcm_oss'`?
bpa has joined #nixos
nithor has quit [Ping timeout: 256 seconds]
jensens has joined #nixos
simendsjo has quit [Ping timeout: 248 seconds]
athan has joined #nixos
<i-am-the-slime>
Does anybody know how I can solve "Could not open connection to ssh-agent (you must enable key forwarding)"?
<nixy>
i-am-the-slime: Where are you seeing that? What are you trying to do when it comes up?
<boxofrox>
concatime: what kernel version are you on? `uname -r`
<i-am-the-slime>
I'm running a tool with ssh -A
<i-am-the-slime>
I just realised that I might be able to ignore that error, actually
<concatime>
Latest, 4.14.13
<nixy>
i-am-the-slime: I mean, it sounds like you might just not have an ssh-agent running
<i-am-the-slime>
but for some reason I'm not being asked for my username/password
ckauhaus has joined #nixos
<i-am-the-slime>
nixy: How would I run the agent?
Thra11 has joined #nixos
hakujin has joined #nixos
<nixy>
eval `ssh-agent -s` if stack overflow is to be believed
<i-am-the-slime>
I'm so suspicious by now that I think everything is different on nixos
sigmundv_ has joined #nixos
<boxofrox>
concatime: you might check the modules for your kernel to verify snd-pcm-oss.ko is there. `find /nix/store -max-depth 1 -name '*linux-4.14.13*'` will show you the path to your kernel files. then `find /nix/store/KERNEL_PATH/lib/modules/4.14.13/kernel -name 'snd-pcm-oss*'` will verify the module exists.
<nixy>
Well there is an option to start the agent automatically `programs.ssh.startAgent`
<concatime>
s/max-depth/maxdepth
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ciderale opened pull request #33913: kpcli: Fix darwin build (master...fix-darwin-build-of-kpcli) https://git.io/vNWVf
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to release-17.09: https://git.io/vNWVJ
<NixOS_GitHub>
nixpkgs/release-17.09 fea2430 rnhmjoj: nixos/dnscrypt-wrapper: fix rotate script failing to restart the service...
NixOS_GitHub has left #nixos [#nixos]
<boxofrox>
concatime: oops, sorry about that
ckauhaus has quit [Ping timeout: 256 seconds]
<i-am-the-slime>
Like this nixy: programs.ssh.startAgent = true;
<i-am-the-slime>
?
jensens has quit [Ping timeout: 256 seconds]
user__ has quit [Ping timeout: 276 seconds]
<concatime>
find /nix/store/j56bhs6zfcma37f5zdrb6fiq1dbna4wq-linux-4.14.13/lib/modules/4.14.13/kernel -name 'snd-pcm-oss*' gave me nothing.
user__ has joined #nixos
<nixy>
Yup, it's a boolean value
hakujin has quit [Ping timeout: 276 seconds]
vidbina_ has quit [Ping timeout: 256 seconds]
<concatime>
boxofrox: Nothing found
<boxofrox>
concatime: seems that package didn't compile snd-pcm-oss as a module. the driver might be compiled into the kernel, though I'm not sure how to confirm that. I'm using linux-4.9.76 on one of my servers and snd-pcm-oss.ko exists.
ckauhaus has joined #nixos
<concatime>
boxofrox: Maybe I need to add it into availableKernelModules?
<boxofrox>
concatime: my server doesn't specify that module in availableKernelModules, but the module is loaded. :/
<concatime>
I tried to add `"snd_pcm_oss"`, in vain.
<boxofrox>
that would just copy the module into the initrd, I believe. you're still missing the file.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] magnetophon opened pull request #33914: skim: init at 0.3.1 (master...skim) https://git.io/vNWVw
NixOS_GitHub has left #nixos [#nixos]
<plakband>
I'm trying to hook up a second monitor to my macbook but it stays black, even though xrandr detects it. I'm not sure if it's an issue with the configration or the nvidia driver. Do I need to do more configuration than xserver.xrandrHeads = [ "DP-2" "HDMI-0" ]?
<wilornel[m]>
If I can install postgresql from ~/.config/nixpkgs/config.nix (or from a project directory), is it possible to spin up a postgresql server similarly?
<LnL>
sure, if you pass it the correct parameters
<bgamari>
Is there any way to build a "traditional" prefix from a set of packages?
<bgamari>
in NixOS that is
stephenjudkins has joined #nixos
<bgamari>
e.g. with headers appearing in $root/include, libraries in $root/lib, etc.
<LnL>
you could do something with buildEnv + a symlink
<wilornel[m]>
(how do multiline messages appear in an irc client if I am sending them from Riot?)
<wilornel[m]>
I'll hope I didn't break anything
<boxofrox>
concatime: i'd suspect the linux devs either removed the driver or disabled it by default. nothing in nixos/nixpkgs pops out at me that nixos specifies which modules to build.
<MP2E>
I'm guessing unintentional since there's no reference to snd-pcm-oss in the git log, or OSS in the context of our kernels
<MP2E>
yeah nixpkgs doesn't seem to have any changes related to disabling it or anything
<wilornel[m]>
ah, was that because I was running `nixos-rebuild switch` from inside a virutalenv? is that bad? I thought the virtualenv should not have any effect
<MP2E>
hm
<wilornel[m]>
thanks concatime !
knupfer has joined #nixos
sigmundv_ has quit [Ping timeout: 256 seconds]
<MP2E>
So I've got a closed source kernel module I'm packaging for NixOS, and horribly enough, the binary part makes a direct reference to a firmware file it expects to find in /lib/firmware/
<MP2E>
is there a good Nix way of dealing with this?
<MP2E>
What I did as a quick hack is just copy the firmware over /lib/firmware/ manually... but... yeah... :v i'd rather have a better solution
coot____ has quit [Quit: coot____]
<MP2E>
Guess I'll shoot a message to the kernel module maintainers in the meantime :)
<boxofrox>
soo... to get rid of your error, you'll have to find the thing that's trying to load the snd-pcm-oss module and make it stop :)
<concatime>
boxofrox: Let's have some fun ;) /s
<ocharles>
Does Nix cache which outputs are available at substitutes? For some reason one machine is insisting on building something, even though a binary cache has it
<ocharles>
I see something about caches in /nix/var/nix
hakujin has joined #nixos
isidore has quit [Quit: WeeChat 2.0.1]
<ocharles>
Yea, I see it's in "NARExistance" how do I refresh that?
<concatime>
boxofrox: `systemd-modules-load`
<concatime>
systemd-modules-load[595]
hakujin has quit [Ping timeout: 255 seconds]
coot____ has joined #nixos
bpa has quit [Read error: Connection reset by peer]
bpa has joined #nixos
coot____ has quit [Client Quit]
babyflakes has quit [Quit: Connection closed for inactivity]
stephenjudkins has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 276 seconds]
hakujin has joined #nixos
asuryawanshi has quit [Ping timeout: 276 seconds]
stephenjudkins has joined #nixos
hakujin has quit [Ping timeout: 276 seconds]
aborsu has quit [Quit: aborsu]
alexteves has quit [Ping timeout: 240 seconds]
simukis has quit [Ping timeout: 276 seconds]
<plakband>
Is there anyone with a macbook with a discrete nvidia graphics card who can link me their config?
ssmike has quit [Ping timeout: 256 seconds]
<plakband>
My external monitor gets recognized, but there's no output
pxc has joined #nixos
Aexoden_ has quit [Remote host closed the connection]
sigmundv_ has joined #nixos
<sphalerite>
plakband: is the output actually turned on?
<plakband>
sphalerite: yes, if I reboot into OS X it works fine
<sphalerite>
plakband: yes but OS X will turn it on automatically. Which desktop environment are you using? Maybe it isn't activated automatically
<plakband>
xmonad
<sphalerite>
try `xrandr --output <name> --auto` and see if anything happens
<sphalerite>
you should be able to find the name of the output by just running xrandr
<catern>
here's some initial output from a tool I am writing which dissects the nix-daemon protocol http://ix.io/Ebq
Neo-- has quit [Ping timeout: 256 seconds]
<plakband>
sphalerite: it appears in xrandr and I can activate it
<plakband>
I can move windows to it and everything
<sphalerite>
but you don't get any output?
<plakband>
nothing
<plakband>
I tried .nvidia-settings-wrapped and it appears as if it's working fine
<sphalerite>
right, ok. Beyond that I don't really know, I don't think I ever got it working on my old laptop (late 2011 15" MBP with intel/radeon hybrid graphics)
<sphalerite>
heck, I didn't get the discrete graphics working at all I think
<sphalerite>
Apple hardware is a pita
<sphalerite>
sorry :(
<plakband>
sphalerite: true, but at least the nvidia driver for the internal display worked out of the box
<sphalerite>
I'm surprised even that worked :p
<plakband>
yeah, integrated graphics don't work at all
<plakband>
but thanks anyway, maybe I'll try the arch irc
<plakband>
I doubt it's a nix-specific problem
Aexoden has joined #nixos
alex`` has quit [Ping timeout: 256 seconds]
<aminechikhaoui>
catern: nice ! is it an external tool that somehow intercept communication in the nix-daemon socket or do you have to change nix itself to print that ?
<catern>
an external tool that intercepts communication
<aminechikhaoui>
sweet, would be interested in playing with that once you have it runnning ;) sometimes I try to debug which parameters are passed or not to the daemon
<aminechikhaoui>
that would be helpful
cement has quit [Ping timeout: 248 seconds]
<sphalerite>
!m catern
<[0__0]>
You're doing good work, catern!
mahalel_ has left #nixos [#nixos]
<sphalerite>
plakband: yeah, depending on the specific model you may need to put some fancy incantations in the GRUB menu or something. Are you booting in BIOS mode?
<sphalerite>
^ incantations in order to switch off the discrete graphics to be able to use the integrated ones. If you want to do that.
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
mahalel_ has joined #nixos
<plakband>
sphalerite: I'm not sure, I think I EFI Boot?
<plakband>
where would I find such incantations
sevcsik has quit [Quit: WeeChat 1.9.1]
woboats has joined #nixos
<samueldr>
could someone confirm that this (with nixos defaults) is enough to detect uefi vs. legacy boot? I can't test on an uefi booted as legacy.
<sphalerite>
and for all I know writing to these random PCI ports might enable your computer's self-destruct feature so YMMV and I don't take any responsibility for the consequences of using them!
<plakband>
alright
<plakband>
tyvm
<plakband>
down the rabbit hole I go
<samueldr>
do you know youe model number plakband?
<sphalerite>
samueldr: I can't confirm it through a test, don't have such a system handy either, but I'm 95% sure the [[ -d /sys/firmware/efi/efivars ]] option is the best
<samueldr>
it helps when searching for applicable solutions
<woboats>
How can I set the prefix when installing nix binaries?
<sphalerite>
woboats: for some rather unfortunate reasons, you won't be able to use binaries at all if you don't use the standard /nix store path and nix will bootstrap everything from source
<sphalerite>
err, by binaries I mean pre-built binaries
CcxWrk has quit [Ping timeout: 260 seconds]
<sphalerite>
if you're ok with "gentoo mode" :p , yeah what symphorien said
<woboats>
sphalerite: will the chroot solution avoid this problem?
<sphalerite>
woboats: yes
<woboats>
I'll look at that, its possible that chrooting to /home/user will work
<sphalerite>
if it works. Depends on whether your kernel has user namespaces enabled
<pkill9>
you can move the nix store to another directory safely, as long as you are able to mount
<woboats>
I do have root access
<pkill9>
i've moved my nix store to my /home partition
<woboats>
I am using qubes, my problem is that nothing outside of the home directory is persisted between reboots of the AppVM.
<sphalerite>
yeah if you can bind-mount something in the home dir to /nix that would also work
<pkill9>
the way i did it is `rsync -va /nix/ /home/nix` which uses 'archive' mode which preserves permissions, etc
<woboats>
Cool, I will try that
<pkill9>
then i put in my fstab a bind mount
<pkill9>
the command to do that is simply `mount --bind /home/nix /nix`
CcxWrk has joined #nixos
<pkill9>
well, that's the command to do a bind mount, not a command to put it in your fstab, lol
<pkill9>
but it's nice to test it to see that it works
stephenjudkins has quit [Remote host closed the connection]
<pkill9>
i dunno what a 'bind mount' is exactly, but it basically lets you 'mount' a directory to another directory
<pkill9>
like mounting a partition toa directory
<MichaelRaskin>
Well, actually it also allows to mount a single file over a file.
Thra11 has quit [Quit: WeeChat 2.0.1]
<woboats>
awesome, I have to remount it but that works, thanks pkill9 sphalerite
alexteves has joined #nixos
<sphalerite>
Great
<pkill9>
nice
<pkill9>
woboats: this is my fstab entry for mounting the nix store on startup, if you need it: '/home/nix /nix none bind'
hamishmack has joined #nixos
<pkill9>
make sure it goes after the /home mount if you have it on a separate partition, otherwise it won't find it due to /home not being mounted yet :P
i-am-the-slime has quit [Ping timeout: 256 seconds]