justanotheruser has quit [Ping timeout: 240 seconds]
m1cr0man has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
cole-h has joined #nixos-dev
cole-h_ has joined #nixos-dev
cole-h has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
cole-h_ has quit [Ping timeout: 256 seconds]
alp_ has joined #nixos-dev
zimbatm_ has joined #nixos-dev
zimbatm has quit [Ping timeout: 272 seconds]
alp_ has quit [Ping timeout: 272 seconds]
cdepillabout has joined #nixos-dev
__Sander__ has joined #nixos-dev
<andi->
arianvp: yeah
<Mic92>
Does nixops's secrets work with initrd secrets? I am currently looking into support initrd secrets with sops-nix, but from the looks of it /run is mounted over my secrets deployed via initrd
<Mic92>
I suppose I need a better location for initrd secrets
AlwaysLivid has joined #nixos-dev
cdepillabout has quit [Ping timeout: 246 seconds]
m1cr0man has joined #nixos-dev
__monty__ has joined #nixos-dev
madjar has joined #nixos-dev
zimbatm_ is now known as zimbatm
vcunat has joined #nixos-dev
ris has joined #nixos-dev
niksnut_ has joined #nixos-dev
alp_ has joined #nixos-dev
niksnut_ has quit [Remote host closed the connection]
niksnut has quit [Remote host closed the connection]
niksnut has joined #nixos-dev
cdepillabout has joined #nixos-dev
alp_ has quit [Ping timeout: 272 seconds]
<flokli>
I suppose we need a better concept on where to store secrets in general ;-)
<flokli>
or preserving them from initrd to regular boot.
<ryantm>
I'm not sure where to put the unstable. If it goes in the pname, then the pname doesn't match the attrpath which seems unfortunate. If you put it in the version, then the pname won't match the name returned by builtins.parseDrvName.
<ryantm>
I think it is probably better to include "unstable" in the version, but I'm open to other suggestions. I'm sad I'm not aware of official consensus on this issue.
<qyliss>
I think it should be in the version
<jtojnar>
ryantm: I started it putting at the end of the version for now
<ryantm>
Jan Tojnar: Ah, so then parseDrvName will return just "unstable" for the version?
<jtojnar>
yeah, it just needs to start with a number
<jtojnar>
ryantm: forgot to mention, there is actually second use case
<jtojnar>
when there is both stable and unstable package
<jtojnar>
and then it needs to go to name so that nix-env does not switch to unstable
<jtojnar>
when people are using stable
<jtojnar>
I really hope nix-command's nix-env replacement will not use derivation names
alp_ has joined #nixos-dev
<jtojnar>
and that nix-env will be deprecated as soon as possible
<ryantm>
Are you referring to the case where there are two top-level attrpaths one unstable and one stable?
<jtojnar>
yup
<ryantm>
Let's say we have attrpaths {package, package-unstable} then maybe pname = {package,package-unstable}, version = {"1.0","2020-10-17-unstable"}, name = {"package-1.0", "package-unstable-2020-10-17-unstable"}
<jtojnar>
yeah, duplicating it in both pname and version for those packages would work, even though slightly less elegant
<ryantm>
If that's acceptable, then the unstable in the pname is orthogonal to the version one. And we can have the rule that "the pname should match the attrpath" to cover it.
<ryantm>
Of course, we don't follow that rule for nested attrpaths.
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-dev
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-dev
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-dev
tilpner has quit [Remote host closed the connection]
<jtojnar>
yeah, that sounds good to me
tilpner has joined #nixos-dev
vcunat has quit [Quit: Leaving.]
alp_ has quit [Ping timeout: 272 seconds]
jonringer has joined #nixos-dev
alp_ has joined #nixos-dev
__Sander__ has quit [Ping timeout: 256 seconds]
lopsided98 has quit [Quit: Disconnected]
alp_ has quit [Ping timeout: 272 seconds]
lopsided98 has joined #nixos-dev
__Sander__ has joined #nixos-dev
julm has quit [Ping timeout: 256 seconds]
madjar has quit [Quit: Connection closed for inactivity]
cole-h_ is now known as cole-h
alp_ has joined #nixos-dev
julm has joined #nixos-dev
__Sander__ has quit [Quit: Konversation terminated!]
rajivr has quit [Quit: Connection closed for inactivity]
devhell has joined #nixos-dev
<devhell>
In case someone would like to merge #100073 I'd appreciate it :)