diff --git a/lib/default.nix b/lib/default.nix index 27747578..3c01edd5 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -73,7 +73,7 @@ type ? "default", repo ? "nixpkgs", unfree ? false - }:inputs.${repo}.lib.nixosSystem { + }: inputs.${repo}.lib.nixosSystem { specialArgs = { inherit inputs outputs desktop hostname username hmStateVersion stateVersion gpu system theme self; # Choose whether to pull from stable or unstable pkgs = import inputs.${repo} { @@ -132,8 +132,7 @@ gpu ? null, theme ? "stylix", format - }: - inputs.nixos-generators.nixosGenerate { + }: inputs.nixos-generators.nixosGenerate { specialArgs = { inherit inputs outputs desktop hostname username stateVersion hmStateVersion gpu system theme format; }; system = system; format = format; diff --git a/nixos/hosts/framework-server/containers.nix b/nixos/hosts/framework-server/containers.nix index 675f7224..509774d4 100644 --- a/nixos/hosts/framework-server/containers.nix +++ b/nixos/hosts/framework-server/containers.nix @@ -3,6 +3,6 @@ let libx = import ../../../lib {inherit self inputs outputs stateVersion hmStateVersion; }; in { containers = { - rdesktop = libx.mkContainer { container = "rdesktop"; }; + rdesktop = libx.mkContainer { container = "rdesktop"; desktop = "xfce";}; }; }