os/flake.nix

38 lines
826 B
Nix
Raw Normal View History

2022-07-20 21:00:50 +02:00
{
description = "A very basic flake";
inputs = {
2023-01-31 16:35:28 +01:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
2022-07-20 21:00:50 +02:00
2023-01-31 16:35:28 +01:00
home.url = "github:nix-community/home-manager/release-22.11";
2022-07-20 21:00:50 +02:00
home.inputs.nixpkgs.follows = "nixpkgs";
};
2023-02-02 21:57:07 +01:00
outputs = { self, nixpkgs, home }: {
2022-07-20 21:00:50 +02:00
nixosConfigurations.iota = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
home.nixosModules.home-manager
{
2022-09-18 18:16:34 +02:00
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
];
2022-07-20 21:00:50 +02:00
}];
};
};
}