2022-06-17 15:00:08 +00:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = github:NixOS/nixpkgs/release-22.05;
|
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
url = github:nix-community/home-manager/release-22.05;
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = inputs @ { self, nixpkgs, home-manager, ... }:
|
|
|
|
let
|
|
|
|
user = "mandlm";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
nixosConfigurations.nixos-vm = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = inputs;
|
2022-06-18 14:46:22 +00:00
|
|
|
modules = [
|
|
|
|
./configuration.nix
|
|
|
|
./users.nix
|
|
|
|
./machines/nixos-vm/configuration.nix
|
|
|
|
./machines/nixos-vm/hardware-configuration.nix
|
|
|
|
];
|
2022-06-18 14:16:12 +00:00
|
|
|
};
|
|
|
|
nixosConfigurations.apache = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = inputs;
|
2022-06-18 14:46:22 +00:00
|
|
|
modules = [
|
|
|
|
./configuration.nix
|
|
|
|
./users.nix
|
|
|
|
./machines/apache/configuration.nix
|
|
|
|
./machines/apache/hardware-configuration.nix
|
|
|
|
];
|
2022-06-17 15:00:08 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|