os/flake.nix
2024-07-01 22:40:58 +02:00

42 lines
1.0 KiB
Nix

{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
home.url = "github:nix-community/home-manager/release-24.05";
home.inputs.nixpkgs.follows = "nixpkgs";
firefox-gnome-theme = { url = "github:rafaelmardojai/firefox-gnome-theme"; flake = false; };
};
outputs = { self, nixpkgs, home, firefox-gnome-theme }@inputs: {
nixosConfigurations.iota = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
home.nixosModules.home-manager
{
imports = [
./configuration.nix
./hardware-configuration/iota.nix
{_module.args = {inherit inputs;};}
];
}];
};
nixosConfigurations.tau = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
home.nixosModules.home-manager
{
imports = [
./configuration.nix
./hardware-configuration/tau.nix
{_module.args = {inherit inputs;};}
];
}];
};
};
}