nixos/flake.nix

26 lines
571 B
Nix
Raw Normal View History

2024-05-08 00:45:54 +01:00
{
description = "Nixos config flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, ... }@inputs: {
nixosConfigurations = {
default = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
./hosts/default/configuration.nix
2024-05-08 02:17:44 +01:00
./nixos_modules
2024-05-08 00:45:54 +01:00
];
};
};
2024-05-08 02:17:44 +01:00
homeManagerModules.default = ./homeManager_modules;
2024-05-08 00:45:54 +01:00
};
}