feat: init scaffolding

This commit is contained in:
oddlama 2023-12-22 01:32:47 +01:00
parent d75e4f714e
commit fd935e4d69
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
7 changed files with 284 additions and 0 deletions

29
README.md Normal file
View file

@ -0,0 +1,29 @@
[Installation](#installation)
# 🍵 nixos-extra-modules
This repository contains extra modules for nixos that are very opinionated and mainly
useful to me and my colleagues.
## Installation
To use the extra modules, you will have to add this project to your `flake.nix`,
and import the provided main NixOS module in your hosts. Afterwards the new options
will be available.
```nix
{
inputs.extra-modules.url = "github:oddlama/extra-modules";
outputs = { self, nixpkgs, agenix, agenix-rekey }: {
# Example system configuration
nixosConfigurations.yourhostname = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
agenix.nixosModules.default
extra-modules.nixosModules.default
];
};
}
}