dotfiles/nix/flake.nix

31 lines
791 B
Nix
Raw Normal View History

2025-08-31 23:46:00 -04:00
{
description = "System flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
2025-09-14 11:52:13 -04:00
};
2025-08-31 23:46:00 -04:00
};
outputs = { self, nixpkgs, ... }@inputs: {
2025-08-31 23:46:00 -04:00
nixosConfigurations = {
mecca = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
2025-09-01 17:14:04 -04:00
specialArgs = {inherit inputs;};
modules = [
./hosts/common.nix
2025-09-01 00:32:34 -04:00
./hosts/mecca/configuration.nix
2025-09-01 01:04:40 -04:00
];
};
cantor = nixpkgs.lib.nixosSystem {
2025-08-31 23:46:00 -04:00
system = "x86_64-linux";
specialArgs = {inherit inputs;};
modules = [
./hosts/common.nix
./hosts/cantor/configuration.nix
2025-08-31 23:46:00 -04:00
];
};
};
};
}