Files
dotfiles/nixos/flake.nix
2026-01-27 17:38:40 +00:00

36 lines
822 B
Nix

{
description = "Trude's NixOS configuration 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 = {
TrudePC = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./configuration.nix
./hosts/TrudePC
];
};
# Add future machines here following the same pattern:
# MachineName = nixpkgs.lib.nixosSystem {
# specialArgs = { inherit inputs; };
# modules = [
# ./common.nix
# ./hosts/MachineName
# ];
# };
};
};
}