mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
update README
This commit is contained in:
parent
cbb1ab3c87
commit
72820c05b5
29
README.md
29
README.md
@ -14,14 +14,23 @@ sudo nixos-rebuild -I nixos-config=yodaTux/configuration.nix switch
|
|||||||
|
|
||||||
## Install Home Manager with niv
|
## Install Home Manager with niv
|
||||||
|
|
||||||
|
niv:
|
||||||
|
|
||||||
> Easy dependency management for Nix projects.
|
> Easy dependency management for Nix projects.
|
||||||
>
|
>
|
||||||
> Nix is a very powerful tool for building code and setting up environments. niv complements it by making it easy to
|
> Nix is a very powerful tool for building code and setting up environments. niv complements it by making it easy to
|
||||||
> describe and update remote dependencies (URLs, GitHub repos, etc). It is a simple, practical alternative to Nix flakes.
|
> describe and update remote dependencies (URLs, GitHub repos, etc). It is a simple, practical alternative to Nix
|
||||||
|
> flakes.
|
||||||
>
|
>
|
||||||
> https://github.com/nmattia/niv
|
> https://github.com/nmattia/niv
|
||||||
|
|
||||||
> [Home Manager] allows declarative configuration of user specific (non global) packages and dotfiles.
|
> Niv is an easy dependency management for Nix projects with package pinning.
|
||||||
|
>
|
||||||
|
> https://github.com/mikeroyal/NixOS-Guide
|
||||||
|
|
||||||
|
Home Manager:
|
||||||
|
|
||||||
|
> [Home Manager] allows declarative configuration of user specific (non-global) packages and dotfiles.
|
||||||
>
|
>
|
||||||
> To avoid breaking users' configurations, Home Manager is released in branches corresponding to NixOS releases (
|
> To avoid breaking users' configurations, Home Manager is released in branches corresponding to NixOS releases (
|
||||||
> e.g. `release-23.05`).
|
> e.g. `release-23.05`).
|
||||||
@ -45,7 +54,7 @@ niv add nix-community/home-manager -n home-manager -b release-23.05
|
|||||||
|
|
||||||
## disko and nixos-anywhere
|
## disko and nixos-anywhere
|
||||||
|
|
||||||
* Introductive presentation: https://pad.lassul.us/cccamp-workshop
|
* Introductory presentation: https://pad.lassul.us/cccamp-workshop
|
||||||
* disko: https://github.com/nix-community/disko
|
* disko: https://github.com/nix-community/disko
|
||||||
* nixos-anywhere: https://github.com/numtide/nixos-anywhere/
|
* nixos-anywhere: https://github.com/numtide/nixos-anywhere/
|
||||||
|
|
||||||
@ -67,8 +76,10 @@ sudo nixos-generate-config --dir yodaTux
|
|||||||
|
|
||||||
* https://github.com/nix-community/home-manager/issues/284#issuecomment-531384656
|
* https://github.com/nix-community/home-manager/issues/284#issuecomment-531384656
|
||||||
* https://github.com/nix-community/home-manager/issues/284#issuecomment-1321199263
|
* https://github.com/nix-community/home-manager/issues/284#issuecomment-1321199263
|
||||||
* Search for packaged extensions: https://search.nixos.org/packages?channel=23.05&from=0&size=50&sort=relevance&type=packages&query=gnomeExtensions
|
* Search for packaged
|
||||||
* One has to re-login after changes: https://github.com/nix-community/home-manager/issues/284#issuecomment-1328269433
|
extensions: https://search.nixos.org/packages?channel=23.05&from=0&size=50&sort=relevance&type=packages&query=gnomeExtensions
|
||||||
|
* One has to re-login after
|
||||||
|
changes: https://github.com/nix-community/home-manager/issues/284#issuecomment-1328269433
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# TODO
|
# TODO
|
||||||
@ -94,17 +105,19 @@ There are two (?) theses about Nix. One is https://edolstra.github.io/pubs/phd-t
|
|||||||
### Search for options
|
### Search for options
|
||||||
|
|
||||||
* https://search.nixos.org/options?channel=23.05
|
* https://search.nixos.org/options?channel=23.05
|
||||||
* Or `man configuration.nix`
|
* Or `man configuration.nix`
|
||||||
* https://mipmip.github.io/home-manager-option-search
|
* https://mipmip.github.io/home-manager-option-search
|
||||||
* Or `man home-configuration.nix`
|
* Or `man home-configuration.nix`
|
||||||
|
|
||||||
### References
|
### References
|
||||||
|
|
||||||
Some references to websites that helped me create this repository:
|
Some references to websites that helped me create this repository:
|
||||||
|
|
||||||
* https://github.com/Misterio77/nix-starter-configs
|
* https://github.com/Misterio77/nix-starter-configs
|
||||||
|
* https://github.com/mikeroyal/NixOS-Guide#getting-started
|
||||||
|
|
||||||
## TODOs
|
## TODOs
|
||||||
|
|
||||||
* FDE remote SSH unlock: https://nixos.wiki/wiki/Remote_LUKS_Unlocking
|
* FDE remote SSH unlock: https://nixos.wiki/wiki/Remote_LUKS_Unlocking
|
||||||
* Impermanence, opt-in to persistence: https://github.com/Misterio77/nix-starter-configs/tree/main#try-opt-in-persistance
|
* Impermanence, opt-in to
|
||||||
|
persistence: https://github.com/Misterio77/nix-starter-configs/tree/main#try-opt-in-persistance
|
||||||
|
Loading…
Reference in New Issue
Block a user