32 lines
734 B
Nix
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";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|