diff --git a/lib/default.nix b/lib/default.nix index affde549..23cf85cd 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -41,7 +41,7 @@ unfree ? false, ip ? null, ephemeral ? false, - deployment_type ? "containers", # Currently used to change where secrets are searched for + deployment_type ? "containers", pkgs ? let packages = (import ./packages.nix { inherit inputs repo system unfree; }); in packages.pkgs, pkgs-unstable ? let packages = (import ./packages.nix { inherit inputs repo system unfree; }); in packages.pkgs-unstable, }: { diff --git a/nixos/containers/rdesktop/default.nix b/nixos/containers/rdesktop/default.nix index 453bef9f..6a20b98e 100644 --- a/nixos/containers/rdesktop/default.nix +++ b/nixos/containers/rdesktop/default.nix @@ -1,4 +1,4 @@ -{ inputs, outputs, theme, hostname, pkgs, desktop, username, ... }: { +{ deployment_type, inputs, outputs, theme, hostname, pkgs, desktop, username, ... }: { imports = [ ../../users/${username} ../../common/desktops/${desktop} @@ -21,7 +21,7 @@ ]; # Import home-manager - home-manager.extraSpecialArgs = { inherit inputs outputs desktop hostname username theme; }; + home-manager.extraSpecialArgs = { inherit inputs outputs desktop hostname username theme deployment_type; }; home-manager.users."${username}" = import ../../../home-manager; services.xrdp = {