23
0
mirror of https://github.com/NuschtOS/nixos-modules.git synced 2024-09-13 13:00:08 +02:00
mirror incase github.com is down
Go to file
dependabot[bot] 8d4fee195a
build(deps): bump cachix/install-nix-action from V27 to 28 (#86)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from V27 to 28. This release includes the previously tagged commit.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/V27...V28)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-13 08:28:21 +02:00
.github build(deps): bump cachix/install-nix-action from V27 to 28 (#86) 2024-09-13 08:28:21 +02:00
lib Add debugging shell/module (#31) 2024-06-28 19:11:17 +02:00
modules nix: don't duplicate git/gitMinimal (#84) 2024-09-10 07:55:47 +02:00
.editorconfig upstream merge template repository (#38) 2024-07-01 11:05:05 +02:00
flake.lock flake.lock: Update (#81) 2024-09-08 09:31:27 +02:00
flake.nix Use nuschtpkgs 2024-06-28 21:16:45 +02:00
LICENSE Copy template files (#33) 2024-06-28 22:25:12 +02:00
README.md Update tag line (#69) 2024-08-08 17:30:48 +02:00

NixOS Modules

Opinionated, integrated and shared NixOS modules

Usage

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

{
  inputs = {
    nixpkgs.url = "github:NuschtOS/nuschtpkgs/nixos-unstable";
    nixos-modules = {
      url = "github:NuschtOS/nixos-modules";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

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

If your nixpkgs input is named differently, update the follows to your name accordingly.

By using nixos-modules.nixosModule, all available modules are imported. It is also possible to only import a subset of modules. Under nixos-modules.nixosModules.<name> we expose all modules available in the modules directory.

Note

Sometimes we use options from yet-to-be-merged Nixpkgs pull requests. We offer a nixpkgs fork named nüschtpkgs to close that gap. We offer the latest stable branch and unstable and it is daily rebased.

Design

  • Modules should never change the configuration without setting an option
  • Unless the global overwrite opinionatedDefaults = true is set which activates most settings. Unless you know what you are doing, you shouldn't really set this option.

Similar projects