<clever>
nixpkgs is also setup as an alias to the nixos channel
<clever>
kyren: <nixos> refers to a channel called nixos, so it will return the entire nixpkgs set
<clever>
kyren: you can also symlink configuration.nix to the real cfg, using a relative link
<clever>
kyren: you want '<nixos/nixos>'
<clever>
wavewave: that may do it
<clever>
samueldr: i only discovered it, because i was complaining about how startrek is just mia, then i could see it on the linux pc, but not on windows ....
<clever>
samueldr: but then it detected it, and i had to disable v6 in the tablet, to even use netflix at all
<clever>
samueldr: it originally didnt detect that, and i was able to watch the american lineup
<clever>
samueldr: so netflix just turns itself off
<clever>
samueldr: ive had reverse problems, my HE tunnel resulted in netflix thinking i'm in both canada and america at the same time
<clever>
one of my old routers claimed v6 support, yet the ISP didnt, and the router refused to stop claiming v6 support
<clever>
Dagger: i think the problem is more, that ISP's provide broken v6 support, that tricks linux into thinking it works
<clever>
Dagger: the linux network stack is supposed to detect if you lack v6, and not use it
2019-02-25
<clever>
,cache wavewave
<clever>
ar1a: http(s) server?
<clever>
ar1a: you can set an ssh key to only allow scp
<clever>
ar1a: keypairs
<clever>
slack1256: every time it passes testing on hydra
<clever>
ar1a: scp for just copying things then
<clever>
ar1a: either scp or nfs is what i use mostly
<clever>
samueldr: he did `nix-info -m`, which uses markdown and many lines
<clever>
dgarzon: the default mode (with no params) is better for pasting to irc
<clever>
that will create a wrapper script for python, that adds pyusb to the PYTHONPATH, then add that wrapper to $PATH for the service
<clever>
hyperfekt: you would need to import eval-modules.nix yourself
<clever>
hyperfekt: the top-level module?
<clever>
JonReed: there is also the wipefs command
<clever>
,-A rodarmor
<clever>
,-iA rodarmor
<clever>
rodarmor: yeah, it should install, but -iA will be faster
<clever>
NemesisD: but it hink you want concatStringsSep
<clever>
NemesisD: yeah, that could work
<clever>
sphalerite: only normal push
<clever>
NemesisD: double-check `env`, it may already be an env var?
<clever>
hyperfekt: basically, there is a path = ./../..; somewhere in nixpkgs
<clever>
hyperfekt: and then imports the patched version?
<clever>
hyperfekt: what if you apply a diff to "${pkgs.path}/nixos/services/databases/postgresql.nix" while also doing disabledModules = [ "services/databases/postgresql.nix" ];
<clever>
hyperfekt: thats already what nix-channel does, it fetches the nixexprs.tar.xz, and then "installs" it into the channels profile with nix-env
<clever>
ottidmes: restarting results in it trying to actively use all 76gig of "ram" at once
<clever>
betawaffle: i have an extension called vimium, T lets me search all open tabs by name
<clever>
betawaffle: good question!
<clever>
hyperfekt: just wait till i'm not online, then everything breaks :P
<clever>
just click "end process" on it, and you get the ram back, and can still refesh those tabs later to use them
<clever>
ottidmes: for example, there is a proc for youtube, using 3.1gig of ram, and a 2nd youtube proc using 2.6gig
<clever>
ottidmes: what ive noticed helps a lot more, is to open the chrome task manager, and then kill off processes
<clever>
ottidmes: 32gig of ram, and 44gig of swap in use, lol
<clever>
ottidmes: chromium, unstable
<clever>
ottidmes: i have 1000+ tabs open, and its using 32gig of ram, and a decent chunk of swap
<clever>
wolfmantjg1234[m: as long as you have no data on the drive, you could start pver from gparted
<clever>
wolfmantjg1234[m: i would just run gparted, and use that to make the partitions
<clever>
averell: you probably have a ./. or /path/to/nixpkgs that contains a .git
<clever>
averell: what does this show near the bottom?
<clever>
[root@system76:~]# du -hc --max=0 $(nix-store -qR $(nix-instantiate '<nixpkgs/nixos>' -A system)) | sort -h | tail
<clever>
averell: hmmm, let me find a full cmd
<clever>
averell: when you run `nixos-rebuild dry-run`, it will give you a .drv file
<clever>
wolfmantjg1234[m: you gave parted 2 devices, you should only give it one device
<clever>
wolfmantjg123: if you have a github account you can also `nix-env -iA nixos.gist` then `gist --login` and then `gist -p file.txt` to upload a file
<clever>
,paste wolfmantjg123
<clever>
wolfmantjg123: can you pastebin the entire output, including the command you ran?
<clever>
wolfmantjg123: what error did it print?
<clever>
wolfmantjg123: what error does it throw??
<clever>
sphalerite: i was thinking more to reduce how much you have to copy, to get the builder up to speed, but your issue also helps, if one of the builders happens to have a finished product
<clever>
then you need to build something, which slave do you pick for the job?
<clever>
sphalerite: lets say you have 2 build slaves, A has nothing in the store, B has 80% of some closure
<clever>
sphalerite: something ive thought of, that would improve the perf of hydra
<clever>
LnL: the gc root stuff has a lot of problems with local=
<clever>
LnL: but i did just have an idea, what about local?root=/foo/, then its a full store (with GC) yet isolated from your secrets
<clever>
but it lacks GC support, so it will grow costly
<clever>
LnL: was just thinking of that, create a local cache, that can be hosted with static file hosting
<clever>
teto: sure
<clever>
but i dont have infinite storage for my personal hydra, so GC is a must
<clever>
also better for security
<clever>
LnL: we got around it by just switching to s3://, which cant GC
<clever>
LnL: yeah, thats part of where iohk ran into trouble, hydra would GC something, and then for 30 days, anything using the cache would fail hard, because the cache says it exists, but it doesnt
<clever>
ouch, 30 days!
<clever>
> 2592000 / 3600 / 24
<clever>
1h and 720 hours
<clever>
> 2592000 / 3600
<clever>
narinfo-cache-positive-ttl = 2592000
<clever>
narinfo-cache-negative-ttl = 3600
<clever>
for negative hits, it caches it for a few hours i think
<clever>
LnL: for positive cache hits, it caches it for days, which can be a problem
<clever>
LnL: i setup `store-uri = file:///nix/store?secret-key=/etc/nix/keys/secret-key-file` and hydra didnt add `Sig:` to its narinfo files
<clever>
nix.conf is already set to sign everything, so it should have already had a signature anyways
<clever>
slack1256: its just the name of a protocol within nix, for accessing remote stores
<clever>
sphalerite: related, ive noticed that you can copy .drv files, even if you arent trusted, because the path is based on a hash of the contents, no trust is needed
<clever>
teto: i think you want --option builders ssh://foo
<clever>
teto: `--store ssh://foo` requires that $USER (the remote user by the same name as local) be trusted on the remote box, or it cant add things to its /nix/store/
<clever>
if your confortable with qemu, that also works great
<clever>
i have noticed the gui has gotten worse after the latest update
<clever>
no need to disable or reset things
<clever>
but if you close the vbox vm, qemu-kvm instantly begins to work
<clever>
if you start a vbox vm, then qemu-kvm will hard-fail on startup
<clever>
Arahael: both kvm and virtualbox use the same cpu extensions, and while you can load both drivers at once, only one can be actively using those features
<clever>
Arahael: of note, virtualbox doesnt use kvm, and partially conflicts with it
<clever>
Arahael: i would use debian under virtualbox personally
<clever>
Arahael: same, but ive not been into android since i switched to nixos
<clever>
Arahael: probably, something like the steam-run chroot may help
<clever>
Zer000: yep
<clever>
Zer000: that happens if you mix qt versions in nix-env vs systemPackages, uninstall everything QT in `nix-env -q`, and add anything you want to keep to systemPackages
<clever>
ive seen a haskell guy get ++c and c++ mixed up, and translated it to haskel the wrong way, and refused to understand the difference
<clever>
lol
<clever>
add it to the ticket on nixpkgs, i'm guessing setup-etc.pl is further confused by a symlink to a symlink
<clever>
the nixpkgs one?
<clever>
if they are missing from the config
<clever>
kyren: setup-etc.pl will keep track of the symlinks it makes, and delete them when it next updates /etc/
<clever>
but youll get more progress done per retry
<clever>
that will make it build other things, and fail later on
<clever>
,cache ivan
<clever>
kyren: setup-etc.pl is part of nixpkgs
<clever>
kyren: hmmm, it could be either, it could be setup-etc.pl breaking things when handling relative links, or it could be a bug in nix, following relative links
<clever>
ibrahims: i think its already in the latest channel, but i havent confirmed that
<clever>
justanotheruser: config.nix
<clever>
kyren: looks like something worth filing a bug against nixpkgs, but you can use my example as a work-around
<clever>
ibrahims: it was broken in nixos-unstable for a few days, but has already been fixed