22
0
mirror of https://github.com/SuperSandro2000/nixos-modules.git synced 2024-05-29 04:20:47 +02:00
mirror incase github.com is down
Go to file
2024-01-08 00:40:25 +01:00
.github/workflows Add docs 2024-01-08 00:40:04 +01:00
lib Add docs 2024-01-08 00:40:04 +01:00
modules ldap: fix defaults of options 2024-01-08 00:40:25 +01:00
flake.lock Add docs 2024-01-08 00:40:04 +01:00
flake.nix Add docs 2024-01-08 00:40:04 +01:00
LICENSE Initial commit 2022-12-20 01:48:50 +01:00
README.md Cleanup readme 2023-12-20 02:09:57 +01:00

NixOS Modules

Opinionated, shared NixOS configurations.

Usage

Add or merge the following settings to your flake.nix:

{
  inputs = {
    nixos-modules.url = "github:SuperSandro2000/nixos-modules";
  };

  outputs = { nixos-modules }: {
    nixosConfigurations.HOSTNAME = {
      modules = [
       nixos-modules.nixosModule
    ];
  };
}

Design

  • Modules should never change the configuration without setting an option
  • Unless the global overwrite opinionatedDefaults = true is set which activates most settings.

Similar projects