Awesome
Nix flake
This repo contains declaritive configurations, with ~100% config Nixfied.
[!IMPORTANT] Authentication credentials placing in
hosts/lib.nix
. Make sure to replace'em if deploying with this repo.
with:
- layout: flake-parts
- secret management with hardware key: agenix rekey
- secure boot: lanzaboote
- root on tmpfs states keeping: impermanence
- Standalone home-manager
- Partition declare with disko
- command runner: Just
Type | Program |
---|---|
Kernel | cachyos-kernel |
Editor | helix |
WM | sway |
Bar | waybar |
Shell | fish |
Terminal | alacritty |
backup | btrbk |
Overlay & nixosModules
Contains overlay and modules of few packages,
Applying:
# flake.nix
{
inputs.oluceps.url = "github:oluceps/nixos-config";
outputs = inputs: {
nixosConfigurations.machine-name = {
# ...
modules = [
# ...
{
nixpkgs.overlays = [ inputs.oluceps.overlay ];
# packages in `pkgs` dir of this repo,
# with pname consist with dir name
environment.systemPackages =
[ pkgs.<?>
inputs.oluceps.packages.${system}.foliate ];
}
inputs.oluceps.nixosModules.default
# or any standalone module (see `nix flake show`)
];
};
};
}
References
Excellent configurations that I've learned and copied: