/nixos-config

Open-Source Infrastructure as Code Management Solution for Multiple Systems designed to be reliable in mission-critical tasks on paranoid and high-security environment.

Primary LanguageNixEuropean Union Public License 1.2EUPL-1.2

NiXium (N/X)

Nix-based Open-Source Infrastructure as Code (OSS IaaC) Management Solution for Multiple Systems designed to be reliable tool for mission-critical tasks in paranoid and high-security environment. It uses disko for filesystem management, impermanence to enforce fully declarative setup, flake-parts for flakes and home-manager for user configuration.

Directory layout

...

References

Manuals

Guides

NixOS Configs

Collection of NixOS configurations that you might find useful as a reference for your configuration:

Relevant GitHub Topic: https://github.com/topics/nixos-configuration

https://github.com/search?q=flake.homeManagerModules&type=code

GitHub repositories which use flake-parts: https://github.com/search?q=flake-parts+path%3Aflake.nix&type=code&p=3

Projects

Tips

  • To update NixOS (and other inputs) run nix flake update
    • You may also update a subset of inputs, e.g.
      nix flake lock --update-input nixpkgs --update-input home-manager
      # Or, `nix run .#update`
  • To free up disk space,
    sudo nix-env -p /nix/var/nix/profiles/system --delete-generations +2
    sudo nixos-rebuild boot