text
stringlengths
7
369
[1686.04 --> 1687.20] in there for firewall stuff.
[1687.44 --> 1689.20] It's a lot like Docker Compose,
[1689.42 --> 1691.90] but for your entire OS.
[1692.74 --> 1695.26] It's honestly how Linux should be.
[1695.26 --> 1696.14] For a lot,
[1696.22 --> 1697.38] for basically every use
[1697.38 --> 1698.22] except for the desktop,
[1698.74 --> 1699.88] this is how Linux should work.
[1700.08 --> 1701.52] For every container,
[1701.94 --> 1702.86] for every server,
[1703.26 --> 1704.86] for every IoT device out there,
[1705.10 --> 1706.32] for any system out there,
[1706.34 --> 1706.92] and I'm telling you this
[1706.92 --> 1707.86] as somebody who's used Linux
[1707.86 --> 1709.14] for probably almost 25 years,
[1709.52 --> 1710.72] this is how Linux
[1710.72 --> 1712.16] should have worked forever.
[1712.58 --> 1713.42] Now, Nix has actually been around
[1713.42 --> 1713.92] for a little while.
[1714.04 --> 1714.88] I'm just finally getting around
[1714.88 --> 1715.28] to try it.
[1715.72 --> 1716.74] And so what I have discovered,
[1716.88 --> 1717.04] Alex,
[1717.04 --> 1717.84] while using Nix
[1717.84 --> 1718.90] is if you can use
[1718.90 --> 1720.10] the Nix package manager
[1720.10 --> 1721.44] to install stuff
[1721.44 --> 1722.28] and manage stuff,
[1722.72 --> 1724.82] you've essentially documented
[1724.82 --> 1725.66] your entire system
[1725.66 --> 1726.58] with the config file
[1726.58 --> 1727.74] and made it reproducible.
[1727.94 --> 1728.78] So anytime you could
[1728.78 --> 1729.96] deploy Home Assistant
[1729.96 --> 1731.42] through the config file
[1731.42 --> 1733.44] or a sync thing
[1733.44 --> 1734.34] or Plex
[1734.34 --> 1735.52] or whatever,
[1736.12 --> 1736.86] you can essentially
[1736.86 --> 1737.56] run a command
[1737.56 --> 1738.66] on another box
[1738.66 --> 1739.28] and rebuild
[1739.28 --> 1739.72] and recreate
[1739.72 --> 1740.66] that entire system
[1740.66 --> 1742.64] to exactly how you had it.
[1743.64 --> 1744.78] And you can do that
[1744.78 --> 1745.78] in a rolling way.
[1745.78 --> 1747.64] So what happens
[1747.64 --> 1749.58] when something isn't
[1749.58 --> 1751.36] in the Nix way,
[1751.52 --> 1752.42] the Nix ethos?
[1753.22 --> 1754.26] Yeah, like an example
[1754.26 --> 1754.98] of this actually
[1754.98 --> 1756.54] is paperless NGX.
[1756.72 --> 1757.42] Like I don't think
[1757.42 --> 1759.02] that's been packaged up yet,
[1759.14 --> 1759.36] right?
[1760.00 --> 1761.38] You can totally do
[1761.38 --> 1762.26] containers in Nix.
[1762.66 --> 1763.52] Like totally.
[1763.74 --> 1764.78] It is great for that.
[1764.86 --> 1766.30] It's great as a container base
[1766.30 --> 1767.02] and it is great
[1767.02 --> 1768.08] as a container host.
[1769.04 --> 1770.74] And you can do Podman
[1770.74 --> 1771.40] and Docker
[1771.40 --> 1772.26] on the same system
[1772.26 --> 1773.10] at the same time.
[1773.24 --> 1774.42] Like it's really powerful.
[1774.42 --> 1776.40] And I think
[1776.40 --> 1777.02] a lot of listeners
[1777.02 --> 1778.08] that are hearing me
[1778.08 --> 1778.40] right now
[1778.40 --> 1779.14] are probably thinking,
[1779.28 --> 1779.64] no, Chris,
[1779.72 --> 1781.06] just run the container
[1781.06 --> 1781.80] on Nix OS.
[1782.26 --> 1783.74] It's so much easier.
[1784.06 --> 1785.16] And that may actually
[1785.16 --> 1786.32] ultimately be the way I go.
[1787.30 --> 1788.74] I may still end up
[1788.74 --> 1789.60] running a few things
[1789.60 --> 1790.16] in containers,
[1790.16 --> 1791.66] but what I have realized
[1791.66 --> 1794.16] is the benefit
[1794.16 --> 1796.16] of the way Nix
[1796.16 --> 1797.78] manages everything
[1797.78 --> 1799.58] is that I can come back
[1799.58 --> 1800.30] to a system
[1800.30 --> 1802.34] five years later
[1802.34 --> 1804.16] and not only will it be
[1804.16 --> 1805.18] fully up to date.
[1805.60 --> 1806.66] But if it just has
[1806.66 --> 1807.38] any problems,
[1807.74 --> 1809.04] A, super easy to roll back
[1809.04 --> 1810.20] and B, super easy
[1810.20 --> 1810.70] to reproduce.
[1811.36 --> 1812.78] Just like, done.
[1813.46 --> 1814.92] How often do you do that though?
[1815.36 --> 1816.84] Five years is your example.