<clever>
vika_nezrimaya: just add an outputHash to it
<clever>
bkv: thats for system wide env vars, not nix-shell
<clever>
(Discord:6354): dconf-WARNING **: 14:03:40.905: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
<clever>
cole-h: nope, didnt help, it resets back to recent every time i open the dialog
<clever>
bkv: i dont think functions can be inherited like that, for security reasons, and fish has a different syntax
<clever>
bkv: but youll loose all of the phase functions
<clever>
ornxka: the grub stuff is only for when /boot is encrypted
<clever>
ornxka: but you can always clone nixpkgs at the same rev your currently using, edit stage-1-init.sh to make things simpler (add fail in a few places) and build from that
<clever>
ornxka: if your luks is bare on a partition, your basically screwed, but if the luks is inside an lvm array, then debug1devices will work
<clever>
ornxka: and the preLVMCommands is where luks gets inserted
<clever>
hyper_ch: because ssh hangs when you `kexec -e` and there is no easy way to script around it
<clever>
ixxie: not sure then
<clever>
ixxie: and what are the contents of each?
<clever>
ixxie: what about the /lib/systemd/system/ dir, anything in there?
<clever>
Orbstheorem: builtins.placeholder
<clever>
ixxie: prepare-kexec.service?
<clever>
ixxie: its prepare-kexec
<clever>
ixxie: `systemctl cat kexec.target` and related cmds
<clever>
ixxie: what does the kexec-prepare.service look like on ubuntu?
<clever>
ixxie: from `systemd.special`
<clever>
Applications wanting to reboot the system should not start this unit directly, but should instead execute systemctl kexec (possibly with the --no-block option) or call systemd(1)'s org.freedesktop.systemd1.Manager.KExec D-Bus method directly.
<clever>
ixxie: i believe systemd will run that script when its done shutting down, and wants to "kexec" the machine, and this part will actually load the kernel, but line 21 will detect one already loaded and skip
<clever>
cole-h: every time i open the file picker in discord, it forgets the sort order and last dir
<clever>
cole-h: the gdk backend fix you have in there
<clever>
cole-h: oh, maybe that will fix the file browser loosing its config constantly
<clever>
cole-h: lol
2020-04-11
<clever>
its a cmd within nix-index
<clever>
buggymcbugfix: i used nix-locate locally
<clever>
,locate
<clever>
ah, and there is also pkgs.inconsolata and pkgs.inconsolata-lgc too
<clever>
> pkgs.inconsolata
<clever>
inconsolata-lgc.out 53,852 r /nix/store/51c7i9wk41wwn63p8v5wd3ymhd9y9886-inconsolata-lgc-git-2015-04-18/share/fonts/truetype/Inconsolata-LGC.ttf
<clever>
buggymcbugfix: its also in fontforge, so thats what you would add
<clever>
fontforge.out 84,868 x /nix/store/8nkmkg8dm4khchrqcabli1gp0gjp6awp-fontforge-20160404/share/fontforge/pixmaps/Inconsolata-Regular.ttf
<clever>
wut? lol
<clever>
,locate Inconsolata
<clever>
buggymcbugfix: for timezones, i just run tzselect and it gives an answer
<clever>
buggymcbugfix: for fonts, its any package that contains a font file, so its a bit fuzzy
<clever>
energizer: if you want nixos to use the home-manager module, then the channel must exist on root
<clever>
peelz: yep
<clever>
peelz: nixpkgs-unstable isnt meant for nixos use, so it doesnt test grub
<clever>
peelz: nixos-unstable tests things, and didnt update, protecting users
<clever>
peelz: thats why you use the nixos channels on nixos
<clever>
peelz: but then half a dozen people running nixos from nixpkgs-unstable came out of the woodwork, because it bricked their machines
<clever>
peelz: somebody made a mistake in the grub config generation, and nixos-unstable correctly didnt update
<clever>
peelz: na, its something that happened several years ago
<clever>
peelz: hydra tests all of that in qemu, and only if it passes, will nixos-unstable update
<clever>
peelz: it could be a bug in grub itself, or it could be a bug in the code that generates the grub config file
<clever>
peelz: being on master can also corrupt your grub, and leave it unable to boot
<clever>
lovesegfault: you likely want `nix-shell -p '(import ./nix).crate2nix'
<clever>
lovesegfault: -p and giving a file dont mix right
<clever>
peelz: it checks mapped files, file descripors, env vars, and the cmdline
<clever>
peelz: yeah
<clever>
peelz: its part of how nix checks if any running program is using any store path
<clever>
peelz: when you `sudo foo /nix/store/bar` then sudo is depending on /nix/store/bar until sudo quits
<clever>
peelz: because it was in the cmdline of sudo
<clever>
peelz: also, --delete never needs root, so you dont have to sudo the --delete
<clever>
peelz: you must use `sudo -i` and then run -q --roots without the sudo infront of it
<clever>
peelz: its in sudo's env vars
<clever>
peelz: running as root will reveal all secrets
<clever>
peelz: that happens if its in the env vars of a process running as another user
<clever>
fydai: but it looses all dynamic/expression features at that point, its just a static build plan
<clever>
fydai: basically, the functional language boils down to calls to builtins.derivation, giving it a flat key=value; set, which then gets hashed to create the $out, and serialized into a .drv file
<clever>
fydai: ah, the drv files are sort of that
<clever>
fydai: not currently
<clever>
energizer: and the function returns that path
<clever>
but you can also ${foo} instead, like etu said
<clever>
fydai: well, at least changing the pw will be easy, its not registered yet!
<clever>
jeromelanteri: i'm always paranoid about missing files, so i tend to just use plain `mv`, it deletes after copying, so it only deletes if the copy finished
<clever>
jeromelanteri: then you could skip the usb, just shutdown, losetup -P the disk image, and mount both FS's, and mv the files
<clever>
jeromelanteri: but it will be simpler if booted from a usb stick
<clever>
jeromelanteri: and if you mount the / device a second time, you can see the /home under the real /home, to rm
<clever>
jeromelanteri: you could mount the new one to the "wrong" place like /mnt, then copy everything over, and reboot
<clever>
jeromelanteri: you may need to boot into single-user or use a bootable usb, to move everything from the old /home to the new fs
<clever>
pikajude: not sure what they actually do though
<clever>
jeromelanteri: fsType
<clever>
and those then get mapped to those vars, on line 342
<clever>
local -ri hostOffset="$2"
<clever>
local -ri targetOffset="$3"
<clever>
pikajude: native is -1 0, while normal is 0 1
<clever>
pikajude: line 442 is the native inputs, and 452 is the normal inputs
<clever>
ixxie: just boot the ubuntu iso in something like virtualbox
<clever>
ixxie: try running it in an ubuntu vm locally?
<clever>
ixxie: what happens when you run it? what do you see on the console?
<clever>
ixxie: yeah, but now it relies on the target being systemd based
<clever>
ixxie: systemd will then do a full and clean shutdown, causing ssh to get killed, and when its fully stopped, it will `kexec -e` for you
<clever>
ixxie: i believe you do the `kexec -l`, skip doing `kexec -e`, and instead do `systemctl kexec`
<clever>
ixxie: have you seen `systemctl kexec` ?
<clever>
ixxie: there is also `systemctl kexec`
<clever>
ixxie: you may need a script that wraps ssh, or use something like screen+nohup to launch something on the remote end, which keeps running after you close the ssh
<clever>
CptCaptain: yeah, that should work just fine
<clever>
ixxie: <enter>~. will force the ssh client to hang up
<clever>
CptCaptain: what exactly are you trying to set in the nix?
<clever>
CptCaptain: you want types.str not types.string
<clever>
CptCaptain: path + string results in a path
<clever>
srxl[m]: its part of the stdenv, so all derivations have it
<clever>
ixxie: then the getEnv didnt work right, repeat until it does show up
<clever>
ixxie: run nix-store -r on that, then look at the result
<clever>
zeorin36: yeah, it no longer contains noto
<clever>
vika_nezrimaya: + and listToAttrs is probably cheaper then //
<clever>
vika_nezrimaya: the duplicates will be ignored
<clever>
vika_nezrimaya: just concat everything up and listToAttrs
<clever>
zeorin36: can you confirm the final value, with nixos-option?
<clever>
ixxie: also, why are you trying to delete the file?
<clever>
zeorin36: you can confirm using nixos-option
<clever>
zeorin36: i think you just want `= [ "Twitter Color Emoji" ]`
<clever>
ixxie: nix-store -q --roots
<clever>
MichaelRaskin: any non-default value, causes the default to be list
<clever>
MichaelRaskin: the default value is "Noto Color Emoji" so if you simply `fonts.fontconfig.defaultFonts.emoji = [];` it will loose the default value
<clever>
ixxie: if you watch the build output, you should see it building a root-authorized_keys file, double-check the contents to make sure they are correct
<clever>
jordandoyle: when the job linked in here goes green