Files
nix-flakes/flake.nix
2025-07-23 16:47:48 +03:00

32 lines
734 B
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
system-manager = {
url = "github:numtide/system-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, system-manager, ... }: {
systemConfigs = {
default = system-manager.lib.makeSystemConfig {
modules = [
./modules
{
nixpkgs.hostPlatform = "aarch64-linux";
}
];
};
# Add hostname-specific config so it's found immediately
omoelle = system-manager.lib.makeSystemConfig {
modules = [
./modules
{
nixpkgs.hostPlatform = "aarch64-linux";
}
];
};
};
};
}