Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
alapshin committed Sep 20, 2024
1 parent 379ef81 commit eab5246
Showing 1 changed file with 11 additions and 19 deletions.
30 changes: 11 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,18 @@
NixOS configuration done using flakes
Flake-based NixOS configs for my machines

### Installation

1. Boot into [NixOS][nixos].
2. Partion your disks.
3. Mount root partition into `/mnt`.
4. Clone this repository and `cd` into it.
5. Install using command `nixos-install --root /mnt --flake '.#XYZ'`, where `XYZ`
is hostname of machine with appropriate config.
6. Reboot.

### Structure
## Structure
* `flake.nix` - flake file
* `configuration.nix` - common configuration

* `hosts` - host specific configuration
* `users` - user specific configuration + [home-manager][hm] configuration
* `dotfiles` - Dotfiles used by home-manager
* `overlays` - Overlay definition
* `packages` - Custom packages not yet in nixpkgs
* `secrets` - Secrets managed by [sops-nix][sops-nix]
* `hosts` - host configuration
* `hosts/secrtes*` - [sops-nix] secrets
* `users` - user configuration
* `users/home` - [home-manager] configuration
* `modules` - custom NixOS modules
* `packages` - custom Nix packages
* `overlays` - overlays definition

* `dotfiles` - dotfiles to be simlinked by [home-manager]

## Projects used in this configuration
1. [home-manager] - user environment management
Expand All @@ -28,7 +21,6 @@ is hostname of machine with appropriate config.
4. [lanzaboote] - secure boot support
5. [nixos-anywhere] - NixOS provisioning via SSH

[nixos]: https://channels.nixos.org/nixos-23.05/latest-nixos-minimal-x86_64-linux.iso
[diskio]: https://github.com/nix-community/disko
[sops-nix]: https://github.com/Mic92/sops-nix
[lanzaboote]: https://github.com/nix-community/lanzaboote
Expand Down

0 comments on commit eab5246

Please sign in to comment.