opinionated nixos library
- Nix 100%
| defaults | ||
| LICENSES | ||
| default.nix | ||
| nvidia.nix | ||
| README.md | ||
| REUSE.toml | ||
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
{
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;
};
}
];
};
};
}