chore: nixos → mynixos; urls changed
This commit is contained in:
parent
a584a970a0
commit
8f52ef9499
1 changed files with 11 additions and 18 deletions
29
README.md
29
README.md
|
@ -1,10 +1,8 @@
|
|||
[Installation](#installation)
|
||||
|
||||
# 🍵 nixos-extra-modules
|
||||
# 🍵 mynixos-extra-modules
|
||||
|
||||
This repository contains extra modules for nixos that are very opinionated and mainly
|
||||
useful to me and my colleagues. All modules in here are opt-in, so nothing will
|
||||
be changed unless you decide you want to use that specific module.
|
||||
This repository contains extra modules for `mynixos` that are very opinionated and mainly useful to me and my colleagues. All modules in here are opt-in, so nothing will be changed unless you decide you want to use that specific module.
|
||||
|
||||
## Overview
|
||||
|
||||
|
@ -31,12 +29,9 @@ Wallpapers | Module | [Link](./hm-modules/wallpapers.nix) | - | - | A simple wal
|
|||
|
||||
## 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.
|
||||
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.
|
||||
|
||||
Certain modules may require the use of additional flakes. In particular
|
||||
depending on the modules you want to use, you might need:
|
||||
Certain modules may require the use of additional flakes. In particular depending on the modules you want to use, you might need:
|
||||
|
||||
- [agenix](https://github.com/ryantm/agenix)
|
||||
- [agenix-rekey](https://github.com/oddlama/agenix-rekey)
|
||||
|
@ -45,13 +40,9 @@ depending on the modules you want to use, you might need:
|
|||
- [impermanence](https://github.com/nix-community/impermanence)
|
||||
- [microvm.nix](https://github.com/astro/microvm.nix)
|
||||
|
||||
You also must have a `specialArgs.inputs` that refers to all of your flake's inputs,
|
||||
and `inputs.self.pkgs.${system}` must refer to an initialized package set for that
|
||||
specific system that includes extra-modules as an overlay.
|
||||
You also must have a `specialArgs.inputs` that refers to all of your flake's inputs, and `inputs.self.pkgs.${system}` must refer to an initialized package set for that specific system that includes extra-modules as an overlay.
|
||||
|
||||
All cross-node configuration modules (like wireguard) require you to expose
|
||||
all relevant nodes in your flake as `inputs.self.nodes`, so their configuration
|
||||
can be accessed by other nodes.
|
||||
All cross-node configuration modules (like wireguard) require you to expose all relevant nodes in your flake as `inputs.self.nodes`, so their configuration can be accessed by other nodes.
|
||||
|
||||
Here's an example configuration:
|
||||
|
||||
|
@ -60,13 +51,14 @@ Here's an example configuration:
|
|||
inputs = {
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
|
||||
# TODO: "nixos-extra-modules" → "mynixos-extra-modules"?
|
||||
nixos-extra-modules = {
|
||||
url = "github:oddlama/nixos-extra-modules";
|
||||
url = "git+ssh://git@git.mediani.de/sokai/mynixos-extra-modules";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.flake-utils.follows = "flake-utils";
|
||||
};
|
||||
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
nixpkgs.url = "git+ssh://git@git.mediani.de/mirrors/NixOS_nixpkgs?ref=nixos-25.05";
|
||||
|
||||
# Additional inputs, may or may not be needed for a particular module or extension.
|
||||
# Enable what you use.
|
||||
|
@ -110,7 +102,7 @@ Here's an example configuration:
|
|||
...
|
||||
} @ inputs: {
|
||||
# Example system configuration
|
||||
nixosConfigurations.yourhostname = let
|
||||
nixosConfigurations.myhostname = let
|
||||
system = "x86_64-linux";
|
||||
pkgs = self.pkgs.${system};
|
||||
in nixpkgs.lib.nixosSystem {
|
||||
|
@ -153,3 +145,4 @@ Here's an example configuration:
|
|||
}
|
||||
}
|
||||
```
|
||||
… or have a look [@`oddlama/nix-config`](https://github.com/oddlama/nix-config) <3 :)
|
Loading…
Add table
Add a link
Reference in a new issue