dotfiles/.config/nix/flake.nix

39 lines
1.1 KiB
Nix
Raw Normal View History

2025-08-31 23:46:00 -04:00
{
description = "System flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
stylix.url = "github:danth/stylix";
2025-09-01 00:20:36 -04:00
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
2025-08-31 23:46:00 -04:00
stylix.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, ... }@inputs: {
2025-09-01 00:20:36 -04:00
homeConfigurations = {
mecca = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
2025-09-01 00:32:34 -04:00
./hosts/common.nix
./hosts/mecca/home.nix
2025-09-01 00:20:36 -04:00
];
};
};
2025-08-31 23:46:00 -04:00
nixosConfigurations = {
mecca = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {inherit inputs;}; modules = [
2025-09-01 00:32:34 -04:00
./hosts/mecca/configuration.nix
2025-08-31 23:46:00 -04:00
inputs.stylix.nixosModules.stylix
];
};
syntheticnexus = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {inherit inputs;};
modules = [
2025-09-01 00:32:34 -04:00
./hosts/syntheticnexus/configuration.nix
2025-08-31 23:46:00 -04:00
inputs.stylix.nixosModules.stylix
];
};
};
};
}