nixos-config/flake.nix

40 lines
1 KiB
Nix

{
description = "Nimmo's NixOS Configurations";
inputs = {
# 1. Official NixOS Unstable (Required for Strix Point/RTX 5070 hardware support)
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# 2. Antigravity (Google) - Custom Flake
antigravity.url = "github:jacopone/antigravity-nix";
antigravity.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, ... }@inputs: {
nixosConfigurations = {
# =======================
# 1. ELECTRA (Main Laptop)
# =======================
electra = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/electra/default.nix
];
};
# =======================
# 2. LENA (Secondary Laptop)
# =======================
lena = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/lena/default.nix
];
};
};
};
}