filmov
tv
Nix flakes explained

Показать описание
Enabling flakes:
Creating a flake:
$ nix flake init
Updating a flake:
$ nix flake update
Flake:
```
{
description = "my epic vims collection";
inputs = {
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
in
{
bob =
{
buildInputs = [
];
shellHook = ''
echo "hello mom"
'';
};
};
}
```
(yes, I know I could push it to github, but I'm extra lazy today)
Creating a flake:
$ nix flake init
Updating a flake:
$ nix flake update
Flake:
```
{
description = "my epic vims collection";
inputs = {
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
in
{
bob =
{
buildInputs = [
];
shellHook = ''
echo "hello mom"
'';
};
};
}
```
(yes, I know I could push it to github, but I'm extra lazy today)
Nix flakes explained
Nix Flakes - An Overview
Ultimate Nix Flakes Guide
What Are Flakes In NixOS & Why I Am Not Using Them
Nix explained from the ground up
Beginners Guide to Nix EP1: Flakes
Nix Flake Introduction for Beginners
Nix in 100 Seconds
You Should Use Flakes Right Away in NixOS!
Nix Flakes are your friend
Matthew Croughan - Use flake.nix, not Dockerfile - MCH2022
Nix Functions Explained | NixOS & Flakes Functions
How I use Nix everywhere
Ultimate NixOS Guide | Flakes | Home-manager
Why I'm Ditching Nix Home Manager - And What I'm Using Instead
Nix: Flakes
Nix is my favorite package manager to use on macOS
The simplest guide to nix flakes and home-manager
Move your NixOS into a Flake!
NixOS Setup Guide - Configuration / Home-Manager / Flakes
What are Nix Flakes?
Getting Started with Nix
Nix Darwin Turned My Mac into a Fully Automated Machine
Intro to Flakes
Комментарии