init
This commit is contained in:
31
flake.nix
Normal file
31
flake.nix
Normal 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";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user