test
This commit is contained in:
parent
92b4451e9c
commit
06c2aefb47
3 changed files with 8 additions and 1 deletions
|
@ -45,6 +45,7 @@
|
|||
pkgs-unstable ? import inputs.nixpkgs-unstable
|
||||
{ inherit system; config.allowUnfree = unfree; hostPlatform = system; }
|
||||
}: {
|
||||
bindMounts = import ../nixos/containers/${hostname}/mounts.nix;
|
||||
autoStart = true;
|
||||
privateNetwork = false;
|
||||
specialArgs = { inherit pkgs pkgs-unstable hostname username desktop theme system repo unfree stateVersion tskey; };
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
../../common/desktops/${desktop}
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 3389 ];
|
||||
networking.firewall.allowedTCPPorts = [ 3389 ];:
|
||||
|
||||
services.xrdp = {
|
||||
enable = true;
|
||||
|
|
6
nixos/containers/rdesktop/mounts.nix
Normal file
6
nixos/containers/rdesktop/mounts.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ ... }: {
|
||||
"/etc/nixos/git" = {
|
||||
hostPath = "/etc/nixos/git";
|
||||
isReadOnly = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue