triklsbg / alapshin_nixos-config

A fork of alapshin's NixOS config.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NixOS configuration done using flakes

Installation

  1. Boot into 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

  • 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

Projects used in this configuration

  1. home-manager - user environment management
  2. diskio - declarative disk partitioning
  3. sops-nix - secrect managment based on sops
  4. lanzaboote - secure boot support
  5. nixos-anywhere - NixOS provisioning via SSH

About

A fork of alapshin's NixOS config.


Languages

Language:Shell 50.2%Language:Nix 42.9%Language:Lua 6.6%Language:Vim Script 0.1%Language:CSS 0.1%Language:Perl 0.0%