<clever>
xscreensaver: 00:12:59: already running on display :0.0 (window 0x2400001) from process 23295 (clever@amd-nixos).
<clever>
trylist: maybe, or maybe xscreensaver is supposed to forward it over
<clever>
pie_: you need to uninstall python
<clever>
pie_: nix2 has a bug involving symlinks that point to non-existant files
<clever>
trylist: and just poking around in dfeet for a minute finds inhibit/uninhibit under org.freedesktop.PowerManagement, via interfaces and org.freedesktop.powermanagement.inhibit
<clever>
trylist: dfeet is also a dbus debug util you may find of use
<clever>
trylist: at a glance, thats not even specific to firefox, and can be used to detect if anything is playing audio via pulse
<clever>
i also run synergys, and i suspect it disables dpms without using dbus
<clever>
but i suspect the right dbus thing has to be running, to allow it to work
<clever>
that will explain if it even supports doing this
<clever>
trylist: for chrome, its at this location, but since your using firefox, you would want to check that
<clever>
but in my case, dpms is just plain broken and never goes to sleep
<clever>
trylist: related, i can see chrome trying to turn dpms on/off every time pause/unpause things
<clever>
[28751:519:0803/233526.195462:ERROR:power_save_blocker_x11.cc(330)] No response to Inhibit() request!
<clever>
[28751:519:0803/233526.195430:ERROR:object_proxy.cc(617)] Failed to call method: org.freedesktop.ScreenSaver.Inhibit: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ScreenSaver was not provided by any .service files
<clever>
[28751:519:0803/233526.020873:ERROR:power_save_blocker_x11.cc(403)] No response to Uninhibit() request!
<clever>
semilattice: i see a mix of - and _ and camelcase all over nixpkgs
<clever>
semilattice: try `nix-instantiate '<nixpkgs>' -A js-env -vvvv`
<clever>
semilattice: can you link your pastebin again?
<clever>
i dont think nix supports base64 in hashes?
<clever>
nix2 can auto-detect it, so the config setting the var was removed
<clever>
nix-repl uses nix1, which cant auto-detect that
<clever>
export NIX_REMOTE=daemon
<clever>
nope
<clever>
renaming it will be simpler
<clever>
nix repl parses that as subtraction and breaks
<clever>
only nix-repl can do that
<clever>
semilattice: nix repl cant tab-complete anything with a - in the name
<clever>
semilattice: oh right
<clever>
semilattice: and js-env isnt in nixpkgs, so the override appears to be working
<clever>
semilattice: its a bit hidden and simpler to just comment that line out
<clever>
jasongrossman: id also recomend using the boot sub-command when downgrading
<clever>
semilattice: and its not in the nix package
<clever>
which you can only get by successfully finishing nixos-rebuild
<clever>
semilattice: you would have to run the 17.09 version of generate-config
<clever>
jasongrossman: nixos-generate-config made that entry, but 17.09 conflicts with that default
<clever>
mikky: that is an unquoted path on the normal system, nix will copy the key into /nix/store and make it world-readable
<clever>
jasongrossman: comment that line out in hardware-configuration.nix
<clever>
jasongrossman: try switching to 17.09 next?
<clever>
jasongrossman: try an older stable channel, it may also have the bug? and does `sudo nix-channel --list` show the stable under the name `nixos` exactly?
<clever>
/nix and /nix/store/
<clever>
so those still need mountpoint=legacy and a configuration.nix entry
<clever>
but nixos cant do that for the root or store datasets
<clever>
so you can `zfs set pool/dataset mountpoint=/foo` and it just does what you want
<clever>
mikky, jasongrossman: with the most recent zfs (which nixos has), setting mountpoint= just works
<clever>
emily: thats why i use lvm :P
<clever>
emily: its more of a key to decrypt the master keys
<clever>
Ashy: /nix has snapshots disabled, all others have snapshots enabled
<clever>
Ashy: i typically have a dataset for / /nix /home and then more depending on the use-case of the machine
<clever>
mikky: i also want hibernation
<clever>
emily: and that just gets ugly, lvm is a lot simpler
<clever>
mikky: i limit dedup to the dataset where i keep my virtualbox images and cryptocoin blockchains
<clever>
and then luks asks for 2 passwords on bootup
<clever>
gchristensen: and i want the swap to be encrypted, so it needs to be on luks
<clever>
gchristensen: swap files generally perform worse then dedicated swap block devices
<clever>
jasongrossman: it defaults to only using 50% of the ram at most
<clever>
jasongrossman: typically, it just deadlocks
<clever>
mikky: so i use lvm to squish zfs+swap into a single luks device
<clever>
mikky: swap on zfs isnt stable, and swap on luks + zfs on luks leads to 2 password prompts
<clever>
hodapp: i feel like even mentioning what secrets i am storing may draw in more attackers, lol
<clever>
mikky: or the initrd wont be able to import it
<clever>
mikky: also of note, current nixos zfs requires that you export the pool when your done installing
<clever>
mikky: the justdoit script you where reading earlier supports zfs + swap on lvm on luks
<clever>
jasongrossman: it will ask on the console i believe
<clever>
ive seen a few brave souls using it :P
<clever>
jasongrossman: nixos already supports zfs encryption of boot volumes
<clever>
jasongrossman: ive also seen btrfs have problems with the ratio of metadata to data on nixos, and claim its out of space yet df says it isnt
<clever>
jasongrossman: it then took another 6 hours to delete the .drv files i was making
<clever>
jasongrossman: i had btrfs take 6 hours to do a simple hydra based task, and it ultimately gave up and flagged the FS as read-only, forcing a reboot
<clever>
semilattice: and if you try to eval js-env in `nix repl '<nixpkgs>'` does it print the expected thing?
<clever>
can you pastebin the config.nix?
<clever>
semilattice: is the override in config.nix or configuration.nix?
<clever>
plenty of disk space
<clever>
you can just ignore justdoit then
<clever>
and then it bakes those options into the tarball it generates
<clever>
you can also set the options defined in justdoit, using the configuration.nix file
<clever>
that part is optional, you can also just manually install like you normally would
<clever>
mikky: correct, you have to run justdoit after logging in over ssh
<clever>
sounds good
<clever>
ah, then id try stable next
<clever>
jasongrossman: try a `nixos-rebuild boot` then just reboot
<clever>
sounds like dbus is to blame
<clever>
jasongrossman: what about `journalctl -f -u display-manager` ?
<clever>
jasongrossman: nothing of note, has the gui crashed yet?
<clever>
in that situation, you have no console access and no undo button
<clever>
mikky: i have helped people use this process on their own hardware, but they just lacked a keyboard/monitor to install with, lol
<clever>
mikky: yeah, your undo options depend heavily on the hardware and the tools the datacenter provides
<clever>
mikky: but once you format the disk, you only have one chance to get things right, and will need to reinstall something with the datacenter tools if nixos doesnt boot
<clever>
mikky: that helps when you forget to setup ssh keys, or your network config isnt right
<clever>
jasongro`: ah, check dmesg then, after things fail
<clever>
jasongro`: check to see if any new errors occur when you `systemctl restart display-manager`
<clever>
jasongrossman: anything that looks like an error around the time of failure
<clever>
mikky: the kexec image already has zfs and luks
<clever>
infinisil: ah yeah, i think i saw it a while back
<clever>
yeah
<clever>
check the journal then, `journalctl -b 0` and then scroll to the end with G
<clever>
its possible that only the gui end is having issues
<clever>
watch the logs over ssh and see if its actually hanging
<clever>
jasongrossman: are you able to ssh into the machine?
2018-08-03
<clever>
and the scripts in that git repo will generate a kernel+initrd for nixos, with the full rootfs inside the initrd
<clever>
modern linux systems support kexec, which lets you just execute a new kernel + initrd and replace the currently running OS
<clever>
then you just continue as-if you had started the liveusb
<clever>
this allows you to upload a tar file to the system, run a few shell commands, and then nixos is running entirely from ram, no need for physical access
<clever>
dhess: the crash happens once it has computed the drift rate and it tries to update the drift file on-disk
<clever>
and thats when i ran gentoo
<clever>
the kind of junk that is lost at a simple reboot! :P
<clever>
dhess: and i was insane then, i did the entire setup imperatively, just manually typing in iptables commands and setting static ip's at both ends
<clever>
dhess: i have turned my laptop into a wifi router before, when the hotel didnt have wifi, only an ethernet jack
<clever>
dhess: doing fun things like copying the entire os to ram at boot, over wifi
<clever>
dhess: at the time, i was making new initrd's every week :P
<clever>
dhess: i have also had the fun of getting firmware loading in the initrd, without udev
<clever>
g band only
<clever>
dhess: a old as crap dlink router with the dhcp server disabled :P
<clever>
i dont run my AP's from linux currently
<clever>
dhess: not yet
<clever>
my laptop will prefer the cellphone hotspot, even if its already on the home wifi
<clever>
dhess: once wpa_supplicant is installed, its trivial to have multiple networks and priorities
<clever>
yeah
<clever>
ive had the fun of trying to connect to wpa for the first time with zero warning and not having wpa_supplicant installed :P
<clever>
they change the device<->kernel api with every version
<clever>
and lines 9/10 mean the kernel half supports versions 30 thru 34
<clever>
dhess: the -2 at the end means not found
<clever>
clever@c2d ~ $ perror 2
<clever>
OS error code 2: No such file or directory
<clever>
try one at a time, and check current-system before you reboot
<clever>
or maybe hardware.enableAllFirmware
<clever>
dhess: ive got 2 versions within the range your driver supports
<clever>
-r--r--r-- 1 root root 2.6M Dec 31 1969 /run/booted-system/firmware/iwlwifi-9260-th-b0-jf-b0-34.ucode
<clever>
-r--r--r-- 1 root root 2.6M Dec 31 1969 /run/booted-system/firmware/iwlwifi-9260-th-b0-jf-b0-33.ucode
<clever>
[root@amd-nixos:~]# ls /run/booted-system/firmware/iwlwifi-9260-th-b0-jf-b0-3* -lhL
<clever>
dhess: do any of those files exist in your nix store?
<clever>
you can also insert ls and pwd into the patchPhase to look around and see where things are