NixOS module intended to be used by people regularly visiting C3D2 and wanting to stream audio, have a filled known_host's file, etc
Go to file
2023-01-04 21:08:57 +01:00
modules Don't turn on audio streaming when opinionated settings are on 2023-01-03 05:37:17 +01:00
flake.lock Initial commit 2023-01-03 05:23:29 +01:00
flake.nix Automatically import nixos-modules to get the libS input, fix flake check 2023-01-04 20:57:58 +01:00
README.md README: fix link 2023-01-04 21:08:57 +01:00

C3D2 NixOS user module

NixOS module intended to be used by people regularly visiting C3D2 and wanting to stream audio, have a filled known_host's file, etc.

Usage

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

{
  inputs = {
    c3d2-user-module.url = "git+https://gitea.c3d2.de/C3D2/nix-user-module.git";
  };

  outputs = { c3d2-user-module }: {
    nixosConfigurations.HOSTNAME = {
      modules = [
       c3d2-user-module.nixosModule
    ];
  };
}

Design

  • Modules should never change the configuration without setting an option

Structure

This is based on sandro's nixos-modules and follows the same structure and design.