This commit is contained in:
2025-07-23 16:47:48 +03:00
commit 349c65ed1f
22 changed files with 1032 additions and 0 deletions

31
flake.nix Normal file
View File

@@ -0,0 +1,31 @@
{
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";
}
];
};
};
};
}