mirror of
https://github.com/SuperSandro2000/nixos-modules.git
synced 2024-06-10 10:14:06 +02:00
650 B
650 B
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.