!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

904 Members
184 Servers

Load older messages


SenderMessageTime
15 Dec 2023
@themountainking:matrix.org@themountainking:matrix.org joined the room.14:22:34
@themountainking:matrix.org@themountainking:matrix.org So I'm having a hard time grasping flakes and why I should start using them. I am still pretty new to nix os. 14:23:17
@themountainking:matrix.org@themountainking:matrix.orgCan someone please help me to understand?14:23:38
@janik0:matrix.org@janik0:matrix.org
In reply to @themountainking:matrix.org
So I'm having a hard time grasping flakes and why I should start using them. I am still pretty new to nix os.
they try to give you a more ore less defined api of inputs and outputs, kinda like a swagger.json for rest apis in case you are familiar but a lot more vibes and less standard. A output can be anything from a systemConfiguration, to a derivation or function. I don't know if you should start using them that's a kind hard question to answer. a lot of unofficial documentation has support and many times even better support for them because many people feel it's easier learning them. Basically anything you can do with flakes can also be done without them and for some things you need community tools like niv or npins for pinning versions.
14:34:00
@themountainking:matrix.org@themountainking:matrix.org
In reply to @janik0:matrix.org
they try to give you a more ore less defined api of inputs and outputs, kinda like a swagger.json for rest apis in case you are familiar but a lot more vibes and less standard. A output can be anything from a systemConfiguration, to a derivation or function. I don't know if you should start using them that's a kind hard question to answer. a lot of unofficial documentation has support and many times even better support for them because many people feel it's easier learning them. Basically anything you can do with flakes can also be done without them and for some things you need community tools like niv or npins for pinning versions.
Thank you for your input. I understand a little better now. Not sure if they are required for my humble use at this time. Having a solid nix config file seems to be doing the trick. I would like to dabble in impermeance once I better understand that.
14:41:46
@janik0:matrix.org@janik0:matrix.orgfyi, there is a #impermanence:nixos.org channel if you start playing with that or have more questions ^^14:42:53
@themountainking:matrix.org@themountainking:matrix.org I just like a nice simple secure OS configured to my exact specifications, use flatpaks for most of my commonly used personal apps, then virtual machines and docker containers for work. 14:42:55
@themountainking:matrix.org@themountainking:matrix.org
In reply to @janik0:matrix.org
fyi, there is a #impermanence:nixos.org channel if you start playing with that or have more questions ^^
Thanks! I'll check them out.
14:43:23
16 Dec 2023
@bryan.bennett:matrix.orgBryan
In reply to @themountainking:matrix.org
I just like a nice simple secure OS configured to my exact specifications, use flatpaks for most of my commonly used personal apps, then virtual machines and docker containers for work.
What do you find better about flatpaks over nix installed and isolated profiles? Please don't take this as an attack - I just don't quite see the appeal and am genuinely curious.
13:08:55
19 Dec 2023
@overzero:matrix.orgoverzero joined the room.07:08:56
@js:ukvly.orgJulian Stecklina (Old) changed their display name from Julian Stecklina to Julian Stecklina (Old).16:48:09
20 Dec 2023
@papojari:artemislena.eupapojari changed their display name from Anna Aurora 🏳️‍🌈🏴‍☠️🕳️ to Anna Aurora (superseded by @annaaurora:artemislena.eu).20:38:38
21 Dec 2023
@papojari:artemislena.eupapojari left the room.10:16:15
23 Dec 2023
@themountainking:matrix.org@themountainking:matrix.org
In reply to @bryan.bennett:matrix.org
What do you find better about flatpaks over nix installed and isolated profiles? Please don't take this as an attack - I just don't quite see the appeal and am genuinely curious.
Could be, because I am still new to nixos. Don't know what isolated profiles are. Aside from that the appeal of flatpaks for me are that software sources are often directly published and maintained there. With flatpaks you'll often get the most up to date versions as soon as they are released.
12:49:26
@themountainking:matrix.org@themountainking:matrix.org
In reply to @bryan.bennett:matrix.org
What do you find better about flatpaks over nix installed and isolated profiles? Please don't take this as an attack - I just don't quite see the appeal and am genuinely curious.
Could you please explain why your way is more beneficial? I'd like to understand your viewpoint.
12:50:42
@tomberek:matrix.orgtomberekflatpaks are good for encapsulation. They have a concept called runtime that are a standard set of libraries that your application builds against. But note that all of this means that your own application or library cannot be re-used by others, they have to build/bundle/distribute it because it is not a part of the blessed "runtime". In Nix there is no blessed runtime, even the dynamic linker. So we take that concept to the extreme to the point where anything you build/distribute can be reused/shared, and won't conflict with anything else either. So if you only have a concern of distributing one application, flatpak might be a better choice. Nix has made a different set of tradeoffs. profiles allow you to group together several packages into a single directory tree.22:07:24
24 Dec 2023
@f44:matrix.orgf44 joined the room.10:06:36
@jkxyz:matrix.orgjkxyz set a profile picture.18:12:55
@sam:zarn.meStarkZarn joined the room.21:18:00
25 Dec 2023
@chocolatestrawberry:matrix.org@chocolatestrawberry:matrix.org joined the room.23:48:32
26 Dec 2023
@devurandom:matrix.orgDennis changed their display name from Dennis to Dennis (7616).13:11:34
@tim:stratum0.orgdadada (they/them) changed their display name from dadada to dadada (7562).17:34:32
@tommy:datenkollektiv.netTommy changed their display name from Tommy to Tommy (DECT 2903).18:06:47
@tommy:datenkollektiv.netTommy changed their display name from Tommy (DECT 2903) to Tommy (☎️ 2903).18:39:00
27 Dec 2023
@glial:matrix.orggli.al changed their display name from gli.al to gli.al (9402).15:36:07
@glial:matrix.orggli.al changed their display name from gli.al (9402) to gli.al ☎️ 9402.15:37:31
28 Dec 2023
@jopejoe1:matrix.orgjopejoe1 (4094@epvpn) changed their display name from jopejoe1 to jopejoe1 [4094].18:08:50
30 Dec 2023
@tim:stratum0.orgdadada (they/them) changed their display name from dadada (7562) to dadada.10:47:32
@patka_123:matrix.org@patka_123:matrix.org left the room.11:48:21
@jopejoe1:matrix.orgjopejoe1 (4094@epvpn) changed their display name from jopejoe1 [4094] to jopejoe1.22:04:29

Show newer messages


Back to Room ListRoom Version: 6