2023-06-06 23:18:09 +05:00
|
|
|
{
|
2023-12-15 12:40:04 +05:00
|
|
|
description = "Derivation lit";
|
2023-06-06 23:18:09 +05:00
|
|
|
|
|
|
|
inputs = {
|
2023-12-15 12:40:04 +05:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; };
|
|
|
|
cachix = { url = "github:cachix/devenv/v0.6.3"; inputs.nixpkgs.follows = "nixpkgs"; };
|
2023-06-06 23:18:09 +05:00
|
|
|
};
|
|
|
|
|
2023-12-15 12:40:04 +05:00
|
|
|
outputs = inputs @ { self, nixpkgs, home-manager, ... }: {
|
|
|
|
nixosConfigurations = {
|
|
|
|
astora = with nixpkgs; lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [ home-manager.nixosModules.home-manager ./nixosConfigurations/astora ./nixosModules/bonfire.nix ];
|
2023-06-06 23:18:09 +05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-12-15 12:40:04 +05:00
|
|
|
nixosModules = {
|
|
|
|
bonfire = import ./nixosModules/bonfire.nix;
|
2023-06-06 23:18:09 +05:00
|
|
|
};
|
2023-12-15 16:08:32 +05:00
|
|
|
|
|
|
|
templates = {
|
|
|
|
rust = { path = ./templates/rust; description = "Basic Rust template"; };
|
|
|
|
};
|
2023-06-06 23:18:09 +05:00
|
|
|
};
|
|
|
|
}
|