diff --git a/configuration.nix b/configuration.nix index a162aa4..a0145d5 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,11 +1,9 @@ { config, pkgs, + domainName, ... }: -let - domainName = "yisroelbaum.com"; -in { imports = [ # Include the results of the hardware scan. diff --git a/flake.nix b/flake.nix index e8ba059..f90fcd3 100644 --- a/flake.nix +++ b/flake.nix @@ -13,6 +13,7 @@ outputs = { self, nixpkgs, home-manager, ... }: let system = "x86_64-linux"; + domainName = "yisroelbaum.com"; in { nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { modules = [ @@ -24,6 +25,7 @@ home-manager.users.yisroel = ./home-manager/home.nix; } ]; + specialArgs = { inherit domainName; }; }; devShells."${system}".default = let pkgs = import nixpkgs { inherit system; };