Nix Flakes Explained

HomeOther ContentNix Flakes Explained
Nix Flakes Explained
Nix Flakes Explained
Activation of flakes:
https://nixos.wiki/wiki/Flakes – commands are here

Creating a snowflake:
nix snowflake initialization

Update a snowflake:
snowflake nix update

Flake:

{
description /"my epic vims collection/";

contributions {
nixpkgs.url /"github:nixos/nixpkgs/nixos-unstable/";
} ;

outputs { self, nixpkgs }:
to leave
system /"x86_64-linux/";
pkgs nixpkgs.legacyPackages.{system};
In
{
bob
pkgs.mkShell
{
buildInputs[
pkgs.neovim
pkgs.vim
];

shellHook ''
echo /"Hello mom/"
'';
} ;
} ;
}

(yes, I know I could push it to github, but I'm very lazy today)

Please take the opportunity to connect and share this video with your friends and family if you find it useful.

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *