From b53067e38687629e8ac62f09c493d3a2ed35ae48 Mon Sep 17 00:00:00 2001 From: albertvala Date: Fri, 14 Mar 2025 09:46:56 +0100 Subject: [PATCH] priodani diakritiky --- prezentace.md | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/prezentace.md b/prezentace.md index 603861c..025601b 100644 --- a/prezentace.md +++ b/prezentace.md @@ -30,7 +30,7 @@ footer: "Albert Vala, Filip Kohout, Nix flakes & Nix command" # Nix Command -* Nove nix cli +* Nové nix cli * Flake support --- @@ -49,17 +49,17 @@ nix run nixpkgs#cowsay #New | Command | Na | | ------------ | ---------------------------------- | -| flake new | Vytvoreni flaky z template | +| flake new | Vytvoření flaky z template | | develop | Build environment shell | -| shell | temp shell s nejakym programem | -| config check | Check configu na potencialni chyby | -| run | Spusti output z flaky | +| shell | temp shell s nějakým programem | +| config check | Check configu na potenciální chyby | +| run | Spustí output z flaky | --- # Flakes -* ## Proc? +* ## Proč? * Lockfiles. * Flake inputs @@ -83,9 +83,8 @@ nix flake show github:kamadorueda/alejandra # Jak pouzit flakes na system configuraci? -* Flake je jen cast zbytek je v normalnich nix filech -* Zbytek konfigurace bere inputy z flaky. -* Neprijdeme o nic jen mame lock file a moznost flake jako inputu +* Flakes používáme jen na management input a output atributů +* Zbytek konfigurace používá inputy definované ve flake.nix --- @@ -156,11 +155,10 @@ nix flake show github:kamadorueda/alejandra * lock aktuální verze * `nix flake update` - aktualizace všech vstupů * `nix flake update [home-manager]` - aktualizace jednoho vstupu -* `nix flake show` - zobrazí flake strukturu ```nix inputs = { - nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11"; nixpkgs-current = "github:nixos/nixpkgs?ref=3058cf84bce1aba7b1820cb24319a171572217ba-dirty"; }