<disasm>
I gotta get to bed, lol it's 2 AM already, how'd that happen?
firas has quit [(Quit: Leaving)]
markus1189 has quit [(Ping timeout: 248 seconds)]
pxc has quit [(Ping timeout: 248 seconds)]
mizu_no_oto has joined #nixos
<tilpner>
What's the policy on how long checkPhase should take?
<tilpner>
If the doc says "It can take 30 minutes or more, depending on the speed of the machine", is that reasonable to enable?
ncrashed has quit [(Quit: Leaving.)]
<disasm>
tilpner: in my opinion, if it doesn't fail, 30 minute test time shouldn't be a good reason to not run tests
<disasm>
main reasons are to disable are impurity based, like if it tries to access the internet, install stuff, etc...
Acou_Bass has quit [(Ping timeout: 240 seconds)]
dieggsy has joined #nixos
<ylwghst>
disasm: sorry i'm totally dumb, I always worked with html5, less, liquid or js so theres a lot of new in nix and a lot I don't understand well.
orivej has quit [(Ping timeout: 248 seconds)]
<tilpner>
disasm - I'll try to enable it. This'll be fun, waiting 30min for every change :)
orivej has joined #nixos
Acou_Bass has joined #nixos
jb55 has quit [(Ping timeout: 264 seconds)]
stepcut has joined #nixos
tanonym has quit [(Ping timeout: 240 seconds)]
bivoje has joined #nixos
noobineer has joined #nixos
noobineer has quit [(Max SendQ exceeded)]
dieggsy has quit [(Remote host closed the connection)]
hellrazo1 has joined #nixos
takle has quit [(Remote host closed the connection)]
hellrazor has quit [(Ping timeout: 240 seconds)]
kkini has quit [(Remote host closed the connection)]
kkini has joined #nixos
iqubic has joined #nixos
dieggsy has joined #nixos
Mateon1 has quit [(Ping timeout: 248 seconds)]
erictapen has quit [(Ping timeout: 248 seconds)]
pxc has joined #nixos
<ylwghst>
Hehe, so we will got an extra hour tonite...
pxc has quit [(Ping timeout: 258 seconds)]
<iqubic>
What's up?
<ylwghst>
iqubic: do have enough performance to build chromium in short time? :-)
<ylwghst>
do you*
<iqubic>
No.
python476 has quit [(Ping timeout: 248 seconds)]
<ylwghst>
nor me :/
acarrico has joined #nixos
<iqubic>
Why do you have to build it?
<iqubic>
Just get a binary.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] casey opened pull request #30915: Python: remove $out/bin/__pycache__ in fixup phase (master...remove-pycache) https://git.io/vFIQT
NixOS_GitHub has left #nixos []
<ylwghst>
iqubic: i applying it great modifications to it.
<ylwghst>
I don't have binary yet because the build takes really long time, but I can definitely pass it now.
<ylwghst>
it was almost done then I lost el. power heh
<ylwghst>
I just slighlty modified the generic chromium nix files available in nixpkgs
<rodarmor>
I'm packaging a binary which requires `bash`, `dash`, and `sh` to be available in PATH during the testing phase. I tried adding `bash` and `dash` to `buildInputs` and `nativeBuildInputs`, but no luck. Should they go somewhere else?
<rodarmor>
Or, should I export a $PATH that points to the `bash` and `dash` bin directories?
<pie_>
well this didnt give any errors and its running so.. ps://github.com/ylwghst/nixpkgs/tree/ungoogled-chromium/pkgs/applications/networking/browsers/ungoogled-chromium/patches/ungoogled-chromium
<pie_>
<ylwghst> I don't have binary yet because the build takes really long time, but I can definitely pass it now.
<pie_>
<ylwghst> it was almost done then I lost el. power heh
<pie_>
<ylwghst> I just slighlty modified the generic chromium nix files available in nixpkgs
<pie_>
<rodarmor> I'm packaging a binary which requires `bash`, `dash`, and `sh` to be available in PATH during the testing phase. I tried adding `bash` and `dash` to `buildInputs` and `nativeBuildInputs`, but no luck. Should they go somewhere else?
pie_ has quit [(Remote host closed the connection)]
orivej has quit [(Ping timeout: 248 seconds)]
pie_ has joined #nixos
<pie_>
sorry about that, machine copies stuff from irc randomly sometimes >_>
<ylwghst>
pie: are u on laptop?
<pie_>
yeah
<ylwghst>
haha
<ylwghst>
i had same problem
<ylwghst>
then i discovered lol it was middle click emulation
<ylwghst>
if tap with trhee fingers on your trackpad it will pastes your clipboard
<ylwghst>
if u*
<ylwghst>
just try it
<pie_>
huh.
<pie_>
ah i wasnt using my trackpad, i pasted manually, it *copies* sometimes xD
<pie_>
hexchat copies on select but i swear i didnt select anything
<ylwghst>
i see
<pie_>
ah well i did do the buildinputs thing its just that i need to buid my buildinput as well, but https://pastebin.com/3mhyYeVV seeems to be working
<ylwghst>
haskell-logo.png Autogenerated at Sat Oct 28 14:51:50 IST 2017 19 hours ago
<ylwghst>
space.jpg
<ylwghst>
haskell-logo.png Autogenerated at Sat Oct 28 14:51:50 IST 2017 19 hours ago
<ylwghst>
space.jpg
<ylwghst>
haskell-logo.png Autogenerated at Sat Oct 28 14:51:50 IST 2017 19 hours ago
<ylwghst>
space.jpg
<ylwghst>
haskell-logo.png Autogenerated at Sat Oct 28 14:51:50 IST 2017 19 hours ago
<ylwghst>
space.jpg
<ylwghst>
haskell-logo.png Autogenerated at Sat Oct 28 14:51:50 IST 2017 19 hours ago
<ylwghst>
poor cat
hydraz has quit [(Read error: Connection reset by peer)]
damke has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
hydraz has joined #nixos
hydraz has quit [(Changing host)]
hydraz has joined #nixos
damke_ has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
damke has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
ylwghst has quit [(Quit: Lost terminal)]
ylwghst has joined #nixos
ylwghst has quit [(Client Quit)]
iyzsong has quit [(Read error: Connection reset by peer)]
ylwghst has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
hamishmack has quit [(Quit: hamishmack)]
damke has joined #nixos
Mateon1 has joined #nixos
csingley has quit [(Quit: WeeChat 1.9.1)]
<iqubic>
What just happened here?
<iqubic>
Did a cat walk onto a keyboard?
damke has quit [(Ping timeout: 252 seconds)]
schoppenhauer has quit [(Ping timeout: 248 seconds)]
justbeingglad has joined #nixos
<ylwghst>
iqubic: not at all
<iqubic>
LOL. I see.
<ylwghst>
stupid middle click emulation
justbeingglad has left #nixos []
schoppenhauer has joined #nixos
<iqubic>
Ah. I see.
Wizek has quit [(Quit: Connection closed for inactivity)]
damke has joined #nixos
<ylwghst>
I've got trackpad and I sometimes just left my fingers on it or I just accidentaly slide with three fingers and then it pastes my clipboard
<iqubic>
Ah I see.
<iqubic>
Your clipboard is weird.
<ylwghst>
my clipboard isn't
<ylwghst>
A man who coded this into gtk or where was weird.
<iqubic>
I see.
<iqubic>
You do haskell development?
drakonis has quit [(Read error: Connection reset by peer)]
<ylwghst>
Nope
<ylwghst>
I haven't worked with haskell ever yet.
<iqubic>
So why are you looking at the haskell logo?
damke has quit [(Ping timeout: 240 seconds)]
<ylwghst>
I was just looking at it.. That's it. On the Github.
<ylwghst>
lol
<ylwghst>
Scrollwheel mice support a middle-button click event when pressing the scrollwheel. This is a great feature, but you may find it irritating. Fortunately it can be disabled.
<ylwghst>
This is great feature. Ypu may find it irritating.. lol was he drunk or what?
damke has joined #nixos
<iqubic>
I think so indeed
damke_ has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
pxc has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
damke_ has quit [(Ping timeout: 240 seconds)]
pxc has quit [(Ping timeout: 240 seconds)]
damke_ has joined #nixos
p4cman has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mankarse opened pull request #30918: tbb: clang support (master...tbb-clang) https://git.io/vFIFx
NixOS_GitHub has left #nixos []
damke has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
Ivanych has joined #nixos
hamishmack has joined #nixos
damke has quit [(Read error: Connection reset by peer)]
MP2E has joined #nixos
damke has joined #nixos
damke_ has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
endformationage has quit [(Quit: WeeChat 1.9.1)]
sigmundv has quit [(Ping timeout: 240 seconds)]
damke_ has quit [(Ping timeout: 240 seconds)]
ncrashed has joined #nixos
uptime has quit [(Excess Flood)]
damke_ has joined #nixos
uptime has joined #nixos
jacob_ has joined #nixos
jacob_ is now known as Guest2615
stepcut has joined #nixos
damke has joined #nixos
damke_ has quit [(Ping timeout: 246 seconds)]
damke has quit [(Ping timeout: 240 seconds)]
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
jbgi has joined #nixos
stepcut has quit [(Ping timeout: 240 seconds)]
jbgi has quit [(Ping timeout: 255 seconds)]
iqubic has quit [(Remote host closed the connection)]
Ridout has quit [(Quit: Lost terminal)]
damke_ has joined #nixos
<sphalerite>
codygman: not sure if you're still there or if you already worked out your issue but you need to set canTouchEfiVariables to true
damke_ has quit [(Ping timeout: 240 seconds)]
iyzsong has joined #nixos
damke_ has joined #nixos
isHavvy has quit [(Read error: Connection reset by peer)]
Havvy has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
damke_ has joined #nixos
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
damke_ has quit [(Ping timeout: 240 seconds)]
<hyper_ch>
more talks today
jbgi has joined #nixos
damke has joined #nixos
<sphalerite>
hyper_ch: yep!
<hyper_ch>
although the morning holds little interest to me
jbgi has quit [(Ping timeout: 248 seconds)]
ahstro has joined #nixos
<ahstro>
So, I saw ts468's talk on NixUP at NixCon and it sounded promising. Do y'all think it's worth the wait or should I jump on the home-manager band wagon? He mentioned something about mergint the two? Will my work carry over if I start using home-manager now and NixUP finally arrives in a few days?
damke_ has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
JosW has joined #nixos
<hyper_ch>
FSM knows :)
<hyper_ch>
I don't quite get the difference between nixup and home manager though
damke_ has quit [(Ping timeout: 240 seconds)]
<ahstro>
hyper_ch: Who's FSM? Also, me neither. I think NixUP is supposed to be more embedded in NixOS, whatever that means. :)
<hyper_ch>
flying spaghetti monster :)
<hyper_ch>
from what I gather nixup should be able to manage other peoples home directory
<cocreature>
does nix 1.12 have a replacement for nix-shell _without -p_? "nix-run" only seems to cover the usecase of explicitely specifying -p but not entering an environment to build a derivation
damke has joined #nixos
damke_ has quit [(Read error: Connection reset by peer)]
ahstro has quit [(Ping timeout: 260 seconds)]
<cocreature>
hm "nix-shell default.nix -A client.env" (with nix-shell being the executable from 1.12) also fails with the same error
<JosW>
the talk from 12 a clock might be worth following
<JosW>
although i don't get it why one would focus on others
<MichaelRaskin>
ylwghst: but middle mouse button _is_ a great feature. And apparently you find it irritating.
<MichaelRaskin>
ivanivan: you can try building the nixos version of ssh run script on non-NixOS then run it.
dywedir has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vFIhn
<NixOS_GitHub>
nixpkgs/master 3603950 Frederik Rietdijk: Merge pull request #30917 from vaibhavsagar/patch-1...
NixOS_GitHub has left #nixos []
<freeman42x>
> freeman42x: seems to work here, actually
<freeman42x>
I think it might not have been directly related to octave. I had a python package that needed some custom nix since it was broken. Something might have changed to it
uptime has quit [(Quit: Look, low effort people produce low quality results. What do you plan on doing once you've made everyone a robocop? Even the blind can see there ain't no loyalty.)]
jb55 has joined #nixos
<gchristensen>
strong thumbs-up on multi-user nix install by default!
<copumpkin>
nuh uh
<gchristensen>
no? :o
<copumpkin>
fine fine :)
<gchristensen>
^.^
<copumpkin>
it kills our kernel!
<copumpkin>
:( :( :(
<copumpkin>
I guess we could ship a few standard init scripts for different init systems in the installer
<gchristensen>
yeah
<freeman42x>
edef: yup, octaveFull installed just fine after I removed that python nix bit
<Harekiet>
hyper_ch zfs was complainign about a hostid and I went for some food :)
<hyper_ch>
Harekiet: you need a hostid
<hyper_ch>
8 charater hex string
orivej has quit [(Ping timeout: 260 seconds)]
gm152 has joined #nixos
<hyper_ch>
networking.hostId = "........";
<Harekiet>
yeh normally that's just /etc/hostid but ofcourse nixos has that under some random config string I couldn't be bothered to find just yet
<hyper_ch>
(one could also just provide a ipv4 addres slive 10.10.10.10 --> 10101010 ;)
<hyper_ch>
or 10.0.0.5 -> 10 00 00 05
<hyper_ch>
that's what I'm currently go for... :)
<disasm>
hyper_ch: head -c4 /dev/urandom | od -A none -t x4
<disasm>
err Harekiet ^^
<hyper_ch>
disasm: too complex for my simple brain ;)
ylwghst has quit [(Remote host closed the connection)]
<hyper_ch>
all my lans run on 10.x.x.x
<disasm>
hyper_ch: that's what the nixpkgs option says to use :)
<hyper_ch>
it's just a random 8 character hex string :)
<disasm>
hyper_ch: I'm just waiting on my employer to enable ipv6... then I'm pulling the plug on ipv4
<hyper_ch>
there's really people out there using ipv6?
<disasm>
my entire network is ipv6 at home. Get a /60 from concast (not a typo, lol) and have utilize 5 of the 16 subnets I get.
symplectico has joined #nixos
<disasm>
I've turned ipv4 off before, most of the internet works fine :) I just can't connect to my companies VPN
FRidh has quit [(Remote host closed the connection)]
<hyper_ch>
disasm: I got this prefix 2a02:169:800:://48 but no idea what to do with it
<hyper_ch>
since nobody uses ipv6 anyway
ylwghst has joined #nixos
<disasm>
hyper_ch: wow, you get a /48 :) I'm jealous
<hyper_ch>
actuallly I have two of those
<hyper_ch>
on in the office and one at home
<disasm>
you could run a whole ISP off htat
<Harekiet>
I think I've got a /48 from some tunnel broker but haven't used it in ages, ipv4 vpn's nicely
<disasm>
hyper_ch: if your router supports stateless ipv6, nixos should just work with ipv6
<hyper_ch>
not sure if a /48 is provides enough ips for my two notebooks, lan printer, home server, philips hue bridge, 2x amazon echos, 3 cell phones, ....
<disasm>
sadly the wifi at NixCon is not ipv6, lol
<disasm>
hyper_ch: hahahaha
roberth has joined #nixos
FRidh has joined #nixos
<Harekiet>
get lost in the noise from the same ip4, screw unique addresses :)
ylwghst has quit [(Remote host closed the connection)]
<disasm>
hyper_ch: that's 64K /64 subnets... A /64 subnet all your devices unless you have duplicate mac addresses (which would break with ipv4 as well because of arp)
<jluttine>
"error: The unique option `powerManagement.cpuFreqGovernor' is defined multiple times, in `/mnt/etc/nixos/hardware-configuration.nix' and `/etc/nixpkgs/nixos/modules/config/power-management.nix'."
<jluttine>
???
<hyper_ch>
disasm: can you translate that to english? :)
glenn has quit [(Ping timeout: 246 seconds)]
<jluttine>
in the latter file: powerManagement.cpuFreqGovernor = mkDefault "ondemand";
ylwghst has joined #nixos
<disasm>
hyper_ch: A single /64 (what an ISP usually gives a single home) can handle 18,446,744,073,709,551,616 devices
<jluttine>
it's using mkDefault, so why the error???
<ylwghst>
hehe no more middle button no more :-))
<hyper_ch>
disasm: I think I'm going to hit that limit soon
<disasm>
a /60 can handle 16 subnets with 18,446,744,073,709,551,616 devices each
<hyper_ch>
with all the vms on my notebook
<disasm>
hyper_ch: so... since you have a /48... just assign a /64 directly to your notebook to use for all it's VMs
<disasm>
while your add it, assign another /64 for your docker containers
<disasm>
and another one for nixos containers
<hyper_ch>
I don't believe in docker
glenn has joined #nixos
<vincent_vdk>
hi, i just installed NixOS and i'm now trying to install slack client
<vincent_vdk>
but i can't find the package with nix-env
<disasm>
vincent_vdk: allow unfree
<vincent_vdk>
i also tried to figure out how to add nixpkgs locally but couldn't make it work
<tilpner>
hueFilystyn - I have different nameservers, and I don't set any in my config. Could it be that your router sets them?
Piece_Maker has joined #nixos
<FRidh>
katyucha: use `python.withPackages`; don't just install individual python packages. For more info, see the Nixpkgs manual
Acou_Bass has quit [(Ping timeout: 248 seconds)]
Piece_Maker is now known as Acou_Bass
<adisbladis>
srhb: I think terraform has a pretty nice solution to that. They have a global lock.
<adisbladis>
And state is stored in a shared db.
<hueFilystyn>
could not be since on other systems it by default used proper nameservers
<srhb>
adisbladis: I wonder if we could integrate nixops with that.
<Baughn>
katyucha: Basically, "installing" libraries doesn't work. Only binaries.
<tilpner>
hueFilystyn - That's weird then. Which IP is it?
mistaEvO8 has joined #nixos
<vincent_vdk>
any pointers on good nixos blogs?
<Baughn>
katyucha: That isn't inevitably always true, but something needs to tell python where to find them, and using withPackages to create a wrapper script is by far the easiest way. Also see the manual.
mistaEvO8 has left #nixos []
<Baughn>
vincent_vdk: NixOS.org syndicates some of them.
mog has quit [(Ping timeout: 246 seconds)]
<katyucha>
Baughn: ok , so I will use nix-shell
<adisbladis>
srhb: Yeah the global state part is pretty easy. Not so sure about the locking.
<srhb>
adisbladis: Right.
nh21 has joined #nixos
<hueFilystyn>
it used as default 8.8.8.8 and 8.8.4.4 as i remember on nixos which are google ones and on opensuse for example I got set by default servers my ISP provides
<Baughn>
katyucha: That works. I like sticking a shell.nix in my repositories for this.
<adisbladis>
srhb: Btw, nixops has an export function.
<Baughn>
hueFilystyn: ISPs often override DNS requests, providing tainted answers. Google doesn't.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 8 new commits to master: https://git.io/vFLIE
<NixOS_GitHub>
nixpkgs/master 119a58a Frederik Rietdijk: python.pkgs.datashape: move expression
<NixOS_GitHub>
nixpkgs/master d4bf968 Frederik Rietdijk: python.pkgs.odo: move expression
<NixOS_GitHub>
nixpkgs/master 16d0a33 Frederik Rietdijk: python.pkgs.pysoundfile: move expression
NixOS_GitHub has left #nixos []
nh2 has quit [(Ping timeout: 248 seconds)]
<adisbladis>
srhb: Which exports your state as json. So you don't have to check in sqlite files.
<srhb>
adisbladis: Oh yes, I forgot about that. That should be easier to wrap.
<katyucha>
Thanks Baughn
<hueFilystyn>
Baughn somehow I have nerver had a problem.
<tilpner>
Baughn - Is it actually the default? Where is that set? Or are you just making an argument for why it wouldn't be bad??
<hueFilystyn>
I prefer my ISP than google by default. The first one makes more sens
<Baughn>
tilpner: I'm making an argument. I haven't checked if it is.
<hueFilystyn>
It is something I would expect as default settings
<tilpner>
hueFilystyn - AFAICT it should use your ISPs by default
<hueFilystyn>
Great but it was set to 8.8.8.8 this is what cought my attention.
ylwghst has quit [(Quit: Lost terminal)]
<Harekiet>
Can't just setup nixos to use unboard or whatever and do your own dns resolving?
<Harekiet>
unbound even
<tilpner>
I don't know what that's about, my only guess was DHCP from your router. (I'll be away for a while now)
<hueFilystyn>
maybe id did do some mistake at soem point with config file. Duno it was long ago
<hueFilystyn>
just brought this topic now since I was doing somethign with name servers on other distro and remembered thsi one
<adisbladis>
Yes using unbound with nixos is pretty easy :)
ylwghst has joined #nixos
<disasm>
srhb: are you at the conference?
roberth has joined #nixos
takle has quit [(Remote host closed the connection)]
<srhb>
disasm: Afraid not, I had Other Life Stuff getting in the way. :( Next time!
glenn has quit [(Ping timeout: 255 seconds)]
<srhb>
I love the nix snowflakes on the livestream :-)
nh21 has quit [(Quit: Leaving.)]
c0bw3b has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vFLIN
<NixOS_GitHub>
nixpkgs/master 416a975 Frederik Rietdijk: python.pkgs.tabulate: move expression
<NixOS_GitHub>
nixpkgs/master 67bee16 Frederik Rietdijk: python.pkgs.recommonmark: move expression
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vFLL8
<NixOS_GitHub>
nixpkgs/release-17.09 a47a5a7 Jonas Schwabe: gdm: fix restart of display-manager after nixos-rebuild...
NixOS_GitHub has left #nixos []
ylwghst has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vFLLE
<NixOS_GitHub>
nixpkgs/staging d0d0308 Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos []
<Harekiet>
hyper_ch well got it working with dmcrypt and zfs on stick, went fairly smooth, now to see how to install packages and what not, but there's a beginning at least :)
<hyper_ch>
you should have aimed for encrpted root zfs
<hyper_ch>
well, most packages you just add to the list that you want
<hyper_ch>
services and be configured
<Harekiet>
well is there really any benefit to encrypted root zfs, wellb esides being the fanciest, neweest and bestest thing?
<srhb>
Probably nothing really tangible, aside from fewer moving parts.
zarel has joined #nixos
jbgi has quit [(Ping timeout: 240 seconds)]
<hyper_ch>
Harekiet: you have it all-in-one.... zfs, encryption, root, ...
<hyper_ch>
multi-disk management
takle has joined #nixos
<hyper_ch>
raid
tomster has quit [(Quit: tomster)]
ckauhaus has joined #nixos
<Harekiet>
hyper_ch try but this is a 32gig pendrive, it's not really aiming for anything fancy just compressin and cow :)
<Harekiet>
and boom it failed to switch with complaints about wpa_supplicant
<hyper_ch>
maybe you want to attach a second pendrive for it for mirror ;)
<goibhniu>
NixCon streams are back
nh2 has joined #nixos
<ckauhaus>
yeah
Alling has joined #nixos
<Alling>
Why do I get 403 Forbidden when I try to access my Nginx web server? Used to work like a charm.
<Alling>
Where can I even start? Where is the log? I got nothing.
<manveru>
Alling: journalctl -xef
<Alling>
manveru: Thanks!
orivej has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
taktoa has quit [(Remote host closed the connection)]
<Orbstheorem>
Hi, how do I install the ssl certificates collection? under /etc/ssl/certs I just see two which are dated of 1970 (old certificate bundle?)
<srhb>
Orbstheorem: Everything is dated at unix 0 in the nix store.
<ArdaXi[m]>
It's not technically a default, it just gets merged with whatever anything else adds to it
<srhb>
ArdaXi[m]: Thanks :)
<srhb>
Is this a hack to ensure the merges? It makes for confusing documentation
<ArdaXi[m]>
I'm not entirely sure how lists work with defaults, you don't usually want to override these, just add to them
<srhb>
I suppose we could work around it by adding the same value as a default and keeping that line as well.
<srhb>
Though that's a bit iffy.
civodul has joined #nixos
<ylwghst>
ill be back in like 45minutes
ylwghst has quit [(Quit: Lost terminal)]
<ArdaXi[m]>
A system without any CA certs installed would be quite unusable these days
<srhb>
Sure. But still.
orivej has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
zarel has quit [(Ping timeout: 252 seconds)]
nh2 has joined #nixos
<Orbstheorem>
I would like to know which package provides binary 'program', (ie in debian `dpkg-query -L $(which program)`). Is there any equivalent in nix-env?
<MichaelRaskin>
readlink -f $(which program)
<MichaelRaskin>
It will show you full path that includes the hash-name-version part
<pie_>
anyone know how to get japanese SHIFTJIS working?
<manveru>
pie_: what do you mean? that's an encoding, you want to get it working in an editor?
<pie_>
im running a program in wine and it just shows garled junk
<pie_>
*garbles
<pie_>
*garbled
<manveru>
ah, ok
<pie_>
but im not sure i have the necessary stuff installed OS side either
<manveru>
well, you at least will need a japanese font
<pie_>
right, how do i go about that?
<manveru>
then you should be able to set LC_ALL=ja_JP.Shift_JIS for wine
<manveru>
you can add them to your configuration.nix
<hyper_ch>
Harekiet: what you're doing?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vFLmE
<hyper_ch>
sphalerite: not want to do nix-env -iA but global install
<Harekiet>
hyper_ch I'm toying with nix-env a bit, this user only package install is a bit odd, nix-env will not install any global stuff, that can oinly be done with nixos/config edit I guess
<pie_>
manveru, hm still garbled
<sphalerite>
hyper_ch: then put nix-index in your systemPackages
glenn has quit [(Ping timeout: 240 seconds)]
<hyper_ch>
sphalerite: I did
<srhb>
Has anyone using mirroredBoots with efi actually managed to boot off one of the "secondary" boot loaders? I have this weird issue where the first bootloader works fine, but the second one doesn't boot at all (just returns me to my efi boot chooser)
<sphalerite>
or you can use it from nix-shell or whatever
<manveru>
pie_: can you copy&paste the output to a gist?
<hyper_ch>
Harekiet: yes
<Harekiet>
nix-env -i will go on a mass install rampage?
hexa- has quit [(Ping timeout: 255 seconds)]
bara has quit [(Ping timeout: 255 seconds)]
<hyper_ch>
Harekiet: I don't install stuff into my user env
<srhb>
Harekiet: With no arguments? Yes, that will install all of nixpkgs, I believe. :-P
ylwghst-nix has joined #nixos
bara has joined #nixos
<srhb>
Or rather, it will attempt to and probably fail.
<pie_>
manveru, i can give you the bytes
<manveru>
pie_: that'd be great
<manveru>
i've dealt a lot with mojibake, so should be easy :)
<Harekiet>
srhb yeh that seemed like a bad idea, have to be careful with that shit :P
<pie_>
i know its shiftjis though because i already decoded it with some tools
<pie_>
one sec
hexa- has joined #nixos
<pie_>
manveru, CD-ROMエラー
<manveru>
cd-rom error?
<pie_>
someone told me that says cd rom error xD
<manveru>
yeah, i can read it just fine
<pie_>
oh heh
<manveru>
so you're just lacking the fonts i guess
<Harekiet>
yeh the user specific installations seem a bit silly, but then again having to always edit that file gets a bit iffy as well and how many users do you really use, it does seem to work
<srhb>
Harekiet: It's not terribly dangerous. :)
<manveru>
i have a couple other japanese fonts installed, will give you the whole list
<pie_>
manveru, no i mean i pasted the readable version
<manveru>
gotta go to the next presentation
<manveru>
oh
<manveru>
:)
<pie_>
ah well actually since i can read it i do have the fonts i guess
<pie_>
i guessss
<srhb>
Harekiet: My workflow is: I have some system packages. I have some user packages (mostly managed by home-manager by now). Everything "transient" I just spin up nix-shells for.
<srhb>
Harekiet: And garbage collect the artifacts of that whenever.
<copumpkin>
that's actually maintained, even though it probably still won't work on openssl 1.1
lissyx has joined #nixos
<pie_>
manveru, eh well, i managed to lie to it somehow so maybe itll just work without caring :D *suddenly everything crashes*
<pie_>
oh man i have no idea what anything in this installer says
jtojnar has joined #nixos
revtintin has joined #nixos
<manveru>
learn japanese, only takes some years ;)
lissyx has quit [(Ping timeout: 258 seconds)]
<rycee>
eqyiel: Thanks! I think I might have found an alternative solution that doesn't require sourcing that file but it still would be interesting to know whether it works OK.
<ckauhaus>
better submit what is currently here instead of waiting for the whitelist feature being complete
<srhb>
What are the numbers in nix build, [x/y/z built ...]?
<copumpkin>
it's a mystery
jtojnar has joined #nixos
<srhb>
Agreed. :-)
<srhb>
I like that they flash and change though.
<srhb>
Makes me feel smart.
thblt has joined #nixos
<LnL>
it's packages built/downloaded and something else
rogue_koder has joined #nixos
Ross has quit [(Ping timeout: 240 seconds)]
* ylwghst-nix
reboot
ylwghst-nix has quit [(Quit: leaving)]
Ross has joined #nixos
glenn has quit [(Ping timeout: 240 seconds)]
ckauhaus has quit [(Ping timeout: 248 seconds)]
<bgamari>
anyone know where the "hardware" configuration option is defined?
<srhb>
bgamari: You mean /etc/nixos/hardware-configuration.nix ?
iyzsong has quit [(Ping timeout: 255 seconds)]
<srhb>
Or their definitions?
nallar has joined #nixos
<bgamari>
its definition
srhb has quit [(Quit: Quit)]
<hyper_ch>
Harekiet: I like to add everything to configuration.nix :)
Ross has quit [(Ping timeout: 258 seconds)]
srhb has joined #nixos
tomster has joined #nixos
<tilpner>
bgamari - Should be <nixpkgs/nixos/modules/hardware>
ma27 has joined #nixos
<bgamari>
thanks
Ross has joined #nixos
nallar has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor opened pull request #30932: Move my python packages to python-modules/ (master...move-my-python-pkgs) https://git.io/vFLZe
NixOS_GitHub has left #nixos []
ylwghst has joined #nixos
katyucha has quit [(Ping timeout: 248 seconds)]
<pie_>
manveru, so i just used winspy to copy out the text while not specifyin a specific encoding, just ja_JP, then copying out the boxes witn winspy++, and i got the stuff. so wine just isnt having a font for it...
<pie_>
manveru, so now that i know to use LANG=ja_JP (what encoding does that even use?) i need to figure out how to give wine the right font...
<manveru>
Interesting... You might get them via winetricks
chrishill has joined #nixos
nh2 has quit [(Quit: Leaving.)]
<chrishill>
Hey guys, I’ve changed my NixOS from 16.09 32 bit to 16.09 64 bit. A problem is that my configuration.nix didn’t work out of the box. I am fairly certain it worked fine under 32bit, but under 64bit I got a stackoverflow when evaluating it.
<chrishill>
I needed to remove all the packages from the `environment.systemPackages` list in order for it to work. It didn’t work when all of them were there.
<chrishill>
Maybe one of the packages had an infinite recursion, but like I said I think it worked under 32bit. So I’m guessing that the stack size is not large enough
<chrishill>
So is there a way to make the stack size larger?
<pie_>
manveru, problem is i dont know what i need
<srhb>
chrishill: can you figure out which package it was?
<srhb>
chrishill: boring, I know, but finding out which one will probably locate the problem :)
<chrishill>
It’s kinda hard to google for “nixos stackoverflow” because of stackoverflow.com... ☺
<MichaelRaskin>
It could have a brocken check for bitness
<chrishill>
srhb: I’ll try a process of elimination
<MichaelRaskin>
I hope you use binary search.
<srhb>
chrishill: nixos "stack overflow" -stackoverflow.com should help searching :)
<joepie91>
chrishill: try: nixos "stack overflow" (note the quotes around stack overflow)
<chrishill>
Nice search tips, thanks guys
<pie_>
manveru, well ill try this "allfonts" thing
nh2 has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
sigmundv__ has joined #nixos
<pie_>
still not enough :|
<manveru>
😩
glenn has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
frankqux1 has quit [(Ping timeout: 240 seconds)]
<pie_>
trying corefonts + cjkfonts
damke has joined #nixos
rogue_koder has quit [(Quit: Konversation terminated!)]
<pie_>
manveru, YESSSS
* pie_
highfives manveru
nh21 has joined #nixos
nh2 has quit [(Client Quit)]
nh21 has quit [(Client Quit)]
stepcut has joined #nixos
<manveru>
Nice!
iqubic has joined #nixos
ylwghst has joined #nixos
ma27 has quit [(Ping timeout: 248 seconds)]
<ylwghst>
anyone uses grub2 here?
ma27 has joined #nixos
<srhb>
ylwghst: Yes.
<sphalerite>
ncrashed: thanks for the PR on boot2barony, I didn't realise until today that github doesn't put my own projects on my watch list 😱
<ylwghst>
srhb: how does work on your machine? i still get strange kind of error before grub2 starts
<srhb>
ylwghst: No problems at all. What's the error?
<ylwghst>
it popus for a sec before stars so is very hard to catch it
<ylwghst>
i memorized few words there is something like
<iqubic>
Why is it so damn hard to find a laptop that works with Linux?
<iqubic>
Is Linux really that stupidly arcane?
sigmundv__ has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/vFLC5
<NixOS_GitHub>
nixpkgs/release-17.09 56b9886 Christian Kauhaus: vulnix: 1.2.2 -> 1.3.4...
NixOS_GitHub has left #nixos []
<chrishill>
On the other hand that’s not weird since it is a more involved expression (could contain dependencies that lead to infinite recursion I guess). On the other hand this one worked fine under 32bit
<chrishill>
I tried to add back packages and it worked fine until I added the `texlive.combine` thing.
<srhb>
chrishill: The derivation isn't bad, it appears, but something odd is happening in Nix.
<srhb>
chrishill: At least, that's my conclusion since it works on Nix 1.12
jb55 has quit [(Ping timeout: 255 seconds)]
<MichaelRaskin>
Any one of the two gets combined OK, two together seem to be too much
chrishill has quit [(Quit: Leaving)]
ckauhaus has joined #nixos
<hyper_ch>
DIzFer[m]: just updated the wiki a bit
<c0bw3b>
it was the Dell XPS 13 which was sold with Ubuntu (Developer Edition) or with Windows 10 / but same hardware
<c0bw3b>
the windows one has been updated with latest intel gen CPUs but I'm not sure if there was a refresh of the dev edition
endformationage has joined #nixos
bennofs has quit [(Ping timeout: 255 seconds)]
<hyper_ch>
Harekiet: did you actually setup nixos somewhere else besides the usb stick?
<Harekiet>
Nah my fileserver is running Ubuntu for now it works okay
jb55 has joined #nixos
thblt` has joined #nixos
thblt has quit [(Read error: Connection reset by peer)]
jbgi has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] iblech opened pull request #30933: mupdf: correct license meta information (master...patch-2) https://git.io/vFLWS
NixOS_GitHub has left #nixos []
<hyper_ch>
why chose ubuntu over debian as server? oO
rogue_koder has joined #nixos
<pie_>
is it still hard to start a second x server?
<srhb>
hyper_ch: Usually because of old versions.
<Harekiet>
Wanted to use zfs Ubuntu had the zfs
<nh2[m]>
hyper_ch: much newer software, reliable release schedule
<hyper_ch>
nh2[m]: on a server I usually prefer stable software :)
Isorkin_ has joined #nixos
<srhb>
nh2[m]: The right word for Debian isn't "stable" as much as "geological" ;-P
<Harekiet>
It's just a simple server for my backups
<srhb>
hyper_ch: * I meant
<hyper_ch>
srhb: I think you confuse debian with centos :)
<srhb>
hyper_ch: We obviously have very different standards for currency. :)
<hyper_ch>
one centos dev to the other: "Hey, debian just upgraded the packages.. should we do the same?" other replies: "na, we don't want bleeding edge... let's wait a bit"
a6a3uh has joined #nixos
<srhb>
Hehe.
<MichaelRaskin>
I guess you should explicitly say «stable» in such a joke
<hyper_ch>
well, setting up homeserver now with nixos :)
<MichaelRaskin>
I mean, «Debian upgraded X» is «X landed in testing», right?
<srhb>
hyper_ch: No zfsUnstable? :-P
Isorkin has quit [(Ping timeout: 240 seconds)]
<hyper_ch>
MichaelRaskin: you're right :)
<hyper_ch>
I think znc, openvpn, wireguard and samba run fine
<MichaelRaskin>
Some people would even say it means «X moved from experimental to unstable», but I won't admit being one of these people. Not in a publically logged channel.
<hyper_ch>
on servers I'm usually just a bit conservative ;)
<hyper_ch>
Harekiet: but you switched to nixos unstable channel, right?
<Harekiet>
hyper_ch I don't know how to switch channels or whatever, I'm happy enough to get it running for a bit then I god idstracted with netflix watching :)
<Harekiet>
yeh and you end up with the long hashes or whatever it uses for those nix entries :)
<srhb>
Yes, hashes. You can sed those out if you like.
nh2 has joined #nixos
<Harekiet>
I'm just spoiled with my love for aptitude I guess, like to see what's installed and what I don't really need :)
<srhb>
This does that.
<srhb>
If you just care what's in your nix store, it's ls /nix/store
<srhb>
(But that will also give you back unused things that have not been garbage collected)
<Harekiet>
yeh doing a --gc seems to clean it up a bit more, but okay making it all a bit more interactive isn't really a priority
<srhb>
Interactive package lists? less! :-)
<Harekiet>
hehe, select package, press r and boom reverse dependencies, clicky clicky :)
<srhb>
Ah :)
<srhb>
You can generate it as an "interactive" svg with --graph
<srhb>
Your browser should be able to display that
<srhb>
Technically I think it's a graph file.
<srhb>
That might be a starting point
<srhb>
Er, dot file?
<Harekiet>
ah well it's not that high on my concern list, I always just like to sort out what's really installed and do I really need all of it, not that it matters that much if other packages require it but when you'd at least know where the need came from
damke has quit [(Ping timeout: 240 seconds)]
thblt has quit [(Ping timeout: 264 seconds)]
iqubic_ has joined #nixos
fendor has joined #nixos
damke has joined #nixos
fenedor has quit [(Ping timeout: 255 seconds)]
iqubic has quit [(Ping timeout: 258 seconds)]
jbgi has joined #nixos
pxc has joined #nixos
<c0bw3b>
for a library package which contains only a shared lib and its headers, what's the benefits of a multi-output derivation (libs in out and headers in dev) vs a single output one ?
iqubic_ has quit [(Remote host closed the connection)]
iqubic has joined #nixos
nh2 has quit [(Quit: Leaving.)]
<FRidh>
c0bw3b: just closure size
damke has quit [(Ping timeout: 240 seconds)]
<Unode>
does anyone have a shorewall configuration example with nix/nixos?
a6a3uh has joined #nixos
<c0bw3b>
FRidh: you mean it reduces the size of the .out with only the shared lib right? and you pull out the .dev output only when you need to build something
<hyper_ch>
Harekiet: it installs all the things you tell in the configuration to install
<kai_w>
is there a way to find what file in the tree produced a particular item in the store?
<kai_w>
I'm new to nix, so apologies if that question makes no sense
<hyper_ch>
ah, no idea
<hyper_ch>
kai_w: I'm not new.. just a user that doesn't have deep insights either :)
ma27 has joined #nixos
<FRidh>
c0bw3b: yes
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vFLBR
<NixOS_GitHub>
nixpkgs/master 335add9 Andreas Rammhold: vdirsyncer: added requests_oauthlib to propagatedBuildInputs...
<NixOS_GitHub>
nixpkgs/master f04f30f Frederik Rietdijk: Merge pull request #30921 from andir/vdirsyncer-requests_oauthlib...
NixOS_GitHub has left #nixos []
<c0bw3b>
FRidh makes sense, thanks
hellrazo1 has quit [(Ping timeout: 240 seconds)]
<Unode>
kai_w: you can query the names of the packages by using "nix-env -q". From there you roughly guess the name of the package or otherwise grep through nixpkgs to know where the file with such name is.
<chrishill>
srhb: Thanks for the help, I’ll have a look at it later.
hellrazo1 has joined #nixos
<chrishill>
Anyone using Nix to develop Java? I am trying to set up an Eclipse environment (completely vanilla) to work with Java. I asked about this yesterday (then got sidetracked with upgrading NixOS) and posted this:
<Harekiet>
hyper_ch stuff gets installed even if I have an empty configuration most likely, there must be some sort default included file somwehere I guess :)
<chrishill>
iqubic: Yeah, I’m having trouble getting JUnit to work properly
pxc has quit [(Ping timeout: 248 seconds)]
<hyper_ch>
Harekiet: what do you mean by empty configuration?
nckx has joined #nixos
<chrishill>
I got the advice to upgrade my NixOS from 16.09 to 17.09, but I’m kind of stuck on that right now since `nixos-install` keeps failing; it fails to download GHC from Nix cache
<chrishill>
Not that any of my own packages seemt to require GHC. Evaluating my configuration.nix works fine here in 16.09
<iqubic>
Don't use Nixos-install to update.
<chrishill>
iqubic: what should I use? Seems that was the advice I got last time
<iqubic>
just update your nixos channel t 17.09 and run "nix-rebuild test"
<chrishill>
Right, sorry, I failed to read the most recent advice, which was exactly that command it seems: `nix-channel --add https://nixos.org/channels/nixos-17.09 nixos`
<chrishill>
I should get right on that ☺
<hyper_ch>
iqubic: no --upgrade?
<iqubic>
That's how I switched to 17.09
kai_w has quit [(Ping timeout: 240 seconds)]
<iqubic>
I did just those two commands, and everything seems to work just fine.
<hyper_ch>
maybe you don't need upgrade because you changed channel
<hyper_ch>
don't really know
<iqubic>
Yeah, I think so.
<iqubic>
I don't really know either.
<iqubic>
I'm just saying what worked for me.
arximboldi has quit [(Remote host closed the connection)]
m0rphism has quit [(Quit: WeeChat 1.9.1)]
arximboldi has joined #nixos
zraexy has quit [(Ping timeout: 255 seconds)]
pxc has joined #nixos
<hyper_ch>
iqubic: I don't know either
riclima has joined #nixos
chrishill has quit [(Quit: Leaving)]
hellrazo1 has quit [(Ping timeout: 252 seconds)]
katyucha has quit [(Ping timeout: 248 seconds)]
pxc has quit [(Ping timeout: 258 seconds)]
hellrazo1 has joined #nixos
kai_w has joined #nixos
bennofs has joined #nixos
<tokudan[m]>
17.09 hasn't updated for two days now
fendor has quit [(Ping timeout: 246 seconds)]
symplectico has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
<iqubic>
tokudan[m]: That's fine.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Zimmi48 opened pull request #30934: Math classes 1.0.7 (master...math-classes-1.0.7) https://git.io/vFL0N
NixOS_GitHub has left #nixos []
<tokudan[m]>
not really. I'm waiting for the firefox update to 56.0.2
<hyper_ch>
makefu: since you'll need to do the pyroscope installation afterwards (goes into user home and requires some python stuff), I did now add python27, python27Packages.virtualenv, python27Packages.pip, python27Packages.setuptools to to the { }: brackets and now it complains
<chrishill>
iqubic, hyper_ch: I ran `sudo nixos-rebuild switch --upgrade` after the channel switch. That seemed to be necessary.
<hyper_ch>
chrishill: so you're upgraded?
<hyper_ch>
makefu: so, how to tell that it shoulod use those packages as well as dependencies?
<hyper_ch>
it complains about the "." there --> python27Packages.virtualenv etc
<chrishill>
hyper_ch: I’m pretty sure, `sudo nix-channel --list | grep nixos` says I’m on the right channel and running `sudo nixos-rebuild switch --upgrade` completed without any errors
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vFLz0
<NixOS_GitHub>
nixpkgs/master 9e37df1 Shea Levy: fwupd: Remove manual rpath settings now that meson is fixed....
NixOS_GitHub has left #nixos []
<hyper_ch>
chrishill: great
<chrishill>
And my original problem seems to be solved, since it is currently downloading `pkgs.javaPackages.junit_4_12`, which didn’t work previously. So that’s nice. ☺
symplectico has joined #nixos
ylwghst-nix has joined #nixos
<symplectico>
I'm trying to build emacs with packages included following the manual. The build works but the emacs command still points to a plain emacs even though there is a working emacs-with-packages in the nix store. Any suggestions how to fix that?
zarel has joined #nixos
fendor has joined #nixos
<hyper_ch>
Mic92: I could encrypt the whole zfs pool it seems... I wonder what are the pro/cons in doing so.. as pro I'd see that everything in the pool gets encrypte and you don't accidentally have an unencrypted dataset... as con... well, I don't see anything there
<chrishill>
Now there is a new Java problem. Running the JUnit tests throws an exception: `java.lang.NoClassDefFoundError: org/junit/runner/manipulation/Filter`. That’s just with one `@Before` method and one `@Test` method with an empty body.
<ylwghst-nix>
srhb: I bring camera and I'm going to capture the message.
<hyper_ch>
chrishill: don't you know that Jave is evil incarnate?
<ylwghst-nix>
srhb: format it to fat had no effect
<hyper_ch>
ldlework: are you trying to write a nix expression?
<ldlework>
hyper_ch Yeah trying to package up Viscosity for OSX which is shipped as a dmg
<hyper_ch>
and you have an unpackage phase in your expression?
<ldlework>
Well I was going to use mkDerivation
ylwghst-nix has quit [(Quit: Lost terminal)]
<hyper_ch>
can you paste it?
<ldlework>
paste wat
<ldlework>
I haven't written it yet...
lodi has joined #nixos
<hyper_ch>
ok :)
<ldlework>
Basically, if I set the "src" of a mkDerivation directly to a fetchurl that fetches a dmg
<ldlework>
I'm thinking there's something I can do so that the mkDerivation automatically applies undmg to the result? I dunno
thblt has joined #nixos
<ldlework>
I mean undmg is easy enough to just use like a cli tool so its no big deal but I was curious how this hook thing works
<lodi>
Hello all. Anybody know why 'nix-env -q' could return nothing? I tried as a user and as root (packages set up in configuration.nix).
<rycee>
ahstro_: Did you relog your session? The session variables are set in your profile which typically is read when you log in. So a switch is not enough to set them, you also need to log out and log back in…
bennofs1 has joined #nixos
<ahstro>
rycee: I switched to a different TTY and logged in, but that didn't work. Now I rebooted and it worked after that.
<rycee>
ahstro: Cool :-)
bennofs has quit [(Ping timeout: 240 seconds)]
acarrico has joined #nixos
lissyx has joined #nixos
bennofs1 has quit [(Quit: WeeChat 1.9.1)]
<ahstro>
Know if there's a command akin to `startx`? With starting the `display-manager` service, I can't exit the manager without it restarting
<rycee>
Not certain what you mean by the manager restarting. But you can find startx in `xlibs.xinit`.
<MichaelRaskin>
Well, with systemd you cannot have anything equivalent to startx working.
JagaJaga has joined #nixos
JagaJaga is now known as JagaJaga_
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
lissyx has quit [(Ping timeout: 264 seconds)]
<JagaJaga_>
Hi we want to enter mayflower office for pre-hackathon, but we dont know how. Staying on a street. Anyone there?
fenedor has joined #nixos
fenedor has quit [(Client Quit)]
Guest2615 has quit [(Quit: Lost terminal)]
fendor has quit [(Ping timeout: 246 seconds)]
kier has quit [(Remote host closed the connection)]
adamt__ is now known as adamt
adamt is now known as Guest12595
Guest12595 has quit [(Changing host)]
Guest12595 has joined #nixos
kier has joined #nixos
Guest12595 is now known as adamt
rogue_koder has quit [(Quit: Konversation terminated!)]
rogue_koder has joined #nixos
adamt has quit [(Remote host closed the connection)]
<ldlework>
Is there version of map that passes someting like an index, value pair instead of just the value?
<vincent_vdk>
anyone using antigen + zsh?
<vincent_vdk>
i can initialize antigen, but it seems it can't find a theme.
<vincent_vdk>
not sure where to look
rogue_koder has quit [(Read error: Connection reset by peer)]
<Ralith>
anyone have an example of using an overlay that's fetched on the fly, rather than installed by hand?
<Ralith>
I'm trying to set nixpkgs.config.overlays = [ (fetchFromGitHub { ... }) ]; but getting infinite recursion ??
<Ralith>
er, s/config.//
<ldlework>
rycee if I wanted to write multiple files at once to the home directory, is the proper way to do that by creating an attrset with each filename as the attributes and someting like { text = "the content"; }; and then merge that against home.files or something?
<ldlework>
Ralith yes I use this technique to simulate "plugins" for home-manager
pie_ has joined #nixos
* ylwghst-nix
has no macOS anymore
<Ralith>
ldlework: cool, where can I see an example?
<ldlework>
Ralith well I guess I'm doing something slightly different
<rycee>
ldlework: Hmm, depends a bit but typically `home.file = { file1.text = "foo"; file2.text = "bar"; };` should work fine.
<ldlework>
I see
<rycee>
But the home.file will be merged automatically
<rycee>
… if you add things to it from different modules.
<Ralith>
ldlework: where can I see what you're doing?
<Ralith>
do you have any idea how to fix the infinite recursion issue?
<rycee>
Ralith: I think you'll need an `import` as well.
<ldlework>
But its not really what you mentioned I got confused sorry.
<Ralith>
rycee: doing import "${fetched-thing}" gives infinite recursion in exactly the same way
doublehp has joined #nixos
<doublehp>
I have a problem with youtube-dl . an old version works fine on my Debian machine, and new version does not work on Gentoo. http://paste.debian.net/993305/ . I use NIX because my raw Gentoo version was not working /usr/bin/youtube-dl --version 2010.11.19 . What could preven the NIX version from working ? SSL certificates ? other ?
hueFilystyn has quit [(Quit: Konversation terminated!)]
<Ralith>
rycee: incidentally, is there a good way to kick off home-manager services by hand, since it doesn't seem to start them when switching from hand-managed stuff?
<gchristensen>
aminechikhaoui: hi
nh2 has joined #nixos
<aminechikhaoui>
gchristensen: Hi, here is my email amine.chikhaoui91@gmail.com ;)
<ldlework>
holy crap I did it
<Ralith>
that's odd, I wonder why the home-manager nm-applet icon is a 'no entry' sign instead of the wifi strength indicator
<Ralith>
themes don't seem to be working either
<symphorien>
It has to do with the environment variables needed for it to find themes
<Ralith>
anyone have any idea how to get gtk themes working with home-manager?
<Ralith>
theming always seems like pulling teeth with nix :/
<Ralith>
never works right
<symphorien>
Iirc I solved it by systemctl --user env-import all the XDG_* env variables
<symphorien>
I can't check now though
<Ralith>
ah, and those are in my .xprofile which hasn't ran this session
<Ralith>
yep, that did it :D
<Ralith>
thanks!
leat has quit [(Ping timeout: 248 seconds)]
hiratara has quit [(Ping timeout: 252 seconds)]
ylwghst has quit [(Remote host closed the connection)]
jtojnar_ has joined #nixos
jtojnar has quit [(Ping timeout: 248 seconds)]
hiratara has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 23 new commits to master: https://git.io/vFLPa
<NixOS_GitHub>
nixpkgs/master 36ff834 Bjørn Forsman: pythonPackages.autopep8: move to python-modules/
<NixOS_GitHub>
nixpkgs/master 4c0582d Bjørn Forsman: pythonPackages.blockdiag: move to python-modules/
<NixOS_GitHub>
nixpkgs/master 0bc9f75 Bjørn Forsman: pythonPackages.construct: move to python-modules/
NixOS_GitHub has left #nixos []
mahalel_ has quit [(Remote host closed the connection)]
<Ralith>
hm, home-manager seems to be hanging on build
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vFLPX
LysergicDreams has quit [(Remote host closed the connection)]
<infinisil>
Ralith: (That's nix hanging on build) What's the problem
<infinisil>
?*
<Ralith>
infinisil: what indeed?
<Ralith>
ahah
<Ralith>
had a forgotten suspended build, my bad
mahalel_ has joined #nixos
<rycee>
Ralith: Well, HM makes a very weak attempt to figure out which systemd should be started, restarted, and stopped. It should print a "suggested" systemctl command at the end of a switch.
<Ralith>
ah, got it
<rycee>
But in general it's best to figure it out yourself :-( I'm hoping for the NixOS systemd machinery to become more approachable for use in home manager, that should help a lot.
<infinisil>
Ralith: Ah sry, didn't read the previous messages, ignore me
<Ralith>
rycee: is the dunst service part of home-manager? it doesn't seem to be configured quite right
<Ralith>
never finishes starting/doesn't exit cleanly; probably has the wrong type set
ckauhaus has joined #nixos
<rycee>
Ralith: About the gtk theme, you'll have to put the theme package in home.packages for now. For example, I have `pkgs.theme-vertex` in home.packages and `gtk.themeName = "Vertex-Dark";` in my HM configuration.
p4cman has quit [(Quit: Connection closed for inactivity)]
<iqubic>
Is is possible to add an arbitrary command for my WM?
<Ralith>
hm, type is dbus?
<rycee>
Ralith: The dunst package should work fine. You need to provide a configuration, though.
<Ralith>
maybe that's yet another thing that'll only work properly once I restart my session
<iqubic>
Like I want to use EXWM, but I want it to use my own user's .emacs, and not a seperate .emacs file that it creates just to run EXWM.
<rycee>
Yeah, I don't have that set and gtk2 themes work ok for me.
<rycee>
Perhaps strace a gtk2 application to see which theme folders it tries to access?
<Ralith>
I'm using Breeze-Dark from breeze-gtk
<Ralith>
know a good simple app to try?
thc202 has quit [(Ping timeout: 240 seconds)]
lodi has quit [(Quit: Page closed)]
<rycee>
The only one I have installed that uses gtk2 is xscreensaver-demo
ssmike has quit [(Ping timeout: 248 seconds)]
<rycee>
Ah, tried it out and it turns out I have a symlink from `~/.themes/Vertex-Dark` to `~/.nix-profile/share/themes/Vertex-Dark` :-D
<Judson>
pmeunier: I'm trying to look at your nix-rust repo - pijul clone https://nest.pijul.com/pmeunier/nix-rust creates me a new workspace with no files in it
iqubic has quit [(Remote host closed the connection)]
<rycee>
Ralith: Removed the symlink and it still manages to find the theme: `strace -e open xscreensaver-demo 2>&1 | grep themes` includes `open("/home/rycee/.nix-profile/share/themes/Vertex-Dark/gtk-2.0/gtkrc", O_RDONLY) = 5`
<rycee>
Ralith: Does `grep /home/$USER/.nix-profile/share <<<$XDG_DATA_DIRS` find a match?
<ylwghst>
does grub2 supports theming?
glenn has quit [(Ping timeout: 240 seconds)]
hellrazo1 has quit [(Ping timeout: 240 seconds)]
<Ralith>
rycee: wait, I think I know what's going on here
<Ralith>
most likely my fault
hellrazo1 has joined #nixos
<Ralith>
yyyyyep, false alarm
<Ralith>
rycee: my test app turned out to have been imperatively installed before that patch made it in
<Ralith>
apologies for the noise
<Ralith>
the good news is, home-manager is really helping me clean up detritus on my system in a number of ways ^^
<Ralith>
I think I have saved gigabytes by removing different builds of gtk alone...
shlevy has quit [(Quit: Quit)]
ylwghst has quit [(Quit: Lost terminal)]
<rycee>
Ralith: Cool! Glad it worked out for the best in the end :-)
ylwghst has joined #nixos
<Ralith>
rycee: although it appears that the dunst systemd service is doing absolutely nothing; dbus starts its own instance and uses it regardless of whether the service is up
glenn has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
<rycee>
Ralith: Ya, there is something wonky about it. The setup follows the upstream one from what I can tell but it's not working quite as expected.
shlevy has joined #nixos
<rycee>
So it is just using plain dbus activation, not through systemd.
<rycee>
I'll try to have a look at it as soon as I have time.
thblt has quit [(Remote host closed the connection)]
<Ralith>
no pressure, it clearly works just fine regardless
<rycee>
Yeah, I've been using it for close to a year without noticing it ;-)
thblt has joined #nixos
<thoughtpolice>
tilpner: Mmmm, this is with no parallelism, right?
WilliamHamilton has joined #nixos
<tilpner>
thoughtpolice - Yes, and passing -j8 doesn't help. I aborted the first run after 50min, started it later again (still running)
<thoughtpolice>
tilpner: That's unfortunate but ideally Hydra will run tests for us in any case when it builds the cache artifacts... I'm somewhat ambivalent about it, tbh. I'm willing to just merge as is
<thoughtpolice>
But taking up like an hour of Hydra's time isn't ideal either
Alling has quit [(Ping timeout: 260 seconds)]
<tilpner>
thoughtpolice - I didn't even get to see the stats, let alone figure out when to fail the test, and it's not very fun with these waiting times :/
<tilpner>
thoughtpolice - So... either we figure out how to run less tests, or we merge just the update and open an issue for the tests
katyucha has quit [(Ping timeout: 240 seconds)]
doublehp has quit [(Quit: Leaving.)]
<thoughtpolice>
tilpner: I'm willing to go with no. 2 for now if you'd be kind enough to open an issue.
thblt has quit [(Ping timeout: 240 seconds)]
katyucha has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] thoughtpolice pushed 2 new commits to master: https://git.io/vFLDo
<rycee>
But that particular issue was resolved. I would suggest to raise a new issue and include your zsh configuration there. Hopefully uvNikita or dermetfan could help figure it out :-)
<Ralith>
well, I am on master
acarrico has quit [(Ping timeout: 248 seconds)]
<rycee>
infinisil: You're using the zsh module in HM, right? Is it slow to start for you as well?