mirror of
https://git.mediani.de/mirrors_public/oddlama_nixos-extra-modules.git
synced 2025-10-10 22:10:38 +02:00
feat: init scaffolding
This commit is contained in:
parent
d75e4f714e
commit
fd935e4d69
7 changed files with 284 additions and 0 deletions
29
README.md
Normal file
29
README.md
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue