38 lines
1.1 KiB
Nix
Executable file
38 lines
1.1 KiB
Nix
Executable file
{
|
|
description = "System flake";
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
stylix.url = "github:danth/stylix";
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
stylix.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
outputs = { self, nixpkgs, ... }@inputs: {
|
|
homeConfigurations = {
|
|
mecca = home-manager.lib.homeManagerConfiguration {
|
|
inherit pkgs;
|
|
modules = [
|
|
./hosts/common.nix
|
|
./hosts/mecca/home.nix
|
|
];
|
|
};
|
|
};
|
|
nixosConfigurations = {
|
|
mecca = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = {inherit inputs;}; modules = [
|
|
./hosts/mecca/configuration.nix
|
|
inputs.stylix.nixosModules.stylix
|
|
];
|
|
};
|
|
syntheticnexus = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = {inherit inputs;};
|
|
modules = [
|
|
./hosts/syntheticnexus/configuration.nix
|
|
inputs.stylix.nixosModules.stylix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|