34 lines
763 B
Nix
34 lines
763 B
Nix
{
|
|
description = "Nixos config 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
|
|
# ];
|
|
# };
|
|
};
|
|
};
|
|
}
|