<{^_^}>
Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<ekleog>
,test
<{^_^}>
ekleog: Did you mean ask?
<{^_^}>
Just ask your question. It's the best way to know if anybody can help.
<ekleog>
,test = test
<{^_^}>
test defined
<ekleog>
,test
<{^_^}>
test
<ekleog>
,test =
<{^_^}>
Undefined test, was defined as: test
<ekleog>
> "hello"
<{^_^}>
"hello"
<ekleog>
hmm, test not conclusive 😇
<simpson>
Hm. I just was told to $(nix upgrade-nix), which was alright, I guess, but I'm still being told to upgrade and also my nix-env now is angry?
<simpson>
error: unsupported builtin function 'buildenv'
<infinisil>
ekleog: Your test attempted to conclude ..?
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<simpson>
Oh, okay.
<ekleog>
infinisil: whether I would manage to get it in an infinite loop by making two bots each send a comment to the other :° but then I noticed it was actually a single bot, which afair doesn't read its own messages
adetokunbo has joined #nixos-chat
<adetokunbo>
hello!
<adetokunbo>
I'm using nixpkgs on Ubuntu; I've just installed docker using nix-env -i docker.
<adetokunbo>
Is there a recommended approach for starting the nix-packaged dockerd ?
<adetokunbo>
Is there anyway to some re-use the nixos module config on Ubuntu ?
<andi->
You want virtualization.docker.enable =true; in your nixos config. Also #nixos is probably a better place to ask. This channel is for off-topic or so
<adetokunbo>
andi- thanks, I thought I am off-topic since I'm not running on #nixos :)
<LnL>
by using some of the internal options you can build the unit file
<LnL>
but it depends on the service if that's useful on it's own
<ekleog>
adetokunbo: basically, it's possible, but likely not really easy to do, esp. if you start wanting that your unit file is actually usable from ubuntu-systemd and is automatically upgraded when nixpkgs upgrade
<ekleog>
(also, you can use #nixos for generic questions about nix, even on non-nixos)
<adetokunbo>
andi, ekleog: thanks! I will switch to #nixos
<adetokunbo>
LnL: thanks! is there a link to an example I can start from?
<LnL>
don't think so, but
<LnL>
firstly make a configuration.nix with virtualisation.docker.enable = true;
<LnL>
nix-build '<nixpkgs/nixos>' -I nixos-config=configuration.nix -A 'config.system.build.units."docker.service".unit'
<LnL>
if you make sure that has a gcroot you can use systemctl link to activate it IIRC
NinjaTrappeur has quit [Ping timeout: 276 seconds]
adetokunbo has quit [Quit: This computer has gone to sleep]
nckx has quit [Quit: Updating my GNU GuixSD server — gnu.org/s/guix]
nckx has joined #nixos-chat
NinjaTrappeur has joined #nixos-chat
<infinisil>
I am writing my nix-session repl thing
<infinisil>
And darn, it's really really interesting
<infinisil>
I get to use graph algorithms
<infinisil>
Unfortunately I need minimum vertex cover
<infinisil>
Which is NP-complete
NinjaTrappeur has quit [Ping timeout: 252 seconds]
NinjaTrappeur has joined #nixos-chat
Guanin_ has joined #nixos-chat
pie___ has quit [Ping timeout: 244 seconds]
lassulus has quit [Quit: WeeChat 2.0]
lassulus has joined #nixos-chat
jtojnar has quit [Ping timeout: 264 seconds]
jtojnar has joined #nixos-chat
<qyliss^work>
tfw you have to ask for nix-daemon to be whitelisted in the corporate antivirus
<LnL>
rofl
<joepie91>
lolol
jtojnar has quit [Remote host closed the connection]
Guanin_ has quit [Remote host closed the connection]
Guanin has joined #nixos-chat
jtojnar has joined #nixos-chat
jasongrossman has joined #nixos-chat
Guanin has quit [Remote host closed the connection]
jasongrossman has left #nixos-chat ["ERC (IRC client for Emacs 26.1)"]
<andi->
Is it me or doesn't github show the full all-packages.nix and I can't even quote a few lines from there? :/ It's my GitHub day it seems..
<ldlework>
andi-: the file is huge
<andi->
I know.
<samueldr>
it's been that way for a long time (the all-packages.nix being unusable in github)
pie_ has quit [Read error: Connection reset by peer]
pie__ has joined #nixos-chat
<andi->
to bad.. was trying to quote a first-time-contributor the lines that he should touch.. Copy&Paste worked as well :/
<samueldr>
yeah :/ that's an annoying issue
<pie__>
i didnt think about it very hard, could we add warnings to nix shell or something when a script doesnt reference a specifix nixpkgs version or something, i keep running my scripts on the wrong versions of things and wondering why they break
<pie__>
i know you can do that, just whether there would be a way to make nix enforce it on me :p
pie_ has joined #nixos-chat
pie__ has quit [Ping timeout: 240 seconds]
<andi->
just received my tomu.. have to figure out what to do with it now :D
<samueldr>
andi-: if you ever do fun stuff, ping me, got some on the backburner
<andi->
I might make it blind red when the battery is low.. I always miss those subtile hints :D
disasm has quit [Ping timeout: 246 seconds]
<samueldr>
a long winded project I thought of is to make it respond to U2F or similar challenges in a reproducible way, not sure the actual value of it since it'd be hard to integrate into automated tests
<samueldr>
(no secure element makes actual U2F use dubious, though it all depends on your attack surface)
<samueldr>
oh right, and the whole "you need to touch it" makes it useless for automated tests :)
<sphalerite>
samueldr: well since the firmware is open source you can disable the you-need-to-touch-it requirement?
<samueldr>
yes, though I don't know how U2F works, does it also ping the device to ask "hey, next time you're touched do XYZ"?
<samueldr>
and then, it's probably better to implement somehow with qemu? :$
<samueldr>
I also had concerns with the licensing, as there are no traces where the base background comes from, and all google image reverse search returns misc. wallpapers websites
<sphalerite>
could well be generated by the author themselves?