41 lines
612 B
Nix
41 lines
612 B
Nix
|
{
|
||
|
description = "nixos flake thing";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||
|
};
|
||
|
|
||
|
outputs = {
|
||
|
self,
|
||
|
nixpkgs,
|
||
|
...
|
||
|
}:
|
||
|
let
|
||
|
system = "x86_64-linux";
|
||
|
|
||
|
pkgs = import nixpkgs {
|
||
|
inherit system;
|
||
|
|
||
|
config = {
|
||
|
allowUnfree = true;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
in
|
||
|
{
|
||
|
nixosConfigurations = {
|
||
|
# create host aether
|
||
|
aether = nixpkgs.lib.nixosSystem {
|
||
|
specialArgs = { inherit system; };
|
||
|
|
||
|
modules = [
|
||
|
./aether/configuration.nix
|
||
|
./inscriptions/tori.nix
|
||
|
./inscriptions/overlays.nix
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
};
|
||
|
}
|