22
0
mirror of https://github.com/SuperSandro2000/nixos-modules.git synced 2024-06-11 18:54:06 +02:00
mirror incase github.com is down
Go to file
2023-01-30 19:55:18 +01:00
lib ssh: fix knownhosts entires missing key type 2023-01-19 00:15:24 +01:00
modules Revert "zfs: stick to stable kernel" 2023-01-27 23:28:03 +01:00
flake.lock Bump 2023-01-30 19:55:18 +01:00
flake.nix Fix nixosModules not providing an attrset of modules 2023-01-09 21:48:41 +01:00
LICENSE Initial commit 2022-12-20 01:48:50 +01:00
README.md Update readme 2023-01-03 05:14:35 +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