sisyphus/nixos
2023-11-19 15:37:51 +01:00
..
hosts Add printing module 2023-11-19 15:37:51 +01:00
modules [vim] Move into user config 2023-11-19 15:37:51 +01:00
modules-old [vim] Move into user config 2023-11-19 15:37:51 +01:00
overlays Add icon theme 2023-11-19 15:37:51 +01:00
secrets [ssh] Add SubGit key 2023-11-19 15:37:51 +01:00
.sops.yaml Configure secrets, configure ssh and add H4G0 2023-11-19 15:37:51 +01:00
flake.lock Update documentation 2023-11-19 15:37:51 +01:00
flake.nix Add user module 2023-11-19 15:37:51 +01:00
README.md Improve NixOS README 2023-11-19 15:37:51 +01:00

NixOS

Nix Flake configuration for my Linux machines running NixOS.

Structure

The directory structure is organized as follows:

  • flake.nix: Main entrypoint for the configuration.
  • hosts/hostname: Host-specific configuration by setting options. Each host has its own folder.
  • modules: Declarations of configuration options.
  • modules/users/username: User-specific configuration. Users are defined as modules, as they are dependent on a host machine.
  • overlays: Attribute overrides for Nix Packages.
  • secrets: Encrypted files that store sensitive information, such as SSH private keys.

Modules are a key component of NixOS. They encapsulate various configuration options, which should make it easy for you to integrate it into your specific configuration.