os/flake.nix
2024-07-01 23:04:26 +02:00

46 lines
1.2 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;};}
];
home-manager.users.steph = import ./home.nix;
home-manager.extraSpecialArgs = { 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;};}
];
home-manager.users.steph = import ./home.nix;
home-manager.extraSpecialArgs = { inherit inputs ; };
}];
};
};
}