os/flake.nix
Your Name a73db1b4bc a
2023-01-31 16:35:28 +01:00

38 lines
826 B
Nix

{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
home.url = "github:nix-community/home-manager/release-22.11";
home.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, home }: {
nixosConfigurations.iota = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
home.nixosModules.home-manager
{
imports = [
./configuration.nix
./hardware-configuration/iota.nix
];
}];
};
nixosConfigurations.tau = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
home.nixosModules.home-manager
{
imports = [
./configuration.nix
./hardware-configuration/tau.nix
];
}];
};
};
}