30 lines
723 B
Nix
30 lines
723 B
Nix
{
|
|
description = "My modular NixOS configuration";
|
|
|
|
inputs = {
|
|
# nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
# unstable.url = "github:NixOS/nixpkgs/nixos-unstable"
|
|
# Add other flake inputs if needed
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
...
|
|
} @ inputs: {
|
|
nixosConfigurations = {
|
|
puter = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [./hosts/puter/default.nix];
|
|
specialArgs = {inherit inputs;};
|
|
};
|
|
box = nixpkgs.lib.nixosSystem {
|
|
system = "aarch64-linux";
|
|
modules = [./hosts/box/default.nix];
|
|
specialArgs = {inherit inputs;};
|
|
};
|
|
};
|
|
};
|
|
}
|