Nix flakes explained

Видео с канала @vimjoyer/videos Discord server: Donations: Enabling flakes: - commands are here Creating a flake: $ nix flake init Updating a flake: $ nix flake update Flake: ``` { description = “my epic vims collection“; inputs = { = “github:nixos/nixpkgs/nixos-unstable“; }; outputs = { self, nixpkgs }: let system = “x86_64-linux“; pkgs = .${system}; in { bob = { buildInputs = [ ]; shellHook = ’’ echo “hello mom“ ’’; }; }; } ``` (yes, I know I could push it to github, but I’m extra lazy today)
Back to Top