42 lines
829 B
Markdown
42 lines
829 B
Markdown
# Description
|
|
|
|
set of nixos modules to set better (opinionated) defaults
|
|
|
|
# Usage
|
|
|
|
You could clone this repo into /etc/nixos and add a submodule.
|
|
Or, add it as a flake input.
|
|
|
|
## Example flake
|
|
|
|
```nix
|
|
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
nixowos = {
|
|
url = "git+https://git.federated.nexus/electria/nixowos";
|
|
flake = false;
|
|
};
|
|
};
|
|
outputs =
|
|
inputs:
|
|
{
|
|
# NOTE: 'nixos' is the default hostname
|
|
nixosConfigurations.nixos = inputs.nixpkgs.lib.nixosSystem {
|
|
modules = [
|
|
./configuration.nix
|
|
./hardware-configuration.nix
|
|
|
|
inputs.nixowos.outPath
|
|
{
|
|
nixowos = {
|
|
defaults.enable = true;
|
|
allowAddingPackages = true;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|
|
```
|