sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<clever> aveltras: yep
<clever> aveltras: check session.md for an example of how it works
<clever> aveltras: and youll want to make sure your ssh key is in configuration.nix
jmeredith has quit [Quit: Connection closed for inactivity]
<aveltras> clever: ye it's building right now, is it how you handle the install on nixos on your vps (if you use vps) ?
<clever> aveltras: yeah
<aveltras> clever: do you have any recommendation regarding providers ?
<clever> for baremetal, i'm using OVH and packet.net
<aveltras> clever: i was trying to stay near the nixops supported one it doesn't seem that useful since i have to install nixos by other means anyway
mexisme has quit [Ping timeout: 252 seconds]
<clever> aveltras: what special needs do you need at install time?
<aveltras> clever: none
<clever> packet.net has an option to install nixos for you
gagbo has quit [Ping timeout: 244 seconds]
gagbo has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #62769 → sngrep: init at 1.4.6 → https://git.io/fjzfn
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/fjXcX
<aveltras> clever: i was more interested in "cheap" vps like the cheapest from vultr, hetzner, etc
<clever> ah
<aveltras> clever: im only doing tests for the moment
<clever> ive not experimented with the cheaper options much
<aveltras> i've been infuriated all day by the "web console" of those providers
oborot has quit [Ping timeout: 245 seconds]
<aveltras> cause you need it to reinstall a custom iso (if not using kexec then) and you can t input basic characters like " or |
oborot has joined #nixos
m0rphism has quit [Ping timeout: 268 seconds]
slack1256 has quit [Read error: Connection reset by peer]
<aveltras> clever: anyway, your solution seems like the best fit, did you ever have problems with the unstable branch for your servers ?
<clever> aveltras: nope
virus_dave has quit [Quit: virus_dave]
thc202 has quit [Ping timeout: 245 seconds]
mexisme has joined #nixos
<aveltras> clever: would the generation of the tarball work with nix installed on a random linux and nixos/unstable added manually ? cause right now i have really bad connection and can t really afford to upload those 500M
<clever> aveltras: yeah, it can be done on any machine with nix installed
<clever> aveltras: you could even do it from the rescue environment
<aveltras> clever: ok nice
Ridout has joined #nixos
<aveltras> clever: do you know of any automation of nixos install (except nixops) ? i've been trying to recreate the steps from the nixos manual with the least possible input required from the user (WIP), but there might already by something existing somewhere (https://github.com/aveltras/nixos-install-script/blob/master/install.sh)
b has quit [Ping timeout: 248 seconds]
<clever> aveltras: justdoit, in the kexec directory
<clever> aveltras: it defines some options, which you can set in kexec/configuration.nix
<clever> and it will bake those options into a shell script called justdoit
<clever> so once you can ssh into the machine, simply run justdoit, and it does it
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/e726e8291b2 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<aveltras> clever: guess i'll have to investigate zfs someday
Shouou has quit [Ping timeout: 245 seconds]
<aveltras> clever: thanks for the answers
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<achaninja> anyone remember the link to the minimal os builder based on nixpkgs?
<achaninja> ah
<achaninja> clever is that your project?
<clever> yep
ddellacosta has quit [Ping timeout: 245 seconds]
<day|flip> oo shit. runnit
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjXc5
<day|flip> not systemd. but runit?
<clever> yep
<clever> i was trying to make a minimal image, without systemd
<day|flip> I Love You. not in a gay way
<achaninja> runit, s6 or perp are all way better that systemd
<day|flip> i find it more stable
<achaninja> The reason I ask is because I was just starting something like a buildroot clone but using nix
<clever> i also recently made some nix code, to run systemd.services entries, under runit, under docker
<clever> so i can now make nixos services run together in a docker image
jmeredith has joined #nixos
<achaninja> nice, did you time your boot on an rpi?
<clever> not recently
gagbo has quit [Ping timeout: 248 seconds]
<clever> but not-os is booting under qemu x86 on my hydra
gagbo has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
MmeQuignon has quit [Ping timeout: 246 seconds]
<achaninja> clever I did a runit based one, it can boot in less than a second on qemu
<achaninja> but I'm not so great at nix
<achaninja> I will try notos on my rpi :D
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « python: yappi: init at 1.0 »: https://git.io/fjXcF
<achaninja> I spent lots of time disabling kernel settings
xkapastel has joined #nixos
iyzsong has joined #nixos
coconnor has joined #nixos
gagbo has quit [Ping timeout: 246 seconds]
gagbo has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
rprije has joined #nixos
ng0_ has joined #nixos
<{^_^}> [nixops] @Ma27 opened pull request #1180 → nixops/reboot: ask the user to confirm the reboot before actually doing it → https://git.io/fjXCv
ng0_ has quit [Client Quit]
vk3wtf has quit [Quit: WeeChat 2.4]
ng0 has quit [Ping timeout: 260 seconds]
alp has quit [Ping timeout: 276 seconds]
b has joined #nixos
Ridout has quit [Ping timeout: 272 seconds]
acarrico has joined #nixos
_ris has quit [Ping timeout: 260 seconds]
jluttine has joined #nixos
vk3wtf has joined #nixos
gagbo has quit [Ping timeout: 244 seconds]
justanotheruser has quit [Quit: WeeChat 2.4]
gagbo has joined #nixos
<oborot> I'm trying to install Nix on my Corebooted laptop -- should I be using UEFI?
<Drakonis> yes?
<{^_^}> [nixpkgs] @xrelkd opened pull request #64718 → youtube-dl: 2019.07.12 -> 2019.07.14 → https://git.io/fjXC4
justanotheruser has joined #nixos
justanotheruser has quit [Client Quit]
justanotheruser has joined #nixos
jasongrossman has joined #nixos
detran has joined #nixos
<oborot> Wouldn't that defeat the purpose of even using coreboot? If I'm not mistaken, UEFI ontop of coreboot would replace coreboot no?
<Drakonis> no
<Drakonis> hmm
deech has joined #nixos
<Drakonis> you can use uefi with coreboot mind you
<oborot> Gah, this is so confusing
<day|flip> oborot: are you able to used your mouse in your bios with coreboot. then uefi is being used
<{^_^}> [nixpkgs] @xrelkd opened pull request #64719 → cargo-bloat: 0.7.1 -> 0.7.2 → https://git.io/fjXCB
<oborot> No mouse
<Drakonis> you can use grub to boot up
<Drakonis> that doesn't make a lot of sense but aight
gagbo has quit [Ping timeout: 244 seconds]
<Drakonis> apparently yabits is a good uefi coreboot payload you can use instead of tianocore
gagbo has joined #nixos
<oborot> I'll be honest, I got a friend to load this machine up with Coreboot so I'm not sure what the difference is
<oborot> But intel ME is neutered which is all I really care about
<clever> oborot: i think adding uefi to coreboot would require reflashing the coreboot image
<clever> oborot: so your better off just doing a legacy grub install
<Drakonis> there's coreboot payloads that allow uefi booting apparently
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
gagbo has quit [Ping timeout: 246 seconds]
gagbo has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #64710 → terraform_0_12: 0.12.3 -> 0.12.4 → https://git.io/fjXGH
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjXCo
Ridout has joined #nixos
deech has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/27b7e11e7fd (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
b has quit [Ping timeout: 268 seconds]
gagbo has quit [Ping timeout: 248 seconds]
Okinan has quit [Quit: Konversation terminated!]
gagbo has joined #nixos
kvda has joined #nixos
b has joined #nixos
fusion809 has joined #nixos
Ridout has quit [Ping timeout: 245 seconds]
ottidmes has joined #nixos
xelxebar has quit [Quit: ZNC 1.7.2+deb2~bpo9+1 - https://znc.in]
phreedom_ has quit [Quit: No Ping reply in 180 seconds.]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gxt has quit [Ping timeout: 260 seconds]
xelxebar has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus closed pull request #57035 → [WIP] Allow custom nssdb in Chromium → https://git.io/fhp7A
gxt has joined #nixos
phreedom has joined #nixos
ericsagnes has quit [Ping timeout: 252 seconds]
ddellacosta has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/27b7e11e7fd (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
xkapastel has quit [Quit: Connection closed for inactivity]
adamantium has joined #nixos
<adamantium> Anyone know the command to recreate the default "Boot0000* Linux Boot Manager" systemd-boot entry created by nixos?
gagbo has quit [Ping timeout: 248 seconds]
<Drakonis> that's actually a uefi entry but okay
<Drakonis> have you tried booting into it?
<adamantium> I deleted hte uefi entry
<adamantium> so i wanna remake it
<adamantium> ^_^
<Drakonis> rather
<Drakonis> rebuilding your system?
gagbo has joined #nixos
<adamantium> Well i'd like to do it without completely reinstalling nixos
<adamantium> if there is not a way
<Drakonis> no need to completely reinstall it
<adamantium> i just need a uefi stanza or something
<Drakonis> you already have the store and config files
<adamantium> yeah i've readthat
<adamantium> bootctl update doesn't put it on the bios menu
<adamantium> i want to recreate the menuentry on the bios the way nixos does it
ericsagnes has joined #nixos
iyzsong has quit [Ping timeout: 248 seconds]
iyzsong has joined #nixos
gyroninja has quit [Ping timeout: 244 seconds]
gyroninja has joined #nixos
iyzsong has quit [Client Quit]
iyzsong has joined #nixos
deech has joined #nixos
stepcut has quit [Remote host closed the connection]
<adamantium> I guess I'll ask again on monday :D
gagbo has quit [Ping timeout: 245 seconds]
gagbo has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<zacts> Hi, I'm trying to add a package to nixpkgs. I'm wondering where I can get an artifact of my previous build attempt?
Ariakenom has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 244 seconds]
<adamantium> Hi, is there a way I can use https://github.com/NixOS/nixpkgs/blob/release-19.03/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py to somehow reinstall my UEFI entry to my laptop? I deleted it manually using efibootmgr, now i want to put it back...
<clever> adamantium: nixos-rebuild switch --install-bootloader
<adamantium> i knew it shouldnt be hard
* adamantium crosses fingers
<adamantium> clever: you da man, per usual
jfroche has quit [Ping timeout: 252 seconds]
jfroche has joined #nixos
<adamantium> clever: while I got you here. Tell me this. Is the bootloader stanza going to work for both my sda and sdb disks? (it's a zfs mirror with the ROOT dataset in a mirror pool)
<adamantium> Say /dev/sda fails, is that "linux boot manager" entry going to find the system on /dev/sdb ?
<clever> the efi vars contain the gpt partition uuid for the efi system partition
<clever> so if that partition is lost, efi cant find the bootloader
<adamantium> i have efi system partition on both /dev/sda and /dev/sdb
<adamantium> So I was kind of hoping it would be smart enough to find the system on either disk, and update my ESP files on both disks
<clever> boot.loader.grub.efiInstallAsRemovable is what i would use in that situation
<clever> it names the files specially, so it works without efi vars
<clever> but only grub supports it
<adamantium> I understand that
<adamantium> So, you're saying "no" then, systemd-boot doesn't do what i'm asking
<clever> correct
<adamantium> thx
<adamantium> I don't understand why not though, GRUB is more robust in this regard
<clever> systemd-boot doesnt have very many options
<adamantium> clever: e.g. a person only needs to set boot.loader.grub.devices for /dev/sda, /dev/sdb, etc and can have the bootloader synced up for every disk in case of failure!
<adamantium> I can't believe systemd and uefi does not really do this!
<adamantium> systemd-boot*
<clever> boot.loader.grub.devices is legacy boot only
<clever> systemd-boot is efi only
<adamantium> I understand that.
<adamantium> I'm just complaining here, that the newer uefi / systemd-boot fails on this point badly
Supersonic has quit [Ping timeout: 252 seconds]
<clever> efi fails at a lot of things
<adamantium> Now if GRUB supported zfs better and zfs-encryption, i'd not be stuck with less robust systemd-boot
<clever> systemd-boot doesnt support zfs
<adamantium> it's all trade offs
<clever> any time your doing efi, you must have a vfat ESP, that is in cleartext
<clever> and then you can put kernels there, and the bootloader wont need to know zfs
<adamantium> right. well that's what im doing, but with systemd boot
<clever> grub can do the same thing, with both efi and legacy
<adamantium> i tried zfs-encryption with grub and broke a system once, but now that I think about it, I did not have /boot on fat32 or other, it was zfs dataset, so of course it failed after i upgraded the FS with properties grub couldn't understand
iyzsong has quit [Ping timeout: 252 seconds]
<clever> i dont really trust grub's zfs support, so i always make /boot either fat32 or ext4
<adamantium> Now you got me thinking again
<adamantium> So i'm doing fat32 /boot and systemd-boot / UEFI
<adamantium> (with native encryption)
<adamantium> Would fat32 or ext2 /boot be better with GRUB and zfs-encryption
<clever> both will work the same
<adamantium> and legacy boot, installing grub to bios boot partition
<adamantium> it would allow me to use boot.loader.grub.devices
<clever> for extra redundancy, you can do both efi and legacy
<adamantium> LOL
<clever> if you set both boot.loader.grub.devices and enable efi support, then grub installs both at once
<clever> so the legacy MBR works, and the efi binaries in the ESP work
Supersonic has joined #nixos
<clever> then you just need to tell the bios what to boot
<adamantium> i'd rather legacy with a gpt bios boot partition
<adamantium> This is all getting too confusing.
<adamantium> Thanks for giving me something to try and a new idea, though
<hyper_ch> hi clever
<clever> hello
<hyper_ch> clever: could you have a look at https://github.com/NixOS/nixpkgs/pull/64306 ?
<{^_^}> #64306 (by sjau, 1 week ago, open): ZFS: Adding ZED configuration options
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64677 → qt-box-editor: init at unstable-2019-07-12 → https://git.io/fjXf7
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjXW8
<clever> hyper_ch: what part should i look at?
<hyper_ch> clever: you don't do patch reviews?
<clever> not very often
<hyper_ch> awwwww
<hyper_ch> clever: the one thing I wonder is if I should add the comments also to the generated config file or not
<clever> mostly personal preference
<oborot> Should I be pointing to my boot device in my nix config via it's UUID?
orivej has joined #nixos
<clever> orivej: boot.loader.grub.device ?
<clever> oborot: ^^
<oborot> Yes
gagbo has quit [Ping timeout: 272 seconds]
<oborot> Wait nope
<oborot> boot.initrd.luks.devices
<clever> oborot: yeah, that should use the uuid
gagbo has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #64720 → wrapQtAppsHook: wrap binaries in libexec → https://git.io/fjXWE
adamantium has quit [Remote host closed the connection]
gyroninja has quit [Ping timeout: 248 seconds]
deech has quit [Ping timeout: 258 seconds]
gyroninja has joined #nixos
<oborot> I'm still fighting with installing Nix...
<oborot> I noticed the fileSystems root that nix-os generate-config created is not the correct root uuid
<oborot> Would that be an issue?
<clever> oborot: it should be the uuid of the filesystem inside the luks, not the luks device itself
<clever> oborot: did you run nixos-generate-config with the right --root, after mounting the rootfs?
<oborot> Yup, I mounted everything to /mnt
gyroninja has quit [Read error: Connection reset by peer]
<clever> oborot: what does mount say is at /mnt ?
endformationage has quit [Ping timeout: 245 seconds]
<oborot> ls /mnt
<oborot> boot etc lost+found nix
<clever> oborot: mount | grep mnt
<oborot> Oh that's what you mean:
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64650 → vala: 0.44.3 -> 0.44.5 → https://git.io/fjPH4
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/fjXWw
<oborot> /dev/mapper/vg-root
<clever> blkid /dev/mapper/vg-root
<oborot> /dev/sda1
<clever> why is it showing 2 devices?
<clever> and what does blkid /dev/sda1 say?
<oborot> /dev/mapper-vg-root: LABEL="root" UUID="..." TYPE="ext4"
<oborot> and for /dev/sda1:
<oborot> /dev/sda1: UUID="..." TYPE="vfat" PARTLABEL="EFI System" PARTUUID="..."
gyroninja has joined #nixos
<clever> oborot: what exactly did mount say for those 2 devices?
<oborot> I'm using the UUID for /dev/mapper/vg-root
<clever> oborot: and what uuid is nixos-generate-config giving wrongly?
Ridout has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
kvda has joined #nixos
b has quit [Ping timeout: 258 seconds]
<oborot> GOnna make a gist
<clever> oborot: what is the uuid for sda1 and vg-root?
<oborot> Whoops, one sec
<clever> oborot: and the luks uuid, should be in the form you have commented out
<clever> nixos cant find it with only a uuid and nothing else
<oborot> I added the blkid to that gist
<oborot> That was actually a typo this time around, I had the proper path the first time I tried
<clever> oborot: the uuid for / is correct
<clever> oborot: the only problem i can see is that the uuid isnt set correctly for the luks device, but it is the right uuid
<oborot> I fixed that path just now
<oborot> Well, fingers crossed, I'll give it a try
<oborot> nixos-install --root /mnt
<{^_^}> [nixpkgs] @worldofpeace merged pull request #63678 → jazzy: 0.9.6 -> 0.10.0 → https://git.io/fjw2H
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjXWM
<oborot> Ah, looks like something in grub-install failed
<oborot> Oddly, I can't seem to pipe the output to a txt file for uploading
<clever> device = "/dev/sda";
<oborot> But the first thing I can see is a bunch of internal errors
<clever> oborot: does sda have a bios boot partition?
gagbo has quit [Ping timeout: 245 seconds]
<oborot> "Internel error: Unreleased memory pool(s) found. You have a memory leak (not released memory pool):"
<oborot> clever: Yes, /dev/sda1 is the boot partion, /dev/sda2 is the root partiton
gagbo has joined #nixos
<oborot> The grub install errors are: "Warning: this GPT partition label contains no BIOS Boot Partion; embedding won't be possible".
<oborot> And:
<clever> oborot: then you want device = "nodev";
<oborot> "error: embedding is not possible, but this is required for RAID and LVM install".
<clever> your trying to configure it to both legacy and efi at the same time
<oborot> Ohh
<oborot> Looks like it built this time, but I'm still seeing the memory leak errors
<oborot> I also see the message "EFI variables are not supported on this system".
<oborot> Not sure if that's important.
<oborot> But gonna try a reboot now.
<oborot> Gah, boot errors...
<clever> you must boot via efi to configure efi vars
<oborot> "error: disk `lvm/matrix-rootvol` not found.
<clever> efiInstallAsRemovable = true; is required if efi vars are not available
<oborot> "error: disk `lvm/matrix-boot` not found.
<oborot> I'll try that
* clever heads off to bed
Rusty1 has quit [Quit: Konversation terminated!]
<oborot> Thanks for the help
<clever> yep
rsoeldner has joined #nixos
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
b has joined #nixos
Ridout has quit [Ping timeout: 245 seconds]
Diagon has joined #nixos
Diagon has quit [Remote host closed the connection]
adamantium has joined #nixos
schneid3306 has quit [Quit: ZZZzzz…]
<adamantium> new install ... systemd-timesyncd.service loaded failed failed Network Time Synchronization every time on unstable. Anything I can try to fix this?
v88m has quit [Ping timeout: 272 seconds]
<rsoeldner> Morning, as a NixOS user, what is the correct way of defining a developer environment, in my case haskell. I saw http://cryp.to/slides.pdf but when using https://gist.github.com/rsoeldner/c7a89bfe16cde95983ce2fd2ccd06261 and `nix-env -iA hs-env` I'm getting 'error: attribute 'hs-env' in selection path 'hs-env' not found'
palo1 has joined #nixos
oborot has quit [Ping timeout: 258 seconds]
palo has quit [Ping timeout: 248 seconds]
palo1 is now known as palo
adamantium has quit [Remote host closed the connection]
gagbo has quit [Ping timeout: 248 seconds]
gagbo has joined #nixos
oborot has joined #nixos
day|flip has quit [Remote host closed the connection]
<jackdk> generally I set up shell.nix files in each project, and run nix-shell
ddellacosta has quit [Ping timeout: 245 seconds]
<etu> jackdk: tip: direnv and a file named .envrc containing the line 'use nix' :)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0be5740700f (from 76 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
rsoeldner has quit [Ping timeout: 244 seconds]
rsoeldner has joined #nixos
b has quit [Ping timeout: 268 seconds]
v88m has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0be5740700f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<ashkitten> hmm
oborot has quit [Ping timeout: 248 seconds]
<jackdk> etu: noted, thanks. Having arbitrary commands run off the back of `cd` scares me, though.
rsoeldner has quit [Read error: Connection reset by peer]
rsoeldner has joined #nixos
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
gagbo has quit [Ping timeout: 258 seconds]
gagbo has joined #nixos
<Ralith> it requires explicit opt-in for each .envrc
<Ralith> and is very convenient
<{^_^}> [nixpkgs] @mogorman opened pull request #64721 → scalyr: init at git-20190628 → https://git.io/fjXlZ
gagbo has quit [Ping timeout: 245 seconds]
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
gagbo has joined #nixos
<ashkitten> direnv is great
otulp has quit [Remote host closed the connection]
FRidh has joined #nixos
mexisme has joined #nixos
viric has quit [Quit: llums]
knupfer has joined #nixos
<mog> im trying to package localstack for nixos and hitting a roadblock. it needs a specific version of psutil thats older than whats in repo
<mog> ERROR: Could not find a version that satisfies the requirement psutil==5.4.8
<mog> we are on 5.5 or so
<FRidh> typically they dont really need that version so you could patch out the requirement
revtintin has joined #nixos
iyzsong has joined #nixos
Drakonis has quit [Quit: WeeChat 2.4]
jmeredith has quit [Quit: Connection closed for inactivity]
adamantium has joined #nixos
polman has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to release-19.03 « Merge #64372: wavpack: Vulnerability roundup 71 »: https://git.io/fjXlP
<{^_^}> [nixpkgs] @FRidh merged pull request #64689 → python3Packages.scikit-tda: init at 0.0.4 → https://git.io/fjXkh
<{^_^}> [nixpkgs] @FRidh pushed 6 commits to master: https://git.io/fjXl1
<{^_^}> [nixpkgs] @vcunat pushed to release-19.03 « knot-resolver: fixup build on Darwin »: https://git.io/fjXly
adamantium has quit [Remote host closed the connection]
gagbo has quit [Ping timeout: 244 seconds]
m0rphism has joined #nixos
gagbo has joined #nixos
<{^_^}> [nixpkgs] @Yarny0 opened pull request #64722 → hplip: update version to 3.19.6, enable udev rule file → https://git.io/fjXlH
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
leothrix has quit [Quit: ZNC 1.7.4 - https://znc.in]
leothrix has joined #nixos
lejonet has quit [Ping timeout: 272 seconds]
rfold has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
gagbo has quit [Ping timeout: 245 seconds]
lambda-11235 has quit [Quit: Bye]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/cf16778cd68 (from 36 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
gagbo has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
alex`` has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/68d032a46fc (from 48 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> [nixpkgs] @FRidh merged pull request #64697 → nodePackages.scuttlebot -> nodePackages.ssb-server, updated nodePackages_10_x → https://git.io/fjXmR
<{^_^}> [nixpkgs] @FRidh pushed to master « nodePackages.scuttlebot -> nodePackages.ssb-server, updated nodePackages_10_x »: https://git.io/fjX8G
Shouou has joined #nixos
fendor has joined #nixos
iyzsong-x has joined #nixos
Ariakenom has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
gagbo has quit [Ping timeout: 272 seconds]
gagbo has joined #nixos
jgt1 has joined #nixos
Thra11 has quit [Ping timeout: 272 seconds]
alex`` has quit [Ping timeout: 244 seconds]
jgt1 has quit [Ping timeout: 276 seconds]
alex`` has joined #nixos
rsoeldner has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 258 seconds]
gagbo has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #56952 → WIP: vscode: patch .desktop file to use absolute files. → https://git.io/fhpsu
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #55149 → vscode-extensions.ms-python.python: 2018.12.1 -> 2019.6.22090 → https://git.io/fhSMf
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjX89
rauno has joined #nixos
gagbo has joined #nixos
_ris has joined #nixos
Thra11 has joined #nixos
lejonet has joined #nixos
rauno has quit [Ping timeout: 252 seconds]
fendor has joined #nixos
NfixEstrada[m] has joined #nixos
<aveltras> i'm currently logged in as root on a debian install, "nix-channel --list" returns "nixos https://nixos.org/channels/nixos-unstable". What's the correct syntax to use this channel for a command like "nix-build '<nixpkgs/nixos>' -A config.system.build.kexec_tarball -I nixos-config=./configuration.nix -Q -j 4" ? Right now, this errors with "error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH
<aveltras> or -I)"
orivej has quit [Ping timeout: 244 seconds]
rauno has joined #nixos
<NfixEstrada[m]> Hello! I'm trying to package https://github.com/LINBIT/linstor-server/, but there's an issue. The building phase needs to modify the source. How should I handle this? (It generates some files)
fendor has quit [Ping timeout: 268 seconds]
<sphalerite> My laptop doesn't seem to want to output 4K via HDMI to my external monitor, but displayport works fine. A different laptop, running windows, has no problem outputting 4k to it through HDMI. Is this a hardware limitation, or driver/config issue?
<yorick> sphalerite: you need hdmi 2.0 to output 4K via HDMI on 60fps
<yorick> sphalerite: it's possible/likely that this is a hardware limitation, yes
<yorick> (especially since it works with DP)
<alexarice[m]> is there a way to take the expression that builds a package and get a nix-shell which I can use to build it in
<yorick> alexarice[m]: nix-shell does that, yes
<sphalerite> yorick: I don't even mind if it's not 60Hz, is there a way to make it work at less if it's not HDMI 2.0?
<yorick> alexarice[m]: if you have the derivation, do nix-shell /nix/store/arstdhneio.drv
<alexarice[m]> yorick: I tried though it doesn't seem to pass through the qtbase dependency
<yorick> sphalerite: if that's supported then it should be in your output options
MmeQuignon has joined #nixos
lejonet has quit [Ping timeout: 248 seconds]
<sphalerite> yorick: it's not ("output options" = "xrandr output" I'm guessing)
<yorick> sphalerite: this may be an adapter limitation, may be
<alexarice[m]> yorick: nm I am being silly
<sphalerite> hmmm ok…
<sphalerite> guess I'll need to hunt down a full-size DP adapter then >.<
<sphalerite> thanks yorick!
gagbo has quit [Ping timeout: 248 seconds]
jgt1 has joined #nixos
gagbo has joined #nixos
alp has joined #nixos
rfold has quit [Ping timeout: 245 seconds]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
ericsagnes has quit [Ping timeout: 244 seconds]
o1lo01ol1o has joined #nixos
alp has quit [Ping timeout: 252 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<Miyu-chan> I sent screenshots ( https://imgur.com/a/YGqP059 ) on recreating wifi-menu for wpa_supplicant. Now I have the source code public. https://github.com/adrianparvino/NixOSEncryptedLiveCD/blob/master/install.sh#L3-L22
ng0 has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/696767a9c9d (from 49 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
init_6 has joined #nixos
<yorick> Miyu-chan: hmm, in general I care more about the name than about the mac
<yorick> Miyu-chan: also, emoji support?
<yorick> Miyu-chan: also, WPS support?
<Miyu-chan> Emoji should be handled by dialog.
<Miyu-chan> No WPS support, since I haven't tried it.
<Miyu-chan> How does WPS work, and why should I support it, I guess?
__monty__ has joined #nixos
<aanderse> WPS is very important
<ar> yorick: … wps?
<ar> it's 2019. it's been repeatedly proven that wps is bad.
<yorick> ar: but pushing buttons
<yorick> not the one with the code
<ar> Miyu-chan: wps works by making your "wpa2 psk" wifi less secure than wep
stanibanani has joined #nixos
<yorick> ar: I'm pretty sure that's only the variant with the code
<Miyu-chan> Can I have a more neutral view? :P
<ar> Miyu-chan: more neutral: wps works by making your wpa2 psk wifi crackable in, at most, 11000 attempts
<Miyu-chan> Also, that should be handled by wpa_supplicant, but I don't know how to test it.
<aanderse> scenario: at your in-laws house. they are in their 70s. you ask for the Wi-Fi password. your father in law gives you a confused look. you realize how screwed you are because you're in a country where you don't speak the language so calling the ISP is out of the question.
<ar> (the code is 8 digits, but the first 4 are checked separately from the second 4, and the last digit is actually a checksum → 11000 possible combinations)
<aanderse> then you realize: the router has WPS! you're saved.
<yorick> ar: how about the variant with the button
<yorick> ar: I agree that the code is dumb
<yorick> ar: but the one where you pair by pressing the button
rfold has joined #nixos
<Miyu-chan> Is the variant with a button just basically proof of physical access of device?
<__monty__> aanderse: OR, since you have physical access, you just plug in an ethernet cable?
<Miyu-chan> s/of /to /
<yorick> __monty__: oh yes, let me grab my trusty ethernet dongle
<Miyu-chan> Who brings ethernet cables around lmao
<__monty__> It's already dongle-city anyway.
<aanderse> __monty__: not a viable 7 week solution
<Miyu-chan> OTOH, I actually used to, because my university has unprotected scattered ethernet jacks around.
<yorick> ar: having the button means you can make the key more complicated since you won't have to be able to explain it to people
<yorick> "okay so it's backtick, balloon emoji, A a a, lowercase 3"
<__monty__> aanderse: Non ISP-managed routers usually let you into the setup when you're connected over ethernet.
<Miyu-chan> Also, "7 week solution"?
<yorick> "now a sanskrit phrase:"
<aanderse> __monty__: my in-laws are 72 and know almost nothing about computers. everything about their internet is managed by ISP
<Miyu-chan> Anyways, I see the use-case.
<yorick> __monty__: usually the wifi key is printed on the thing, so that'd be equivalent security to the button pairing
<aanderse> Miyu-chan: my in-laws live in Tokyo which is quite the trek... so when we go we make it count :-)
<yorick> Miyu-chan: I usually use wpa_gui but it keeps disabling all my networks
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/cf16778cd68 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<Miyu-chan> OTOH, based on what I understand, I won't be supporting it, but patches are welcome! :P
<Miyu-chan> Anyways. The WPS with the code makes me just feel weird. Because from what I understand, that's not changeable?
<Miyu-chan> So once you have physical access *just once* you're forever connected to it.
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<yorick> yes please stop thinking about the code
<Miyu-chan> Unless (a) you disable WPS, or (b) you generate a new code. But from what I understand, that will reset itself on factory reset.
<__monty__> yorick: No? You can and should change the passphrase.
<Miyu-chan> Anyways, I can see it being useful though. Its security model is basically "as if you have an ethernet cable to it"
<Miyu-chan> So useful for things like setting it up without an ethernet cable ready, I guess.
<__monty__> aanderse: Then there's always factory reset + google. I'm just saying you don't *need* WPS. You pay for convenience with insecurity. I'm not saying you're not allowed to make that trade-off.
<Miyu-chan> I personally won't be using this, but thanks for informing me about this.
<Miyu-chan> I was always curious what that was lol. My parents' Windows machines as for WPS first, and I just skip that lol
<aanderse> __monty__: understood. just playing devils advocate mentioning that sometimes people aregenerally in a bind and need it
<yorick> __monty__: can you please confirm that you understand that I am not talking about code-based wps, but about button-based wps
<yorick> __monty__: where the WPA key is transfered *once* based on pressing a button on the AP
<__monty__> Miyu-chan: One difference is that "Hey, I'm your ISP, gonna need you to push the big button on your router. Okay, thanks. Your internet should be fully functioning again." Is a much easier social engineering scenario than. "I'm gonna need you to factory reset your router and tell me the brand."
<__monty__> yorick: I do, code-based WPS isn't even worth talking about.
<Miyu-chan> lol, that actually sounds funny.
knupfer has quit [Ping timeout: 252 seconds]
<yorick> __monty__: thanks! but why is everyone talking about the security of the code then?
<Miyu-chan> I guess a buildingmate could do that
MmeQuignon has quit [Ping timeout: 245 seconds]
lejonet has joined #nixos
<__monty__> yorick: From my perspective the insecurity of the code was fairly quickly dealt with.
shomodj has joined #nixos
MmeQuignon has joined #nixos
<yorick> __monty__: the security properties of the button are way different, since it's not bruteforcable
<__monty__> Yep, still don't like it.
<Miyu-chan> Yeah, I can see why.
<Miyu-chan> A more Nix topic.
<Miyu-chan> `with types; fooOf bar` or `types.fooOf types.bar`
is_null has joined #nixos
_ris has quit []
_ris has joined #nixos
shomodj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shomodj has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/696767a9c9d (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Okinan has joined #nixos
ericsagnes has joined #nixos
shomodj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @danbst opened pull request #64723 → lib: introduce `foreach` = flip map → https://git.io/fjX4d
rauno has quit [Ping timeout: 252 seconds]
revtintin has quit [Quit: WeeChat 1.9.1]
<NfixEstrada[m]> I'm trying to build https://github.com/LINBIT/linstor-server Could anyone give me a hand? Right now I have https://paste.ofcode.org/hN5TiquWQcPMpTQvrMEyQV
_ris is now known as ris
ris has quit []
ris has joined #nixos
<Miyu-chan> Uh,
<Miyu-chan> How do I start a systemd service on rebuild, changed or not?
<aanderse> is qt broken in master right now? specifically /nix/store/j36h7b7003w6xlf5fksp6bj9s6qmb074-qtbase-5.12.0.drv ?
<{^_^}> [nixpkgs] @risicle opened pull request #64724 → redis: 5.0.3 -> 5.0.5, fixing CVE-2019-10192 & CVE-2019-10193 → https://git.io/fjXBt
alp has joined #nixos
init_6 has quit [Ping timeout: 245 seconds]
nschoe has joined #nixos
<{^_^}> [nixpkgs] @craigem opened pull request #64725 → Completed missing meta fields → https://git.io/fjXBl
_cyril_ has quit [Ping timeout: 268 seconds]
<Miyu-chan> Welps. I don't think there's a way to do start on rebuild. Time to
Ariakenom has quit [Quit: Leaving]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @yorickvP closed pull request #63208 → libtensorflow: 1.9 -> 1.14.0 → https://git.io/fjaOJ
<Miyu-chan> I'll just put a wantedBy, I guess.
_cyril_ has joined #nixos
phreedom_ has joined #nixos
phreedom has quit [Ping timeout: 260 seconds]
gagbo has quit [Ping timeout: 244 seconds]
gagbo has joined #nixos
<{^_^}> [nixpkgs] @elohmeier opened pull request #64726 → brlaser: add supported printer model → https://git.io/fjXBz
<Miyu-chan> I have no idea what to do. Time to hack it. restartIfChanged and lib.random.
<Miyu-chan> > random
<{^_^}> 27737666
<Miyu-chan> > h()
<{^_^}> error: syntax error, unexpected ')', at (string):255:3
<{^_^}> [nixpkgs] @worldofpeace pushed to master « gnome3.gnome-terminal: add hicolor-icon-theme »: https://git.io/fjXBw
<Miyu-chan> :d random
<Miyu-chan> How do I show the definition again?
<Miyu-chan> > :h
<{^_^}> Unknown command: h
<__monty__> I'm thinking of packaging an electron app. They provide a linux deb and mac os .pkg, should I fetch and install these or translate the build process from yarn to nix?
<clever> __monty__: i generally prefer building from src
<clever> __monty__: here is an example of an electron app ive packaged with nix, https://github.com/input-output-hk/daedalus/blob/develop/installers/nix/linux.nix#L19-L28
<clever> __monty__: rawapp is the result of yarn2nix
<yorick> __monty__: check out https://github.com/serokell/nix-npm-buildpackage :-D
orivej has joined #nixos
<yorick> (we use it internally to build some electron apps, although that still requires a few hacks)
<yorick> I think it uses IFD for the yarn case, sadly
<Miyu-chan> I found this relevant RFC? https://github.com/NixOS/rfcs/pull/40
<{^_^}> rfcs#40 (by Ericson2314, 22 weeks ago, open): [RFC 0040] "Ret-cont" recursive Nix
<Miyu-chan> Actually, what I linked is technically not directly related to IFD.
<__monty__> Ok, thanks, looking into it.
<Miyu-chan> (In case you're saying that to me, there's nothing to look into what I linked.)
<__monty__> Was responding to clever and yorick.
<Miyu-chan> Okay. Just making sure. :P
<yorick> Miyu-chan: yeah, that would remove a lot of IFD
<Miyu-chan> Kinda, yeah.
<Miyu-chan> Okay. Just had an idea.
<Miyu-chan> Can an output depend on a derivation?
<Miyu-chan> Or can outputs only depend on other outputs, and derivations on other derivations?
<Miyu-chan> Where derivations means .drv files.
<Miyu-chan> Because it's possible to implement what I linked in pure Nix, to some extent.
ToxicFrog has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/fjXBQ
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-19.03: https://git.io/fjXBd
noonien has joined #nixos
Shouou has quit [Ping timeout: 245 seconds]
init_6 has joined #nixos
alex`` has quit [Ping timeout: 272 seconds]
turion has joined #nixos
alex`` has joined #nixos
gnidorah has joined #nixos
gentauro has quit [Ping timeout: 245 seconds]
<gnidorah> FRidh: hello #63024 ok now?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63024 (by gnidorah, 4 weeks ago, open): midisheetmusic: always bring timidity dependency
<yorick> I'm trying to build nix-mode with emacsPackagesNg.trivialBuild, but can't find a way to input package dependencies
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<yorick> (result: nix-drv-mode.el:19:1:Error: Cannot open load file: No such file or directory, json-mode)
<Miyu-chan> EEp
<Miyu-chan> nix-repl> lib.hasPrefix /etc/nixos/nixpkgs/nixos /etc/nixos/nixpkgs/nixos/modules/virtualisation/vmware-guest.nix
<Miyu-chan> false
<Miyu-chan> nix-repl> lib.hasPrefix "/etc/nixos/nixpkgs/nixos" "/etc/nixos/nixpkgs/nixos/modules/virtualisation/vmware-guest.nix"
<Miyu-chan> true
<{^_^}> [nixpkgs] @Zimmi48 opened pull request #64727 → coq: 8.10+beta1 -> 8.10+beta2 → https://git.io/fjXBA
<gchristensen> > /etc/nixos/nixpkgs/nixos
<{^_^}> /etc/nixos/nixpkgs/nixos
<gchristensen> > "${/etc/nixos/nixpkgs/nixos}"
<{^_^}> access to path '/etc/nixos/nixpkgs/nixos' is forbidden in restricted mode
<gchristensen> heh
<gchristensen> anyway, doesn't it stringify it first?
<Miyu-chan> I... I have no idea.
<Miyu-chan> lib.stringLength /etc/nixos/nixpkgs/nixos
<Miyu-chan> 49
<Miyu-chan> Oh.
<Miyu-chan> This is funny. Make a guess what's happening!
<gchristensen> copying to store? :)
<Miyu-chan> Yep.
<clever> stringLength may use toString, which doesnt copy
<clever> but then == compares against a different str?
<Miyu-chan> I think the fact that it gives a huge stringLength is a giveaway.
<Miyu-chan> nix-repl> builtins.stringLength "${/etc/nixos/nixpkgs}"
<Miyu-chan> 51
<Miyu-chan> nix-repl> builtins.stringLength /etc/nixos/nixpkgs
<Miyu-chan> 51
<clever> yep, its the length of the storepath copy
<clever> so its likely comparing against the storepath too
<clever> you want hasPrefix (toString /path)
gentauro has joined #nixos
<Miyu-chan> Yeah, finally got it.
<Miyu-chan> Is there an equivalent to Data.Function.on?
<Miyu-chan> on g f x y == f (g x) (g y)
<sphalerite> we need noogle.
<{^_^}> [nixpkgs] @worldofpeace opened pull request #64728 → gnome3.gnome-boxes: fix hardcoded emulator path → https://git.io/fjXRv
<Miyu-chan> A repository for Nix libarries. Oh no.
<clever> lol
<Miyu-chan> Thinking back, I complicated my problem so hard.
<Miyu-chan> I wanted to build a tree, then find the common paths.
<Miyu-chan> Something like "etc"."nixpkgs"."..."
fendor has joined #nixos
<Miyu-chan> And when there's a match in /etc/nixpkgs/foo, I can just delete the key etc.nixpkgs.foo
<Miyu-chan> Turns out I can just use string functions, and call it a day.
<Miyu-chan> A better writeup will be done later lol
<Miyu-chan> I'm just saying cryptic stuff.
MmeQuignon has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 245 seconds]
<yorick> figured it out, had to use melpaBuild
<yorick> future irc log googlers: see my gist
nurelin_test has joined #nixos
<Miyu-chan> Errr.
<Miyu-chan> Someone recommended to me baseModules a while ago, and apparently, that's not the thing I wanted.
<Miyu-chan> I need a list of all imports, even outside of <nixpkgs/nixso>
stepcut has joined #nixos
ericsagnes has quit [Ping timeout: 252 seconds]
orivej has joined #nixos
otulp has joined #nixos
stepcut has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @risicle opened pull request #64729 → [r19.03] dosbox: add patches for CVE-2019-7165 & CVE-2019-12594 → https://git.io/fjXRU
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #64730 → syncthing: 1.1.4 -> 1.2.0 → https://git.io/fjXRT
nurelin_test has quit [Quit: ZNC 1.7.2 - https://znc.in]
<{^_^}> [nixpkgs] @risicle opened pull request #64731 → dosbox: 0.74-2 -> 0.74-3, fixing CVE-2019-7165, CVE-2019-12594 → https://git.io/fjXRI
MmeQuignon has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #64724 → [r19.03] redis: 5.0.3 -> 5.0.5, fixing CVE-2019-10192 & CVE-2019-10193 → https://git.io/fjXBt
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to release-19.03: https://git.io/fjXRt
stepcut has joined #nixos
gagbo has quit [Ping timeout: 245 seconds]
jgt1 is now known as jgt
gagbo has joined #nixos
shandogs has quit []
civodul has joined #nixos
nurelin_test has joined #nixos
zaeph has quit [Quit: zaeph]
zaeph has joined #nixos
gagbo has quit [Ping timeout: 258 seconds]
v88m has quit [Ping timeout: 248 seconds]
gagbo has joined #nixos
fendor has quit [Ping timeout: 245 seconds]
<ar> virt-manager looks broken in nixos-unstable
<{^_^}> [nixpkgs] @eadwu opened pull request #64732 → bcachefs: 2019-07-13 → https://git.io/fjXR0
<ar> (i get that when trying to click "new vm")
v88m has joined #nixos
<Miyu-chan> nix-repl> :p lib.filter (file: !lib.any (pfx: lib.hasPrefix (toString pfx) file) ([ <nixpkgs/nixos> ] ++ config.services.duplicity-backup.archives.system.directories)) (builtins.map (x: toString x.file) options._definedNames)
<Miyu-chan> [ "/etc/nixos/system-specific.nix" "/etc/nixos/system-specific.nix" "/etc/nixos/hardware-configuration.nix" "/etc/nixos/hardware-configuration.nix" "/etc/nixos/nixpkgs/lib/modules.nix" "/etc/nixos/nixpkgs/lib/modules.nix" ]
<Miyu-chan> This seems to work for me.
dansho has quit [Ping timeout: 272 seconds]
alex`` has quit [Ping timeout: 246 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
alex`` has joined #nixos
lucasvo_3 has joined #nixos
<gchristensen> if /etc/nix/machines changes during a `nix-build`, will it be picked up, or do I need to restart the nix-build?
<clever> gchristensen: i think it gets picked up right away
init_6 has quit [Read error: Connection reset by peer]
lucasvo_3 has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
alex`` has quit [Ping timeout: 248 seconds]
alex`` has joined #nixos
init_6 has joined #nixos
MmeQuignon has quit [Ping timeout: 268 seconds]
MmeQuignon has joined #nixos
fendor has joined #nixos
<aveltras> arent a file like following supposed to be enough to deploy to an already running nixos server with nixops ?
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « dmenu: fix crash with XMODIFIERS »: https://git.io/fjXRX
<aveltras> nixops deploy errors with
<aveltras> am i supposed to put the whole hardware configuration in the nixops file ?
<clever> aveltras: yes
<clever> aveltras: and anything needed to make it boot and get network
npmccallum has joined #nixos
<aveltras> clever: ok, i see, i'll then loose the whole configuration being on the server right now, right ?
<aveltras> clever: will this reset root password ?
<clever> aveltras: depends on if you have mutable users enabled or not in the config nixops deploys
<clever> its on by default, so passwords will persist
<clever> but any non-default users will be removed automatically
fendor has quit [Ping timeout: 245 seconds]
<aveltras> clever: is nixops supposed to always use root ssh login to deploy ? right now i have set up my public ssh key on the server on purpose, but it doesn't use that
gagbo has quit [Ping timeout: 258 seconds]
<clever> nixops will generate its own keypair for root ssh, but it will need a password or ssh-agent to get in the first time
<aveltras> clever: ok, is it a problem if, say, my laptop crash, all nixops local config is lost
gagbo has joined #nixos
<aveltras> clever: will i still be able to deploy again by reconfiguring nixops as if it was first deploy ?
<clever> for the none backend, yep
<clever> just re-run nixops create on the same nix files, and you can deploy
<aveltras> i saw on a github repo that some people put nixops config files directly in the project (by changing an env variable), is it something you'd advice for ?
<aveltras> and all that in version control
<clever> i would just keep a single copy of the nixops state file on a central-ish machine
<clever> note that the state file contains an ssh private key with root access
<aveltras> ye ok, i guess i'll keep nixops running the conventional way then :p
<aveltras> thanks again for your input
<aveltras> your kexec method from yesterday ran nicely on hetzner from debian to nixos :)
<clever> :D
<aveltras> just wondering
<aveltras> do you store those generated images somewhere ?
<aveltras> on the internet i mean
<clever> not currently
<clever> but that should be possible
<clever> its already setup to get an ssh key at start time
polman has quit [Ping timeout: 245 seconds]
ToxicFrog has joined #nixos
<aveltras> cause i didn't follow your whole method "justdoit executable", so the generated image wasn't really server specific, then it seems to be wasteful to generate it each time for different servers
<clever> if you create /ssh_pubkey before you /kexec_nixos, it will be copied into the image, and added to /root/.ssh/authorized_keys
<clever> that saves each user from having to generate a unique image for their keypair
<aveltras> clever: ok ok
<{^_^}> [nixpkgs] @taku0 opened pull request #64733 → firefox: 67.0.4 -> 68.0, firefox-esr: 60.7.2esr -> 68.0esr, rust-cbindgen: 0.8.3 -> 0.8.7 → https://git.io/fjXRx
polman has joined #nixos
chreekat has joined #nixos
init_6 has quit [Read error: Connection reset by peer]
max__ has joined #nixos
max__ is now known as blablablablamax
<blablablablamax> ciao
<blablablablamax> I have a Nix module that depends on environment.sessionVariables.SSL_CERT_FILE being set to something reasonable. What’s the correct way to do that?
<blablablablamax> I now have environment.sessionVariables.SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; but that seems... hardcoded.
<infinisil> blablablablamax: Why don't you just use "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" in your module directly?
samrose has joined #nixos
<blablablablamax> infinisil: because the path /etc/ssl/certs tends to change?
<Miyu-chan> infinisil: How do I show the definition of random?
<Miyu-chan> On the IRC bot.
<infinisil> blablablablamax: Packages don't really change their contents, so you can really rely on that file existing in the future as well
<infinisil> > :v random
<{^_^}> random = fnv1a32 builtins.currentTime
<infinisil> Miyu-chan: ^
<Miyu-chan> Thanks!
init_6 has joined #nixos
<blablablablamax> infinisil: I just had to change it from /etc/ca-bundle.crt to the new path to make things work...
init_6 has quit [Client Quit]
<infinisil> Ah darn, that's not very good
<Miyu-chan> Eep. What would cause <unknown-file> in options._definedNames?
<Miyu-chan> I basically did `toString (lib.filter f options._definedNames)`
<clever> Miyu-chan: things like imports = [ { module } ];
<infinisil> blablablablamax: When did the path to that change?
<Miyu-chan> FWIW, it doesn't appear on 'nix repl <nixpkgs/nixos>'
<infinisil> blablablablamax: In nixpkgs a lot of things are referencing the /etc/ssl/certs/ca-bundle.crt path, so that should really stay like that
Soo_Slow has joined #nixos
<infinisil> Otherwise a lot of things would break
<chreekat> I'm extending haskellPackages and overriding some attrs with callHackageDirect. After doing that once, I changed the sha256 and reran nix-shell, and nothing changed. Shouldn't I have gotten some sort of error? (I used the sha256 from a different package, so it's a valid sha - just the wrong one.)
<das_j> Is it possible that the reproduce script produces different outputs than the hydra itself? One build failed for me, so I reproduced it locally (which worked), but the path that failed on the Hydra doesn't exist on my machine
<clever> ,tofu chreekat
<{^_^}> chreekat: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<clever> chreekat: if you use the hash of a random thing, it will give you that random thing, not an error about an incorrect hash
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<Miyu-chan> Also.
<Miyu-chan> ;p (builtins.filter (x: x.file == "<unknown-file>") options._definedNames)
<Miyu-chan> [ ]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<chreekat> clever: is there an issue about that? Or an explanation of why it might be considered a "feature"? It is rather surprising
o1lo01ol1o has joined #nixos
<infinisil> blablablablamax: Well, I checked back to the 15.09 release, it's always been ${cacert}/etc/ssl/certs/ca-bundle.crt back to then
<blablablablamax> hmm weird, maybe a fluke on my side
<clever> chreekat: it will compute the /nix/store/foo of a fixed-output drv, based on the sha256 and name
<blablablablamax> but I guess that answers my original question whether its a good idea to use that path hardcoded. Thanks!
<clever> chreekat: often the name is just "source", so if you give it a sha256 that exists in /nix/store, it just uses that path, and doesnt download it
<Miyu-chan> I guess I'll just filter out "<unknown-file>" quick fix
<Miyu-chan> :D
<Miyu-chan> Ensure that all imported files will be backed up.
<Miyu-chan> Err, ensure that all module imported files will be backed up.
<Miyu-chan> I wonder how people can use this.
<chreekat> clever: what function are you talking about, in particular? I guess it's at a lower level than callHackage{Direct} itself
o1lo01ol1o has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #63932 → nixos/redmine: add database.createLocally option → https://git.io/fjod0
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fjX0B
<clever> chreekat: yeah, the point where the nix exprs turn into derivations
<chreekat> k
<{^_^}> [nixpkgs] @Infinisil merged pull request #64725 → Completed missing meta fields → https://git.io/fjXBl
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjX0R
<chreekat> clever: could these higher-level functions somehow inspect some intermediate result and provide friendlier errors (i.e., any error whatsoever?
<clever> chreekat: fairly difficult to do that
<__monty__> > platforms.all
<{^_^}> attribute 'all' missing, at (string):255:1
<aveltras> does anyone have a weechat configuration example ? with whole weechat config defined in the nix configuration ?
<__monty__> > platforms
<{^_^}> { aarch64-multiplatform = <CODE>; armv7a-android = <CODE>; armv7l-hf-multiplatform = <CODE>; beaglebone = <CODE>; ben_nanonote = <CODE>; fuloong2f_n32 = <CODE>; guruplug = <CODE>; pc32 = <CODE>; pc32_...
<chreekat> Hm
<chreekat> The sha256 passed to callHackageDirect doesn't show up in /nix/store/* anywhere
<chreekat> at least, nowhere that also has the haskell package's name in the filename
<chreekat> and not as /nix/store/<sha>...
<infinisil> The sha256 isn't the same as the store path
<infinisil> chreekat: What's the problem right now?
gagbo has quit [Ping timeout: 245 seconds]
<chreekat> infinisil: I'm trying to find out if there's a way we can make callHackage{,Direct} give an error if you specify the wrong sha256. It will silently do nothing if you give it the sha for some other package (presumably any package at all? I don't know)
elux has joined #nixos
<elux> hi there
alex`` has quit [Ping timeout: 272 seconds]
<infinisil> chreekat: Hm, you mean that it should detect when it's not a haskell package?
gagbo has joined #nixos
<elux> im trying to remap some of my keys on my keyboard, speciically: 1.) swap left alt/win keys 2.) then remap the win key to ctrl 3.) map printscreen to super --- I've accomplished this with xmodmap just fine, which works on my laptop, but when using an external usb keyboard it doesn't translate.
alp has quit [Ping timeout: 252 seconds]
<chreekat> infinisil: It seems it should detect when you've gotten the wrong sha256 for the given pkg/ver. My original problem was that I tried to do tofu by copy/pasting the sha256 line from another package, which silently did nothing at all.
<elux> so I then tried setxkbmap -option, but, it was limited to what seemed like pre-enumerated options, and i couldn't remap anything custom, like setxkbmap -option "prtsc:hyper" for example...
<chreekat> Or perhaps silently used some other package, according to what clever said
alex`` has joined #nixos
<simpson> elux: Your external keyboard may have different keycodes; you will need to use xev or similar to rediscover the correct codes.
<infinisil> chreekat: Ah, so it could perhaps check the .cabal file to see if the pkg and ver matches what you specified
<infinisil> That might be possible yeah
<elux> simpson: i see, thats helpful, ill check. but i think xmodmap won't apply the mod to newly plugged in keyboards
<elux> what about using `setkeycodes` + udev..? which is at kernel level..? i figure this would be even more reliable
<simpson> elux: xmodmap WFM on an external USB keyboard right now.
<chreekat> ah, neat. Although parsing cabal files from Nix sounds treacherous. I assume the package source gets downloaded into the store somewhere, right? Can we do anything with the path it gets downloaded to?
<simpson> I would *not* endorse altering your mapping at the kernel level merely to rearrange your modifier keys.
<elux> what is "WFM"
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to release-19.03 « dmenu: fix crash with XMODIFIERS »: https://git.io/fjX06
<simpson> elux: "Works For Me". I'm on a USB Bluetooth keyboard right now, with my modifiers remapped so that I can have a Compose key.
<elux> nice. thanks. i think one nuance is that im on a laptop, and adding usb keyboard it detects too, so didnt seem to apply the mod when i plugged it in after..?
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c31b7402b1e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
stepcut_ has joined #nixos
stepcut has quit [Ping timeout: 244 seconds]
fusion809 has quit [Remote host closed the connection]
<simpson> Correct, you must re-xmodmap every time you plug in the keyboard.
<elux> wouldnt that screen things up tho? is is there a xmodmap reset command, since i'd be mapping over a mapping?
<simpson> Is that how xmodmap works? I'm not sure.
stepcut has joined #nixos
turion has quit [Ping timeout: 264 seconds]
stepcut_ has quit [Ping timeout: 244 seconds]
stepcut_ has joined #nixos
<infinisil> chreekat: You could append to callHackageDirect's postFetch
<infinisil> chreekat: And do some cabal parsing with some tool there
stepcut has quit [Ping timeout: 268 seconds]
<chreekat> infinisil: I forgot to ping you on my previous message, I had a concern about cabal parsing
<infinisil> chreekat: Yeah I saw that, but you don't need to use Nix for that
<infinisil> You can use any tool you like in postFetch
nschoe has quit [Quit: Program. Terminated.]
gagbo has quit [Ping timeout: 245 seconds]
<chreekat> elux: it'll probably work. I re-load my config every time i re-plug-in my usb keyboard. I mean, maybe the moon has always just been in the right phase, hard to tell with xkeyboard
<chreekat> elux: dbus could probably be used to reload it automatically, but i haven't gotten there yet
<chreekat> infinisil: i'm not sure what tool if any *would* work. ^^' So is it not possible to figure it out from a store path, though?
gagbo has joined #nixos
<Miyu-chan> Is nixos-generate-config not luks aware?
<clever> Miyu-chan: i think that depends on if your mixing luks and lvm
<yorick> Miyu-chan: it is
<Miyu-chan> Hm.
<elux> chreekat: thanks i got it to work :) and ive i need to reset, i figured i can run setxkbmap -option "" and it'll reset xmodmap changes
<infinisil> chreekat: Well, the store path is derived from the name you give in callHackageDirect
<infinisil> chreekat: So checking it won't give you any more info than you already gave in the function call, it won't actually check the hashes contents
<clever> Miyu-chan: nixos-generate-config doesnt understand zfs either
<infinisil> Hm
<infinisil> I think
<clever> Miyu-chan: ah, i think i see part of the problem, and its not needed anymore
<Miyu-chan> Even the classic mounting?
<clever> Miyu-chan: that guide is saying to create a luks volume, and then put lvm inside of luks, and then put swap+root on lvm
<clever> Miyu-chan: that was to avoid having 2 passphrase prompts on bootup
<clever> Miyu-chan: but nixos now remembers the passphrase, so you can just make 2 luks devices, on 2 partitions
<clever> and skip the lvm
<Miyu-chan> Right. Is the proper 1<->1 luks<->filesystem?
<Miyu-chan> Err
<clever> thats what i prefer
<Miyu-chan> Yeah, glad that I got my point across lmao.
<infinisil> chreekat: Ah I'm wrong, the name of the fixed-output derivation is always /nix/store/<some-hash>-source, which comes from pkgs.fetchzip
<Miyu-chan> I've been at this for the past 3 days, so my brain's a bit mush rn
<Miyu-chan> clever: That means that my luks patches is actually relevant!
<infinisil> chreekat: You really would have to check the contents cabal file to have any good error
<Miyu-chan> I originally created the patches for this project, but I didn't understand the attack vector that well.
<{^_^}> [nixpkgs] @vbgl merged pull request #64727 → coq: 8.10+beta1 -> 8.10+beta2 → https://git.io/fjXBA
<{^_^}> [nixpkgs] @vbgl pushed commit from @Zimmi48 to master « coq: 8.10+beta1 -> 8.10+beta2 »: https://git.io/fjX0b
<{^_^}> #53600 (by adrianparvino, 26 weeks ago, open): nixos/modules/system/boot/stage-1.nix: Add support for mounting files encrypted with luks
<Miyu-chan> clever: Can you give this a quick check? Basically, if we're moving to 1<->1 luks and file systems, then this seems to be the ergonomic way to do it.
iyzsong-x has quit [Ping timeout: 252 seconds]
deech has joined #nixos
<Miyu-chan> TL;DR: It will check the fstab, and if it has luksTarget as an option, it luksOpens it, then treat it like a normal device.
<clever> Miyu-chan: bit distracted right now, but remind me to check it in a few hours
<Miyu-chan> Sure thing. I'm also working right now.
elux has quit [Quit: leaving]
<chreekat> infinisil: Well, parsing the cabal file either means writing a haskell utility that uses the Cabal library, or hoping to get lucky with some string parsing (which I guess would work 99% of the time). I want to make sure there isn't something easier..
<infinisil> There really isn't afaik
<infinisil> Ah
<chreekat> fetchzip takes a name argument, that the hackage machinery isn't using
<infinisil> Something that might work is to fetch the hackage url again in the non-fixed-output derivation, and only use that to verify that they're the same
<infinisil> That would actually be a neat solution in general
<infinisil> You would have to download the thing twice though, which isn't optimal
gagbo has quit [Ping timeout: 248 seconds]
<infinisil> chreekat: Yeah but really that name doesn't help anything. The thing it fetches can't have any influence on the name
<chreekat> Hm? Not sure I follow. If "<pkg>-<ver>" was passed in as name, wouldn't it have made Nix realize the thing I want didn't exist yet? That would have solved at least one variant of this
o1lo01ol1o has quit [Remote host closed the connection]
gagbo has joined #nixos
o1lo01ol1o has joined #nixos
<infinisil> Hm I see, I haven't thought of that
ris has quit [Ping timeout: 260 seconds]
Makaveli7 has joined #nixos
<infinisil> Would be a good thing to test
stanibanani has quit [Ping timeout: 248 seconds]
ris has joined #nixos
<Miyu-chan> yorick: clever: Thanks!
<infinisil> Although, it might not work if Nix only takes the sha256 into account
<lassulus> how can I emtpy the cache of builtins.fetchGit?
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<chreekat> infinisil: is there any way to test it that does not involve rebuilding all of haskell? :)
<infinisil> chreekat: Just use pkgs.fetchzip with some existing hash of something different, and change the name or so
<lassulus> ok got it, it's in .cache/nix/gitv2
<chreekat> oh, of course, haha
<Miyu-chan> sphalerite: Ping!
Makaveli7 has quit [Quit: WeeChat 2.5]
schneid3306 has joined #nixos
jgt has quit [Ping timeout: 276 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<chreekat> infinisil: hm, I tried to repro the original problem, using a call to fetchzip for the src with stdenv.mkDerivation, but in that case the zip was redownloaded when I changed the sha256, and an error about a mismatch was given
<chreekat> oh, duh, because i didn't re-use a real sha256 from an existing pkg
<infinisil> Yep :)
<chreekat> I'm just bad at choosing the "wrong" sha :D
endformationage has joined #nixos
<aveltras> do people usually handle the redirection of a www.domain.com to domain.com on nginx config or is it supposed to be configured on the domain name server ?
<Yaniel> whatever is more convenient
<Yaniel> probably nginx since you don't have propagation delays etc
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
<aveltras> Yaniel: right, thx
Izorkin has joined #nixos
gentauro has quit [Ping timeout: 244 seconds]
<aveltras> does anyone have an example nix config that does that ? (nginx redirect www to naked domain)
<sphalerite> Miyu-chan: pong?
<chreekat> infinisil: yep, this does what I want, at least partially! (Given that teh use of revisions on Hackage means that name/version is not enough to specify something entirely. But that's a different problem, one I don't care about right now). If callHackageDirect passed in a name like "${pkg}-${ver}-source" to fetchzip, it wouldn't be possible to fool Nix by giving the sha256 of a different package.
MmeQuignon has quit [Ping timeout: 245 seconds]
<Miyu-chan> sphalerite: I just realized that one of my patches is actually how should be used. https://github.com/NixOS/nixpkgs/pull/53600
<{^_^}> #53600 (by adrianparvino, 26 weeks ago, open): nixos/modules/system/boot/stage-1.nix: Add support for mounting files encrypted with luks
<infinisil> chreekat: Nice :D
<Miyu-chan> is actually how LUKS should be used.*
<Miyu-chan> Like, writing directly to the LUKS encrypted block device instead of putting LVM under it.
<Miyu-chan> s/writing/writing a file system/
MmeQuignon has joined #nixos
<{^_^}> [nixpkgs] @jraygauthier closed pull request #60428 → vscode-extensions.ms-python: 2018.12.1 -> 2019.4.11987 → https://git.io/fjG17
<Miyu-chan> So from what I undrestand, my patch is the current way LUKS is used under NixOS, but removes the need for boot.initrd.luks.devices
gentauro has joined #nixos
lkonya has joined #nixos
szicari has quit [Quit: ZNC - http://znc.in]
szicari has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/30548e9654e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
lkonya has quit [Remote host closed the connection]
Chiliparrot has joined #nixos
<chreekat> Ah, and the generic builder uses fetchurl directly
<chreekat> What's the status on IOHK's Haskell.nix, anyway? Are people using it?
<clever> chreekat: there is #haskell.nix to discuss it
gagbo has quit [Ping timeout: 268 seconds]
<clever> 26 people in there right now
gagbo has joined #nixos
lkonya has joined #nixos
<gnidorah> merge please? #63024
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63024 (by gnidorah, 4 weeks ago, open): midisheetmusic: always bring timidity dependency
Myhlamaeus has joined #nixos
oborot has joined #nixos
<__monty__> I'm rewriting a nixpkgs package and nix-build is complaining about default values. How do I run it properly "in-context" as it were?
<yorick> __monty__: nix-build -E '((import <nixpkgs> {}).callPackage ./pkg.nix {})'
<infinisil> ,callPackage
<{^_^}> If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<infinisil> Ah but if you're in nixpkgs you should just use the top-level attribute
<infinisil> Like `nix-build -A hello` for the hello package
knupfer has joined #nixos
alp has joined #nixos
Drakonis has joined #nixos
<sicklorkin> Miyu-chan: ping
<sicklorkin> yikes.. that was an old msg.. ignore meh
<Miyu-chan> Lmao
<Miyu-chan> Was it related to the LUKS thingy?
<__monty__> infinisil: And I have to run that from the nixpkgs top level?
<sicklorkin> Miyu-chan: no, you were asking how to check if you have network connectivitiy
justanotheruser has quit [Quit: WeeChat 2.4]
<sphalerite> Miyu-chan: well, LVM-on-LUKS can be useful too
<sphalerite> but yeah you certainly can use LUKS without LVM
justanotheruser has joined #nixos
blablablablamax has quit [Quit: Connection closed for inactivity]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5eac339829b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « liburing: 1.0.0pre137_91dde5c9 -> 1.0.0pre150_93f3e8d5 »: https://git.io/fjXEr
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64375 → keybase{,-gui}: 3.0.0 -> 4.1.0 → https://git.io/fj6h0
<{^_^}> [nixpkgs] @worldofpeace pushed 7 commits to release-19.03: https://git.io/fjXEo
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjXEP
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64528 → filezilla: 3.42.1 -> 3.43.0, libfilezilla: 0.16.0 -> 0.17.1 → https://git.io/fjiNZ
justan0theruser has joined #nixos
szicari has quit [Ping timeout: 245 seconds]
justanotheruser has quit [Ping timeout: 245 seconds]
szicari has joined #nixos
justan0theruser is now known as justanotheruser
ddellacosta has joined #nixos
szicari has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @risicle opened pull request #64734 → zeromq: 4.3.1 -> 4.3.2, fixing CVE-2019-13132 → https://git.io/fjXES
<{^_^}> [nixpkgs] @risicle opened pull request #64735 → [r19.03] zeromq: 4.3.1 -> 4.3.2, fixing CVE-2019-13132 → https://git.io/fjXE9
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c31b7402b1e (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<aveltras> could anyone explain me the relation between "security.acme.certs.<name>.webroot" and nginx for example ? as i understand it, acme will create a certificate under the given directory but how will it be made accessible from the web for the challenge ? is this automatic ?
sicklorkin has quit [Quit: Changing server]
<clever> aveltras: when using virtualHosts.foo.enableACME, its fully automatic
<clever> aveltras: ive not tried using security.acme yet
<aveltras> clever: ye, but it seems "services.nginx.virtualHosts.<name>.useACMEHost" is there in the case (i guess) you don't want to create multiple certificates
<aveltras> because i'd need a cert for naked domain + one for www.domain ° one for weechat.domain
<clever> the automation is also cheap enough that i just make multiple certs
<aveltras> i guess it's supposed to be made using the "extraDomains" attribute from security.acme.certs
<aveltras> in fact, i guess we can configure only once one certificate for multiple domains using acme and then using useAcmeHost in nginx config, nginx will serve the challenge directory according to https://github.com/NixOS/nixpkgs/blob/release-19.03/nixos/modules/services/web-servers/nginx/default.nix#L207
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c0339a7b396 (from 26 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
o1lo01ol1o has joined #nixos
<oborot> During boot, crptomount isn't mounting the correct volume during boot. I have no manully open the command promt and mount it myself.
<oborot> Any ideas what might be the cause of that?
justanotheruser has quit [Ping timeout: 244 seconds]
<oborot> It's trying to mount some weird lvm/matrix-rootvolume, which I'm assuming is the default?
<clever> oborot: what does hardware-configuration.nix and configuration.nix say?
<clever> oborot: and what is the exact error?
<oborot> error: disk \lvm/matrix-rootvol' not found
<oborot> error: disk \lvm/matrix-boot' not found.
jmeredith has joined #nixos
<clever> oborot: can you screenshot the error?
<oborot> ummm, I'll see if I can take a picture
jgt has joined #nixos
alp has quit [Ping timeout: 252 seconds]
lambda-11235 has joined #nixos
v88m has quit [Ping timeout: 245 seconds]
<oborot> clever: https://ibb.co/2N665zW (disregard the UUID there, I'm on a different install from the config shown in the Gist, but I'm certain it corresponds to my /dev/sda2 volume).
<oborot> To workaround the issue, it was necessary to open the GRUB console and run: cryptomount -a and set root=(lvm/matrix-rootvolume)
<clever> oborot: that error is coming from grub, not nixos, its possible that grub failed to install correctly, and thats your old grub config
<oborot> Actually I had to run set root=(lvm/vg-root)
<clever> and that output only happens if /boot is encrypted, which i generally avoid
<oborot> Is nixos not responsbile for installing grub as well?
<clever> nixos is responsible for it
<clever> is /boot encrypted or cleartext?
<oborot> Encrypted
<oborot> I thought it would be a good idea
<clever> it heavily complicates things, and doesnt add that much security, because the grub stage 1.5 is still in cleartext
o1lo01ol1o has quit [Remote host closed the connection]
jackdk has quit [Quit: Connection closed for inactivity]
<clever> a motivated attacker can just modify the part of grub that is asking for a passphrase
o1lo01ol1o has joined #nixos
<oborot> Well every little bit helps, and I feel like I'm really close. The one missing part of the puzzle here just seems to be that it's mounting the wrong root.
<oborot> Is the grub config auto-generated?
<clever> yes
<clever> but the grub config file is on /boot/
<clever> so it has to decrypt that before it can read it
<oborot> Oooh
<oborot> That sounds like a chicken and egg problem
<clever> the config on how to find /boot, is baked into the 1.5 binary, in the bios boot partition
szicari has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<oborot> So if my LVM config naming matched what the defaults it's expecting it might work?
<oborot> I think I'm going to try to read up a bit more on whether or not this is even worthwhile to do
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1f16d0496ce (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @lheckemann merged pull request #62835 → Ipv6 privacy extensions → https://git.io/fjzwQ
<{^_^}> [nixpkgs] @lheckemann pushed 4 commits to master: https://git.io/fjXuP
jasongrossman has quit [Ping timeout: 268 seconds]
<__monty__> Hmm, can't get the nix-build -A nixpkgsAttr to work from a nixpkgs subdir.
<__monty__> Specifying -I is not enough.
<__monty__> nix-build just picks up the default.nix
alp has joined #nixos
<clever> __monty__: are you in the root of the nixpkgs dir?
drakonis_ has joined #nixos
justanotheruser has joined #nixos
<__monty__> clever: No, in the package's subdir.
<clever> thats your issue
<clever> you need to be in the root of nixpkgs, or give it the path to the root default.nix
knupfer has quit [Ping timeout: 250 seconds]
<__monty__> Was trying to give it the path to nixpkgs. Figured it'd pick up the top default.nix; looking for the right one now.
<clever> you need to give it the path without any args
<clever> nix-build ~/apps/nixpkgs -A foo, for example
<clever> the raw path you give it, is the path to a nix file it loads
<clever> if that is missing, it loads default.nix in the current dir
Drakonis has quit [Ping timeout: 276 seconds]
knupfer has joined #nixos
Drakonis has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c0339a7b396 (from 75 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
drakonis_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64719 → cargo-bloat: 0.7.1 -> 0.7.2 → https://git.io/fjXCB
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjXuj
MmeQuignon has quit [Ping timeout: 258 seconds]
alp has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #64736 → perlPackages.EmailSender: fix tests → https://git.io/fjXzk
MmeQuignon has joined #nixos
rsoeldner has joined #nixos
<__monty__> clever: Getting "expression doesn't evaluate to a derivation" but that doesn't make sense to me. Surely nixpkgs has a good default.nix?
<clever> __monty__: what is the exact command you ran?
<{^_^}> [nixpkgs] @ChrisWills opened pull request #64737 → add modprobe.d config options for stage 1 (initrd) → https://git.io/fjXzL
<__monty__> clever: nix-build ~/src/nixpkgs -A wire-desktop
<clever> __monty__: if you run `nix repl ~/src/nixpkgs` and then eval `wire-desktop`, what does it return?
v88m has joined #nixos
<oborot> Do you guys keep your nix config in source control?
<oborot> Is there even any point in that?
<__monty__> Of course.
<clever> oborot: yeah
<etu> oborot: yes, github.com/etu/nixconfig :p
<__monty__> What if your drive dies? Poof, years of percolating your config out of the window.
<clever> if the config is in git, you can just git clone, nixos-install, and 90% of your machine is back instantly
<oborot> Good point. Funny enough, I've actually never had a drive die on me.
<qyliss> You can share configuration between machines too
<{^_^}> [nixpkgs] @worldofpeace merged pull request #64712 → [r19.03] cloudfoundry-cli: 6.41.0 -> 6.43.0, fixing CVE-2019-3781 → https://git.io/fjXZe
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-19.03: https://git.io/fjXzq
<rsoeldner> Hey, running NixOS and want to enter common haskell dev env. When adding ~/.config/nixpkgs/config.nix as mentioned https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/haskell.section.md I cant enter with `nix-env -iA myHaskellEnv` with error error: attribute 'myHaskellEnv' in selection path 'myHaskellEnv' not found. What am I doing wrong?
<clever> rsoeldner: its best to enter haskell envs with nix-shell, not nix-env
<rsoeldner> clever, what is the best way to prepare a commin set - as overlay like this https://gist.github.com/rsoeldner/dbebb612cecb99712577ff84d984fe27
<clever> rsoeldner: nix-shell -p myHaskellEnv
day|flip has joined #nixos
<rsoeldner> clever, thank you
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
erictapen has joined #nixos
rsoeldner has quit [Remote host closed the connection]
___laika has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/a6598a6c865 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<oborot> Has anybody done any performance benchmarking of the various desktop manager options?
<oborot> From my reasearch around, it looks like enlightenment might be the best performance option.
<oborot> But it looks pretty ugly.
knupfer has quit [Ping timeout: 264 seconds]
<__monty__> oborot: I use enlightenment and with a narrow panel the gadgets aren't too awful.
<day|flip> enlightement is weird to used
<__monty__> Everything else is also super customizable.
<day|flip> for me I kind of remove most the title bars
<__monty__> It's quirky but it's undeniably performant on weak machines.
<oborot> I'm looking for a low resource usage DE with minimilistic UI.
<oborot> I have a pretty small screen, so the more things I can hide (like title bars) the better.
<oborot> I'm planning on using terminal based everything, except for the browser, and perhaps MPV.
<betaboon> I havent used a desktop-manager in ages, just running i3
<__monty__> I have quite an effective setup for that usecase. Combined with a firefox userChrome.css to make the titlebar really thin it's great.
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<day|flip> oborot: kind of what i been working with on. enlightenment https://pasteboard.co/InYvmRC.png
<oborot> day|flip: Whoah, that's pretty sick
<day|flip> trust me when i say. Enlightement is weird to used
<oborot> Weird how?
<day|flip> ldlework: monospace terminal font?
<oborot> infinisil: Is that Enlightenent?
<oborot> Enlightenment*
<infinisil> Huh what?
<ldlework> oborot: it's qtile
<Yaniel> proportional terminal fonts are heresy, of course it's monospace
<day|flip> oborot: have a look at glances on the far right
<oborot> infinisil: sorry, wrong person, that was for idlework :p
<day|flip> oborot: if i have to guess. bspwm
<ldlework> it's qtile heh
<day|flip> oo
<day|flip> i was guessing
blablablablamax has joined #nixos
<day|flip> qtile have change a lot then. compare to the last time i try using it. like two or three year ago
<__monty__> oborot: Here's firefox with my userChrome.css, focus was on reducing vertical height and making it black: https://i.imgur.com/yVvE5bQ.png
mmlb has joined #nixos
<Yaniel> ldlework: what terminal is that / how do you do the color palette thing
<__monty__> All this DE/WM stuff is offtopic though so let's move it to #nixos-chat
<blablablablamax> Hi again. Does anyone by chance know how to make libvirtd provide host CPU features like AVX2/AES-NI to the guests?
<ldlework> Yaniel: urxvt + wpgtk(pywal)
<oborot> __monty__: Nice, but I use Qutebrowser
<oborot> It's actually pretty sparse out of the box
<oborot> Not even an adress bar, all I can see are tabs at the top
<ldlework> oborot: qutebrowser you say? http://logos.ldlework.com/caps/2019-07-14-18-34-56.mp4
<ldlework> qutebrowser is the slowest member of my global theming because it has to re-evaluate it's entire python based config
<ldlework> but it works
<oborot> ldlework: :o
<oborot> That's pretty neat
<day|flip> I think ill switch back to awesome wm once I done messing around with AMD SME
<adisbladis> oborot: My firefox goes one step further and disables tabs completely
<oborot> I started using a tiling window manager on my mac, think I'll start using one on this new laptop I'm setting up
<adisbladis> Also no address bar :)
<oborot> adisbladis: Mad man!
<__monty__> adisbladis: But the popup firefox uses if there's no location bar is hideous, no?
MmeQuignon has quit [Ping timeout: 245 seconds]
<day|flip> adisbladis: xmonad verson for mac?
<adisbladis> day|flip: Huh?
<adisbladis> __monty__: Huh? I can press C-l to get the address bar.
<adisbladis> It's just not there by default
<day|flip> adisbladis: are you using amethyst?
<adisbladis> day|flip: No. I'm using EXWM on Nixos.
<oborot> day|flip: I'm the mac tiling wm guy, and yeah, I'm using amethyst
<day|flip> cool cool
MmeQuignon has joined #nixos
<oborot> I wish I was as good with tiling wm as I am with tmux
<oborot> It would be nice to be able to purge some hotkeys from my brain
<day|flip> oborot: i suck at using tmux. i only using since alacritty show my terminal color better over kitty
<day|flip> witch is weird to say
veske has joined #nixos
<oborot> Do you like kitty?
<day|flip> i do
<oborot> It's kind of buggy on my Mac, but definietly seems to be more performant then some of the other terminal emulators I've used
<day|flip> i cant say. since i been using it on linux
<oborot> Do you do any image rendering in your terminal?
<day|flip> it run good. and less bs on how it handles color schemes
<__monty__> Buggy? Haven't run into any problems.
<__monty__> oborot: Check out ranger : )
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #64738 → magnetico: init package and service → https://git.io/fjXz0
<oborot> __monty__: I have problems when my Mac goes to sleep or sometimes when I switch displays. I have to unplug and plug the display adapater back in occosionally when characters stop rendering properly.
<__monty__> day|flip: Have you tried customizing kitty's colors?
<oborot> I use ranger, but images don't seem to render in kitty for some reason.
<day|flip> ya. it not hard to figure out
<blablablablamax> I think what I need to do is supply extra qemu options?
<manveru> anyone with C++ experience around that can help debugging the build of https://github.com/NixOS/nixpkgs/issues/64457 ?
<__monty__> oborot: Are you using the kitty preview_images_method?
<oborot> Yup
<oborot> But I'm going to try setting it up on this new nix machine in setting up again, hopefully it works better on Linux
<__monty__> oborot: Then please report this. Include your ranger version.
<__monty__> oborot: Only issue I've been having is the mac reboots when it sleeps for a while. But that's an OSX bug.
<oborot> Would that be a bug report for kitty or ranger you think?
<blablablablamax> How do I make libvirtd run qemu with -cpu host
<qyliss> manveru: might help to summarize where you're at on that issue?
drakonis1 has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
blablablablamax is now known as mrottenkolber
<manveru> qyliss: well, i'm not sure exactly :)
<manveru> atm it seems stuck waiting for something while running tests
<manveru> tried to strace it, but not sure what fd it's waiting for or what call causes it
<manveru> possibly some issue with inotify in the sandbox?
<manveru> anyway, i don't have any backtrace or anything and i'm not sure how to attach a debugger to a sandbox
fragamus has joined #nixos
o1lo01ol1o has joined #nixos
Chiliparrot has joined #nixos
<qyliss> there's breakpointHook
<qyliss> I've never figured it out though
fragamus has quit [Client Quit]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f4fcdac99fa (from 59 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8671386768d (from 74 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « python: line_profiler: fix build with Python 3.7 »: https://git.io/fjXzX
hmpffff has quit [Quit: nchrrrr…]
<day|flip> __monty__: my problem with kitty. https://pasteboard.co/InYITvVf.png
<day|flip> __monty__: does not handle light and dark version that will
<chrisaw> Does autoreconfHook allow for configureFlags to be used?
o1lo01ol1o has joined #nixos
<qyliss> chrisaw: yes
<__monty__> day|flip: Well, it's clearly more accurate in this case. Since 444444 *should* be the same color as 444444.
<qyliss> All it does is regenerate configure and Makefile.in (usually).
<day|flip> __monty__: but some terminal stuff start to act weird cuz of that
alex`` has quit [Ping timeout: 245 seconds]
<day|flip> I like to tell if there a color spilt from my setup from light and dark
<__monty__> day|flip: Yeah but you need to specify a lighter color for the "light" colors.
<__monty__> You can't specify the same color and expect a different result.
<__monty__> But this is neither here nor there. We can pick this up in #nixos-chat but it's OT here.
alex`` has joined #nixos
<day|flip> __monty__: but anyway. alacritty is show it right. just beceause it say 444. the script is calling for 0m for top and 1m for bottom
<mrottenkolber> So it turns out you can: deployment.libvirtd.extraDomainXML = "<cpu mode='host-passthrough'/>"; and that makes libvirtd run qemu with -cpu host
<yorick> what's the advantage of kitty over alacritty?
veske has joined #nixos
<day|flip> kitty you don't really need thing like tmux. it kind built in
<yorick> I don't really trust kovid goyal after all the calibre cve's
<yorick> (and the "I will maintain python 2 myself" attitude)
<__monty__> Tmux serves a very different purpose to tiling terminals.
<day|flip> but does not handle daemon like ssh like tmux can https://pasteboard.co/InYITvVf.png
<day|flip> wops
<{^_^}> kovidgoyal/kitty#391 (by mihaicristiantanase, 1 year ago, open): kitty tmux like daemon
<__monty__> yorick: Ime experience with ranger bug reports alacritty's all around a worse terminal though.
<Yaniel> TIL tmux is a hack
<__monty__> day|flip: Ah, I know what you're seeing. Notice that the "light" characters are actually *bold*. Many terminal programs erroneously use "bold" when they really mean "light."
lkonya has quit [Ping timeout: 260 seconds]
<__monty__> Bright, rather than "light."
<yorick> __monty__: ah, in my experience with sway bug reports kitty seemed like an all around worse client
<yorick> __monty__: I think currently kitty has a timer to see if it is getting frame events and then draws everything 60 times per second, instead of drawing on a frame event
deech_ has joined #nixos
<__monty__> yorick: Do all systems support variable refresh rate?
ddellacosta has quit [Ping timeout: 248 seconds]
<yorick> __monty__: wayland uses this to e.g. draw things at 5fps when windows are thumbnailed
<yorick> or draw things at 0fps when they are offscreen
deech has quit [Ping timeout: 248 seconds]
<yorick> I should try kitty, maybe it's good
Zhen has joined #nixos
<Yaniel> looking at the comments in that issue it seems to be rather opinionated
<Yaniel> and not exactly opinions I'd agree with
<yorick> okay, kitty has better response time, but also more judder
<__monty__> yorick: I never looked into the rendering tbh. I'm a bit particular about my terminals and didn't have issues with it.
<__monty__> Note that another favorite of mine's Terminology. So you might want to apply copious amounts of salt to my opinions.
<yorick> __monty__: oh, I've tried terminology, but it was way too unstable
<yorick> watching video in your terminal was a fun feature that wasn't really good for anything
<Zhen> hi guys, I am confused by the behavior of ddclient.service. because it doesn't start at boot, and when I try to start it manually by running `sudo systemctl start ddclient` I get "Failed to restart ddclient.service: Unit ddclient.service not found."
<Zhen> but after running `sudo nixos-rebuild switch --upgrade` it will start
<Zhen> I wonder why I need to run rebuild switch every time after boot up
jgt has quit [Ping timeout: 250 seconds]
<Zhen> the rebuild will log "the following new units were started: ddclient.timer, firewall.service, network-pre.target"
<manveru> Zhen: sounds like you're booting into the wrong system?
veske has quit [Quit: This computer has gone to sleep]
<Zhen> but isn't the default the last build?
<Zhen> aka the largest build number?
<Zhen> suppose I never roll back
<manveru> in theory, yes
<manveru> so i guess there's some problem with your bootloader
<manveru> any other messages on the rebuild?
<Zhen> but I also checked, it is indeed the latest build
<Zhen> ```
<Zhen> `activating the configuration...reviving user 'ds' with UID 1002removing user ‘cups’setting up /etc...removing obsolete symlink ‘/etc/cups’...reloading user units for sddm...reloading user units for zhen...setting up tmpfilesreloading the following units: dbus.servicerestarting the following units: polkit.servicestarting the following units: cpufre
<Zhen> q.service, network-manager.service, network-setup.service, nscd.service, systemd-modules-load.service, systemd-sysctl.service, systemd-udevd-control.socket, systemd-udevd-kernel.socket, udisks2.servicethe following new units were started: ddclient.timer, firewall.service, network-pre.target`
<manveru> as gist or something or you'll flood the channel :)
<Zhen> sorry, new to here
<manveru> you use grub?
MmeQuignon has quit [Ping timeout: 246 seconds]
<Zhen> yes
<gyroninja> Is anyone else having trouble starting the latest version (8.5.4) of tor-browser (from tor-browser-bundle-in)? I'm having an issue similar to this closed issue https://github.com/NixOS/nixpkgs/issues/20157 and it can similarly be fixed by running it with running it by 'env XAUTHORITY="$HOME/.Xauthority" tor-browser'
<{^_^}> #20157 (by bendlas, 2 years ago, closed): tor-browser: startup failure when running under KDM
<gyroninja> *tor-browser-bundle-bin
MmeQuignon has joined #nixos
vmandela has joined #nixos
turion has joined #nixos
<oborot> Any dwm users in here? Trying to setup a minimal x11 DE with dwm as the window manager.
<oborot> It seems be be working, but how can I open programs?
ambro718 has joined #nixos
<day|flip> does that need something like dmenu or rofi?
<oborot> I installed dmenu as well, but I have not used that before
<ambro718> How do I avoid making temporary variables global variables in various build functions in a package definition?
<oborot> Is there a hotkey for that?
<day|flip> oborot: you have to rebuild dmenu with that option to work. not sure if it come with that by default
<day|flip> try MOD + p
<Zhen> I noticed that my boot is /boot/efi instead of /boot. does it matter?
<oborot> I got it, needed to run Shift+Alt+Enter
jmeredith has quit [Quit: Connection closed for inactivity]
<day|flip> ill brb
day|flip has quit [Remote host closed the connection]
Zhen has quit [Remote host closed the connection]
FRidh has quit [Quit: Konversation terminated!]
<oborot> What's that program people use to generate that system spec summary with the ASCII art?
<vmandela> grahamc ping
<clever> oborot: lstopo from hwloc
<clever> oborot: `lstopo --of ascii` gives the best ascii
<clever> oborot: (hwloc.override { x11Support = true; }) re-enables the x11 gui
<yorick> oh man, that's some good ascii
<clever> and also makes the hyperthreading mess very clear
<clever> i can see exactly how many caches of what size exist, and how they are shared
<ldlework> oops
<ldlework> oborot: ignore the second middle link there
<ldlework> rofi/dmenu is great :)
<oborot> Yeah, it looks really cool. I just wish my work didn't force me to use a mac.
<ldlework> oborot: are you thinking of neofetch
<oborot> Yup
leex has joined #nixos
<MmeQuignon> Hi everyone. I have a question and I can't find the answer. Some options like "gtk.iconTheme" is typically a user specific configuration. How should I configure that option in ~/.config/nixpkgs/config.nix ?
Shouou has joined #nixos
<MmeQuignon> I already have a lot of user specific configuration in /etc/nixos/configuration.nix, like zsh and I believe it's not the right place.
<MmeQuignon> So, I would like to move all this configuration in a more appropriate place.
<MmeQuignon> How could I do that ?
<leex> Hey, does anyone have an idea how I can install flutter on nixOS? There currently is no package and the github issue for it hasn't seen any traction in a while https://github.com/NixOS/nixpkgs/issues/36759 someone tried something here https://github.com/jmackie/flutter-nix but that isn't working either.
<{^_^}> #36759 (by babariviere, 1 year ago, open): package request: flutter
mexisme has quit [Ping timeout: 252 seconds]
oborot has quit [Ping timeout: 258 seconds]
mexisme has joined #nixos
Drakonis has quit [Ping timeout: 245 seconds]
Drakonis has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f4fcdac99fa (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
polman has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @mattmelling opened pull request #64740 → pythonPackages.pyspark: call wrapped python script correctly → https://git.io/fjXgZ
Ralith_ has quit [Ping timeout: 272 seconds]
polman has joined #nixos
aveltras_ has joined #nixos
achaninja has quit [Ping timeout: 260 seconds]
<exarkun> I have this stuff in my configuration.nix but my nixos container w/ a private network can't route any traffic anywhere. What else do I need?
gnidorah has quit [Quit: Connection closed for inactivity]
fendor has joined #nixos
day|flip has joined #nixos
andreas303 has quit [Remote host closed the connection]
rfold has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @dasJ opened pull request #64741 → nixos/gitea: Support SMTP without pw in the store → https://git.io/fjXgc
andreas303 has joined #nixos
andreas303 has quit [Remote host closed the connection]
fragamus has joined #nixos
Shouou has quit [Ping timeout: 258 seconds]
andreas303 has joined #nixos
shomodj has joined #nixos
___laika has quit [Ping timeout: 245 seconds]
day|flip has quit [Remote host closed the connection]
aveltras_ has quit [Quit: WeeChat 2.5]
aveltras_ has joined #nixos
aveltras_ has left #nixos [#nixos]
Soo_Slow has quit [Remote host closed the connection]
dansho has joined #nixos
shomodj has quit [Ping timeout: 272 seconds]
leothrix has quit [Quit: ZNC 1.7.4 - https://znc.in]
shomodj has joined #nixos
leothrix has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #64742 → firefox: 67.0.4 -> 68.0, firefox-esr: 60.7.2esr -> 68.0esr, rust-cbindgen: 0.8.3 -> 0.8.7 (v2) → https://git.io/fjXgz
<{^_^}> [nixpkgs] @andir closed pull request #64733 → firefox: 67.0.4 -> 68.0, firefox-esr: 60.7.2esr -> 68.0esr, rust-cbindgen: 0.8.3 -> 0.8.7 → https://git.io/fjXRx
<spacekookie> I'm trying to configure my libreoffice to pick up dictionaries properly. I have hunspell working (with hunspellWithDicts) but this doesn't seem to affect libreoffice in any way. Any advice?
andreas303 has quit [Quit: andreas303]
mmlb has quit [Ping timeout: 272 seconds]
andreas303 has joined #nixos
oida has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
mrottenkolber has quit [Quit: Connection closed for inactivity]
day|flip has joined #nixos
abathur has joined #nixos
fendor has quit [Ping timeout: 246 seconds]
myskran has joined #nixos
justanotheruser has quit [Ping timeout: 244 seconds]
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
mexisme has quit [Ping timeout: 252 seconds]
fragamus has joined #nixos
shomodj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andreas303 has quit [Quit: andreas303]
andreas303 has joined #nixos
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
Drakonis has quit [Ping timeout: 268 seconds]
Drakonis has joined #nixos
turion has quit [Ping timeout: 252 seconds]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @spacekookie opened pull request #64743 → google-fonts: 2018-07-13 -> 2019-07-14 → https://git.io/fjXg7
vmandela has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @risicle opened pull request #64744 → squid, squid4: bump/add patch fixing CVE-2019-13345 → https://git.io/fjXg5
<{^_^}> [nixpkgs] @risicle opened pull request #64745 → [r19.03] squid, squid4: add patches fixing CVE-2019-13345 → https://git.io/fjXgd
jgt has joined #nixos
day|flip has quit [Remote host closed the connection]
jgt has quit [Ping timeout: 276 seconds]
_d0t has joined #nixos
justanotheruser has joined #nixos
alp has joined #nixos
day|flip has joined #nixos
jackdk has joined #nixos
Drakonis has quit [Ping timeout: 245 seconds]
Drakonis has joined #nixos
<_d0t> hi guys! How do I quickly update stack to 2.1.3 on my machine? That version hasn't landed in nixpkgs yet, but I wanna install it anyway.
gyroninja has quit [Ping timeout: 268 seconds]
m0rphism has quit [Ping timeout: 248 seconds]
gyroninja has joined #nixos
<{^_^}> [nixpkgs] @abbradar closed pull request #64716 → Build Tensorflow and libtensorflow from source → https://git.io/fjXn5
<{^_^}> [nixpkgs] @abbradar reopened pull request #64716 → Build Tensorflow and libtensorflow from source → https://git.io/fjXn5
ym555 has joined #nixos
<garbas> hhhh-0
<{^_^}> [nixpkgs] @spacekookie opened pull request #64747 → yaml-cpp: init at 0.6.2 → https://git.io/fjXgp
<ldlework> I'm confused about how to have multiple .net frameworks installed.
mexisme has quit [Ping timeout: 246 seconds]
<ldlework> I mean, I'm confused about .net framework versioning all together
<ldlework> Actually I think it just came to me
erictapen has quit [Quit: leaving]
mexisme has joined #nixos
jgt has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #64748 → perlPackages.buildPerlModule: allow pre/post hooks → https://git.io/fjX2f
leex has quit [Ping timeout: 245 seconds]
myskran has quit [Quit: myskran]
wfranzini has quit [Remote host closed the connection]
shandogs has joined #nixos
wfranzini has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
<shandogs> Has anyone got slack up and running? I installed it successfully but can't figure out how to actually log in. It wants me to log in via a browser but I'm not sure how focus is supposed to return to the slack app. I'm using i3, not sure if that makes a difference.
<_d0t> shandogs: it could. I have it running just fine in KDE.
<shandogs> _dot: ok thanks, I'll look into what I'm missing
<{^_^}> [nixpkgs] @malob opened pull request #64749 → vimPlugins.coc-nvim: 0.0.72 -> 0.0.73 (and change override) → https://git.io/fjX2T
<_d0t> shandogs: honestly, it could be just a slack thing. I seem to remember having issues logging in, but I can't recall what exactly it was.
_d0t has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @georgewhewell opened pull request #64750 → firmware-linux-unfree: update to 2019-06-18 → https://git.io/fjX2L
<{^_^}> [nixpkgs] @costrouc opened pull request #64751 → [WIP] Many packages from SciPy sprints important to numpy, scipy, numba, matplotlib → https://git.io/fjX2t
_d0t has joined #nixos
slack1256 has joined #nixos
aszlig has quit [Quit: Kerneling down for reboot NOW.]
<_d0t> how do I disable running tests for a haskell package?
<slack1256> Has any of you found a way to make compatible a local notmuch database with an imap server so I can have a consistent view of emails between my desktop and cellphone'
selfsymmetric-mu has joined #nixos
<slack1256> _d0t: There is a function dontCheck what modifies a derivation to not run tests.
<_d0t> slack1256: could you provide an example? I don't see it being used in haskell-packages.nix
<slack1256> I got a example usage somewhere, let me find it
<slack1256> you usually redefine haskellPackages with a modified package
aszlig has joined #nixos
<_d0t> huh?
<_d0t> This is my first time adding a haskell package to nixpkgs.
<slack1256> You will be reading more than writing then :-)
<_d0t> Still.
<infinisil> _d0t: pkgs.haskell.lib.dontCheck for disabling tests of a haskell package
<infinisil> Ah sorry
<infinisil> Already said by slack1256
<slack1256> Look for the line "From herer on it's of interest"
<_d0t> I'm still lost.
<slack1256> in particular the profiledHaskellPackages0 is defined as an override on pkgs.haskellPackages
<slack1256> where mkDerivation is modified to enable profiling, broadcast-chan isn't checked for test
mexisme has quit [Read error: Connection reset by peer]
<_d0t> Where would I put it here?
<_d0t> Sorry, I'm not very intimate with nix language.
<_d0t> jfyi, it's required for the latest stack
Drakonis has quit [Ping timeout: 245 seconds]
<_d0t> the version of stack in nixpkgs is broken on nixos
<_d0t> I almost have a working PR except that pantry's tests are broken
<slack1256> you're just missing a line
<_d0t> but I guess that's Snoyman's fault, nothing I can do here
<scott> how can i figure out the git commit hash of my current nixos-unstable channel?
<slack1256> scott: checkout of the manifest.nix file
abathur has quit [Ping timeout: 248 seconds]
<_d0t> slack1256: soooo... which line?
<slack1256> I don't remember if it is `check = false;' or anything else
<slack1256> ah `doCheck = false;`
<slack1256> add that to you file
<_d0t> alright, it's building
<_d0t> thank you!
Drakonis has joined #nixos
<slack1256> did you add it after mkDerivation?
<_d0t> yep
<slack1256> OK
<scott> slack1256: where would i find manifest.nix?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/161927b1b1b (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
jgt has joined #nixos
<slack1256> /nix/var/nix/profiles/per-user/root/channels is a symlink to you current revision
<slack1256> there look for a file called svn-revision
<scott> ahh, thank you. i got a bit lost looking for the profile directory
<_d0t> alright, pantry builds fine. Waiting for stack now before I submit the PR.
<slack1256> is pantry a package on hackage? AFAIK they are periodically and automatically uploaded to nixpkgs.haskellPackages
<_d0t> yeah
o1lo01ol1o has quit [Remote host closed the connection]
<slack1256> so maybe the PR isn't neccesary
<_d0t> do you suggest I wait? Stack-2.1.3 was released a few days ago.
<slack1256> I don't know if Stack influences in someway when nixpkgs hackage snapshot is updated
jgt has quit [Ping timeout: 252 seconds]
<slack1256> you could use your local version thought and wait if it's uploaded
<_d0t> yeah, but stack is broken for everyone right now :)
<slack1256> Oh stack depends on it?
<_d0t> yeah
<_d0t> i mean, this isn't related to the breakage
<_d0t> they just replaced pantry-tmp with pantry
<{^_^}> commercialhaskell/stack#4864 (by Kleidukos, 4 weeks ago, closed): "Cannot determine project root directory for Docker sandbox." error even when Docker support is disabled
<_d0t> that's the bug
<_d0t> I'm kinda surprised nobody has noticed yet
<slack1256> Well people on nixos usually just use nix + cabal (at least I do)
<slack1256> I don't have an idea for what is the correct course of action though
<_d0t> I'm gonna submit the PR anyway and let things sort themselves out
<slack1256> Just a question, where are you modifying the pantry definition?
<slack1256> on which file specifically?
<_d0t> pkgs/development/haskell-modules/hackage-packages.nix
<slack1256> read the first line of that file
<_d0t> oh crap
<_d0t> stupid me :D
<slack1256> that file is the snapshot of hackage I was talking about
<_d0t> yeah
<_d0t> everything's turned out much easier
dansho has quit [Remote host closed the connection]
__monty__ has quit [Quit: leaving]
dansho has joined #nixos
<slack1256> I mean, you can define specific modification for packages on configuration-ghc-8.8.x.nix et al
<slack1256> but those take hackage-package.nix as a base, maybe do you change there?
<slack1256> `77: Diff = dontCheck super.Diff` on configuration-ghc-8.8.x.nix is an example of what you want to do
johnny101m has joined #nixos
<_d0t> what I really need to do is bump the stack version
<_d0t> the rest just follows
johnny147 has quit [Ping timeout: 272 seconds]
<slack1256> lol
johnny125 has joined #nixos
johnny101m has quit [Ping timeout: 252 seconds]
<_d0t> yeah
leex has joined #nixos
<exarkun> I have this stuff in my configuration.nix - https://gist.github.com/exarkun/a66cefa06c094e8b96a3ceb7a6195114 - but my nixos container w/ a private network can't route any traffic anywhere. What else do I need?
gyroninja has quit [Ping timeout: 268 seconds]
ericsagnes has joined #nixos
gyroninja has joined #nixos
<Church-> So question, on the nixos-unstable channel and the nixpkgs unstable channel. And when trying to install steam get the following error. https://bpaste.net/show/HdkA
<Church-> Assuming I should just try and install from master?
<Church-> Like this on 19.03 as well.
<selfsymmetric-mu> The file NixOS is trying to download isn't there.
<Church-> Been like this for well months
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<selfsymmetric-mu> Weird, steam on 19.03 works fine for me.
<Church-> Grumble. I did upgrade from 18.09
<Church-> Working from master it looks like
<exarkun> I had `virtualisation.docker.enable = true` and then I switched it to false and `nixos-rebuild switch`'d. To my chagrin, Docker iptables rules persist.
<exarkun> Is this one of those things that doesn't work with `switch` and that I have to reboot for? :/
<Church-> And that's a no
<Church-> It installs but errors out
<Church-> 3/me sighs
<Church-> And working finall
<Church-> finally.*
<Church-> Had to override and use native libs
Ariakenom has quit [Quit: Leaving]
_d0t has quit [Ping timeout: 272 seconds]
_d0t has joined #nixos
<Church-> And now it breaks in a new way. Neat
jgt has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
mbrgm_ has joined #nixos
pamplemousse has joined #nixos
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
jluttine has quit [Ping timeout: 245 seconds]