{ description = "My OS config"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-2405.url = "github:nixos/nixpkgs/nixos-24.05"; home.url = "github:nix-community/home-manager"; home.inputs.nixpkgs.follows = "nixpkgs"; firefox-gnome-theme = { url = "github:rafaelmardojai/firefox-gnome-theme/v133"; flake = false; }; firefox-macos-theme = {url = "github:AdamXweb/WhiteSurFirefoxThemeMacOS"; flake = false; }; firefox-addons = { url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons"; inputs.nixpkgs.follows = "nixpkgs"; }; nur.url = "github:nix-community/NUR"; mac-app-util.url = "github:hraban/mac-app-util"; }; outputs = { self, nixpkgs, home, firefox-gnome-theme, firefox-addons, nur, nix-darwin, firefox-macos-theme, mac-app-util, nixpkgs-2405 }@inputs: { nixosConfigurations.iota = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ home.nixosModules.home-manager { imports = [ ./nixos.nix ./hardware-configuration/iota.nix {_module.args = {inherit inputs;};} ]; home-manager.users.steph = { imports = [ ./home.nix ./platforms/linux/home.nix ]; }; home-manager.extraSpecialArgs = { inherit inputs ; os = "linux"; }; } ]; }; nixosConfigurations.tau = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ home.nixosModules.home-manager { imports = [ ./nixos.nix ./hardware-configuration/tau.nix {_module.args = {inherit inputs;};} ]; home-manager.users.steph = { imports = [ ./home.nix ./platforms/linux/home.nix ]; }; home-manager.extraSpecialArgs = { inherit inputs ; os = "linux"; }; } ]; }; homeConfigurations.stephans = home.lib.homeManagerConfiguration rec { pkgs = nixpkgs.legacyPackages."aarch64-darwin"; extraSpecialArgs = { inherit inputs ; os = "darwin"; }; modules = [ ./home.nix ./platforms/darwin/home.nix mac-app-util.homeManagerModules.default ]; }; }; }