minor changes
This commit is contained in:
parent
4016883770
commit
79fbdb4e1a
@ -180,7 +180,7 @@ nix flake show github:kamadorueda/alejandra
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# Nová flake
|
# Nová flake z full templatu
|
||||||
|
|
||||||
* `nix flake init --template templates#full`
|
* `nix flake init --template templates#full`
|
||||||
|
|
||||||
@ -205,7 +205,7 @@ nix flake show github:kamadorueda/alejandra
|
|||||||
|
|
||||||
# Nixos-rebuild
|
# Nixos-rebuild
|
||||||
|
|
||||||
* Je to jen bash script
|
- Je to jen bash script
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
nixos-rebuild --flake
|
nixos-rebuild --flake
|
||||||
@ -261,6 +261,7 @@ pkgs.mkShell {
|
|||||||
---
|
---
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
|
#flake.nix
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
@ -455,3 +456,6 @@ pkgs.writers.writePython3 "hello-world-python"
|
|||||||
print("Hello world!")
|
print("Hello world!")
|
||||||
''
|
''
|
||||||
```
|
```
|
||||||
|
---
|
||||||
|
|
||||||
|
# **Děkujeme za pozornost.**
|
||||||
Loading…
Reference in New Issue
Block a user