NixOS-95/example/default/flake.nix
gytic c0bd1bd615 docs(example): add example configuration
added both a home-manager and 'minimal configuration'.
They can be built and testet in this repo via:
- nixos-generate-config --dir example/default # or example/home-manager
- nix build path:./example/default#nixosConfigurations.default.config.system.build.toplevel # or path:./example/home-manager#...

the flake.lock and hardeware-configuration is ignored to prevent accidental commitment of the hardware-configuration (and get the freshes packages when somebody might use these configs as templates
2025-08-24 09:26:57 +02:00

25 lines
521 B
Nix

{
description = "Nixos95 example configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nixos95 = {
url = "github:Peritia-System/NixOS-95";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, nixos95, ... }: {
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
system = "x84_64-linux";
modules = [
nixos95.nixosModules.default
./configuration.nix
./hardware-configuration.nix
];
};
};
}