mirror of
https://github.com/SuperSandro2000/nixos-modules.git
synced 2024-06-17 21:35:33 +02:00
mirror incase github.com is down
Sandro Jäckel
00c021a710
Flake lock file updates: • Updated input 'nixpkgs-lib': 'github:nix-community/nixpkgs.lib/05c07c73de74725ec7efa6609011687035a92c0f' (2023-10-15) → 'github:nix-community/nixpkgs.lib/d00d4561f0601ff5aaacff6d4882513e379ca873' (2023-11-26) |
||
---|---|---|
lib | ||
modules | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md |
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.