<andi->
It might not be pretty (in your eyes) but it works (most of the time?) ;)
<gchristensen>
it does! :)
<ottidmes>
my experience with gparted is that I did not like it (the sizes reported did not match what I expected them to be, probably a 1000 vs 1024 issue), but I read sizes where done differently by default in the CLI parted, so I will give it a try then
<andi->
wohoo, the system booted for the first time with the new custom grub.. now I can shut it down
<samueldr>
all that only to shut it down?
<andi->
next milestone: kexec system ugprades with the encryption working..
<ottidmes>
gchristensen: its one of the prettiest cases of using fdisk like that, that I have seen though
<andi->
well it is bed time :D
<andi->
and right now it sits on my desk making noises
<samueldr>
could've kept it off, you would have had the whole evening for yourself!
<samueldr>
;)
<andi->
samueldr: I'll try to do that tomorrow.. or the day after or …
<gchristensen>
....!!! I just realized I could have used Nix to build the list of commands instead of the weird sed thing! :D
<andi->
Anyone here using the kexec target to upgrade kernels? I only ever tried that once and was stuck with a black terminal..
<ottidmes>
andi-: on my local server I do boot with kexec into another kernel version, if that is relevant
<andi->
ottidmes: oh, how does that work? systemctl kexec?
<andi->
I see that.. not sure it works like I want it to do..
<gchristensen>
it just "arms" it, from there you can kexec -e, or `systemctl restart` to activate it
<andi->
systemctl kexec complains about not being able to find the ESP parititon
<andi->
ok
<ottidmes>
andi-: but its not like I go from one full installation and kexec to another, I have a partition that does nothing more than unlock my hard drive and then kexec into the kernel on the unlocked drive
<andi->
it just worked.. great.. I didn't expect that. I just guessed there would be more required for it to work :) I did kexec on a network switch a few years back.. Running a vanilla linux kernel on there felt good.
<gchristensen>
did you kexec -e, or systemctl restart? kexec -e is "rude"
<andi->
-e :D
<ottidmes>
kexec is awesome
<gchristensen>
X)
<ottidmes>
I do use kexec -e as well, but try to be polite before I run it
<andi->
I can try the restart as wel... having aproper serial to remote access the server is nice.. no more dropbear in initramfs hacks with strange host keys..
<samueldr>
german efficiency
<samueldr>
no need for politeness ;)
<gchristensen>
tell that to your filesystem which suddenly needs to run fsck :')
<andi->
gchristensen: what unit would I restart there anyway? kexec.target?
<gchristensen>
oops, I mean, `systemctl reboot`
<andi->
well kexec.target did a proper shutdown and executed a new kernel
<ottidmes>
gchristensen: I have no systemd at that point, so its not like I could do anything else than just kexec -e
<gchristensen>
systemd detects kexec has an "armed" kernel and cancels the reboot at the last second and execs the new kerel.
<gchristensen>
ottidmes: seems fine then
* andi-
wonders if waking up from suspend works via serial..
<andi->
not easily at least... well, good enough for now
<gchristensen>
ipmi can probably do it?
<andi->
I was on the SSH interface of the IPMI.. Not sure how that would work there.. I even tried the virtual on screen keyboard.. only way I found it was the "Software Shutdown" button on the UI.
<andi->
That did wake it up again.
jackdk has quit [Remote host closed the connection]
jackdk has joined #nixos-chat
drakonis has joined #nixos-chat
ottidmes has quit [Quit: WeeChat 2.2]
pie___ has quit [Remote host closed the connection]
pie___ has joined #nixos-chat
pie___ has quit [Remote host closed the connection]
pie___ has joined #nixos-chat
<infinisil>
> let x = import <nixpkgs/nixos> {}; in x.pkgs.lib.concatStringsSep ":" x.config.nix.nixPath
<{^_^}>
(use '--show-trace' to show detailed location information)
<gchristensen>
uhoh
<infinisil>
Ah it's not much, the bot just only shows the last line of the error. The actual error is that nixos-config is not in NIX_PATH, so I'm adding it now
<infinisil>
> let x = import <nixpkgs/nixos> {}; in x.pkgs.lib.concatStringsSep ":" x.config.nix.nixPath
<srhb>
They gave it 92% which is a really high score for notebookcheck.
<srhb>
I finally got my second NVME drive in my p51. No more fear of sudden disk failure. \o/
<sphalerite>
I have: 15in macbook pro which I borrowed indefinitely from my dad when I started studying, XPS 15 which I bought last year, ThinkPad T460s from work, (previously) Asus C201 chromebook (11.6"), Asus C101PA chromebook (10.1")
<sphalerite>
so a range of different sizes
<sphalerite>
but I'm not a megalaptop person, I'd go for a desktop instead if I want something that performs really well.
<srhb>
I can't deal with that. I find adjusting so hard. :D
<sphalerite>
But I don't think I need one.
<srhb>
Yeah, I want to do that too, but.. Pricy having both and I do need a laptop.
<sphalerite>
Next computer I buy will be a NAS, probably.
<srhb>
Oh, do tell when you decide on one. I think all of the options were shitty last I looked.
<sphalerite>
srhb: cheaper to get a powerful desktop and a weak laptop than a powerful laptop :p
<tilpner>
Just don't get a laptop that's too cheap :/
<srhb>
sphalerite: Yes, but then I need really good home internet connectivity, so I can always build on the desktop
<srhb>
Which I don't have and doubt I can get :/
<sphalerite>
huh, why not?
<sphalerite>
you're in Denmark right?
<srhb>
Yeah. Which means fast, cheap, stable -- pick two (but not stable)
<srhb>
:P
<sphalerite>
huh. I didn't know that
<srhb>
And even a static address is a problem
<srhb>
Unless you're lucky enough to live somewhere that has fiber.
<sphalerite>
that's what VPNs are for.
<srhb>
True. But then I need a third component!
<srhb>
Which, I guess, I do have. :P
<sphalerite>
€3/mo server :p
<srhb>
Yeah.
<__monty__>
srhb: No need for static address with something like clever's toxvpn.
<srhb>
I want wireguard to do meshes like tinc :(
<sphalerite>
I'm pretty happy with tinc
<sphalerite>
why do you want wireguard?
<srhb>
Frankly probably just because it's been my first stable and simple vpn experience.
<srhb>
I run everything through a relatively cheap vpn provider now.
<srhb>
Because then I can stick it to the man and their horrendous logging directive.
<__monty__>
srhb: Toxvpn works remarkably well for me.
<srhb>
Maybe I could do something like.. tinc and then outbound from the vpn through wireguard to that external provider.
<srhb>
__monty__: I guess I'll check it out :)
<__monty__>
It's been a "What have I been doing with my life before this?" experience for me. Finally a simple way to connect two computers no matter where they are, as long as they are connected to the internet.
<jasongrossman>
srhb: I'm in the same situation.
<jasongrossman>
__monty__: Well that is a recommendation.
<srhb>
Maybe it's simpler to just have each of my machines outbound through wireguard and internally talk through tinc. That seems way simpler.
<jasongrossman>
__monty__: I will try it.
<srhb>
And also less latency prone.
<srhb>
Why did I not consider that before >>
pie__ has joined #nixos-chat
pie___ has quit [Remote host closed the connection]
alienpirate5 has quit [Remote host closed the connection]
Lisanna has joined #nixos-chat
Lisanna has quit [Client Quit]
<sphalerite>
__monty__: tinc is like that but with all the computers :p
<__monty__>
sphalerite: What do you mean?
<sphalerite>
__monty__: you're not connecting two computers, you're connecting all your computers
<__monty__>
sphalerite: Toxvpn does so too.
<sphalerite>
oh ok
<sphalerite>
I guess what weirds me out about toxvpn is that it uses a chat protocol for VPN
<sphalerite>
wait, but toxvpn is point-to-point
<sphalerite>
not mesh
<sphalerite>
according to its description
Jackneill has quit [Ping timeout: 260 seconds]
<__monty__>
I'm not sure why that matters. It even sounds more efficient.
<srhb>
__monty__: It means you won't necessarily get the optimal route between peers with toxvpn, afaik
<srhb>
Unless you manually do the meshing.
<srhb>
So you may end up with an a->b->c situation, where in toxvpn you get a->c always, if possible, iirc.
<__monty__>
What can be a more optimal route than a direct connection?
<srhb>
Er, in TINC you get a->c always, I meant
<__monty__>
Are we operating in a non-euclidean topology?
<srhb>
xD
<srhb>
If the user sets up a->b and a->c both in toxvpn, then I would think they are equivalent.
<sphalerite>
but if you do that in tinc, you get b<->c for free
<__monty__>
Ah, ok. Got it.
<__monty__>
Does make a a single point of failure though?
<sphalerite>
ah, one advantage of toxvpn over tinc is that tox uses the DHT thing for discovering the server
<sphalerite>
__monty__: only in the sense that b and c won't be able to discover each other without a. After that a can die and b and c can continue communicating, provided they can connect to each other directly
<sphalerite>
oh and they can discover each other via a LAN if they know about each other's existence
<__monty__>
sphalerite: Yes, just saying that it might not be an advantage since we're talking about unstable connections. Like if A is your work horse, so you connect everything to A, now you have a nice mesh but the moment you want to use the mesh, i.e. when A is down, you can't.
Jackneill has joined #nixos-chat
<sphalerite>
__monty__: which is why you don't center it on A :)
<__monty__>
sphalerite: But then p2p setup isn't that much worse.
<sphalerite>
I guess
<infinisil>
Are you serious firefox
<infinisil>
Misclicking on "New session" instead of "restore previous session" actually makes me unable to restore it?
<sphalerite>
infinisil: I think there's a restore previous session button if you go to menu > library > history
<infinisil>
sphalerite: It's grayed out :/
<infinisil>
I wish I could tell firefox to only ever discard any tab if I explicitly close it, and to never ever discard multiple at once
<gchristensen>
woot 18.09 / master now have zfs on by default for the installer
<andi->
wonder how much bigger the image is now.. Hopefully still fits in the EFI partition
<gchristensen>
zfs was already in there x)
<gchristensen>
pulled in as a dep
<andi->
well then :D
lejonet has joined #nixos-chat
lnikkila has joined #nixos-chat
<andi->
Anyone here familiar with the linux crypto API? I am thinking about writing a patch that introduces a new feature bit for crypto algorithm implementations (backlog-able)
ottidmes has joined #nixos-chat
<__monty__>
infinisil: You might still be able to find your previous session in your profile dir.
<__monty__>
I think it's called previous.jz4 nowadays?
<__monty__>
Don't close ff before checking to increase the likelihood it's not overwritten.
<sphalerite>
.mozilla/firefox/*.default/sessionstore-backups/ has stuff
<sphalerit>
infinisil or copy .mozilla from a zfs snapshot? :)
<gchristensen>
joepie91: very well done for the absolute beginner
<infinisil>
sphalerit: Heh that could probably still work
<sphalerite>
infinisil: what else are snapshots for if not for that sort of thing? ;)
lnikkila_ has joined #nixos-chat
<infinisil>
\o/
<infinisil>
I think it'll work
<infinisil>
I can't check right now thoug
<infinisil>
I only have ssh access to the pc at home now
<sphalerite>
ssh with X forwarding! :D
<infinisil>
I'll just copy the files over and see if it worked when I'm back home
<sphalerite>
SSH in and start a VNC server!
<infinisil>
sphalerite: Hmm...
<infinisil>
I've had mediocre success with X forwarding before, it's always been suuuper slow
lnikkila has quit [Ping timeout: 250 seconds]
<sphalerite>
yeah it's best to use it with compression (ssh -CY)
<sphalerite>
VNC might be a bit better still because lossy compression can be a good idea :)
<infinisil>
Hmm, with ssh -Y it still says no DISPLAY :/
<infinisil>
Maybe I haven't turned it on on the machine
<sphalerite>
the server likely doesn't allow it
<gchristensen>
joepie91: everything but "remember these 12graphs" was super easy!
<sphalerite>
yeah
<sphalerite>
it's disabled by default
<infinisil>
Well I have services.openssh.forwardX11 set on it
<infinisil>
AH whatever, I'll check at home
<sphalerite>
booooooring :p
kisik21 has joined #nixos-chat
<kisik21>
so
<etu>
good plan, I can continue here as well :-p
<kisik21>
the only thing I don't like about i3 is lack of support for left/right vertical docks
<etu>
Whenever I start plasma, the first think I tend to want to do is to move the panel to the left side of the screen.
<etu>
It usually hangs up when I do that.
<etu>
Within minutes after start.
<etu>
On Intel hardware :-D
<lejonet>
kisik21: I don't really like docks anyway :P
<lejonet>
kisik21: but yeah, that is usually the thing with tiling WMs, if you want something akin to activity bar/dock or similar, most of em will fight you rather fiercely
<kisik21>
well, and I'd like to have Unity-inspired setup with xfce4-panel on the side and i3 as wm
<kisik21>
I'm that person who likes unity, yeah
<lejonet>
you could always hack it with selectively floating stuff and absolute positioning :P
<lejonet>
kisik21: I won't judge ^^
<etu>
kisik21: I heard that mate can simulate unity kinda
<joepie91>
gchristensen: aye, but that's the usefulness of it :P
<etu>
Not sure how up-to-date or well-tested it is
<gchristensen>
joepie91: I thihnk there was a lot of useful stuff beyond that: explaining the relationship of relative scale and what-not was great! and reordering numbers means hue, but keeping other stuff constant? so cool!
<joepie91>
gchristensen: yeah, it's a really good intuitively-accessible explanation of some color theory things; probably far more useful to most people than the abstract academic view on it
<gchristensen>
uhh definitely
<joepie91>
like, I've looked at RGB-to-HSV formulas before
<joepie91>
and generative HSV handling and whatnot
<joepie91>
or well, HSL
<gchristensen>
joepie91: I have 15min worth of interest, and hardly a minute more :P
<joepie91>
but that never quite 'clicked' like this :P
<ottidmes>
joepie91: cool link, makes me want to practice it
<kisik21>
I like the store optimization... somehow recovered 2 gigs of SD card storage
<kisik21>
may be able to continue my build
__Sander__ has quit [Quit: Konversation terminated!]
lnikkila_ has quit [Quit: lnikkila_]
ninjin has quit [Quit: WeeChat 2.2]
ninjin has joined #nixos-chat
hedning has joined #nixos-chat
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos-chat
<ottidmes>
jasongrossman: I checked out that link you sent of The Butterfly Effect band, I am liking it :)
rawreraw has joined #nixos-chat
lassulus_ has joined #nixos-chat
lassulus has quit [Ping timeout: 250 seconds]
lassulus_ is now known as lassulus
__monty__ has quit [Quit: leaving]
<kisik21>
The only thing I don't like about NixOS: you wanna add a new package to the system closure and suddenly you need to rebuild Xonotic again because something has changed, though you are sure the Xonotic out won't change even a single bit from that
<kisik21>
at least the optimizer would pick it up
<sphalerite>
kisik21: that really shouldn't happen.
<Ralith>
adding a totally new package will never cause existing packages to be rebuilt
<Ralith>
maybe you updated your nixpkgs channel?
<ottidmes>
kisik21: or you added a package under a name already in use
<kisik21>
ottidmes, no overlay updates, this is the same xonotic
<kisik21>
Ralith: probably
<Ralith>
it is a little unfortunate that ABI-compatible updates can't be leveraged, but given that the binary cache is a thing it's a reasonable tradeoff for never having ABI breakage issues
<kisik21>
Ralith: Xonotic doesn't seem to be in the binary cache
<kisik21>
It always gets built from source!
<Ralith>
oh, I assumed you were doing that on purpose
<Ralith>
weird
rawreraw has quit [Quit: WeeChat 2.3]
metastance has joined #nixos-chat
<Ralith>
you can probably work out why that is with a little effort
metastance has quit [Client Quit]
metastance has joined #nixos-chat
<ottidmes>
kisik21: do you know about nix-diff?
<kisik21>
No manual entry for nix-diff
<kisik21>
package name same?
<ottidmes>
kisik21: haskellPackages.nix-diff
<ottidmes>
kisik21: but you were the one on ARM, or not? if so, that is probably not a good solution
<kisik21>
don't worry
<kisik21>
I'm on my laptop
<kisik21>
my RPi is churning out the system closure for my home server setup
<ottidmes>
kisik21: I am using: haskell.packages.ghc843.nix-diff (since haskellPackages on my 18.09 checkout is at ghc822, which was not in the cache, while ghc843 did have it in cache)
<kisik21>
anyway, still no man entry
<ottidmes>
kisik21: the RPi will be your home server, or is it just building for other hardware that will act as home server? just curious