bonfire/flake.nix

27 lines
889 B
Nix
Raw Normal View History

2023-06-06 23:18:09 +05:00
{
description = "Derivation lit";
2023-06-06 23:18:09 +05:00
inputs = {
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
};
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
};
};
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
};
}