priodani diakritiky

This commit is contained in:
albertvala 2025-03-14 09:46:56 +01:00
parent 8de9dcc2be
commit b53067e386

View File

@ -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";
}