test
This commit is contained in:
parent
5ef429a846
commit
8de972365a
2 changed files with 4 additions and 3 deletions
|
@ -1,15 +1,16 @@
|
||||||
{ username, stateVersion, ... }: {
|
{ username, stateVersion, desktop, ... }: {
|
||||||
networking.firewall.allowedTCPPorts = [ 3390 ];
|
networking.firewall.allowedTCPPorts = [ 3390 ];
|
||||||
|
|
||||||
containers.rdesktop = {
|
containers.rdesktop = {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
privateNetwork = false;
|
privateNetwork = false;
|
||||||
|
specialArgs = { inherit username stateVersion desktop; };
|
||||||
config = { config, pkgs, lib, username, stateVersion, ... }: {
|
config = { config, pkgs, lib, username, stateVersion, ... }: {
|
||||||
networking.hostName = "nixos-rdesktop";
|
networking.hostName = "nixos-rdesktop";
|
||||||
system.stateVersion = stateVersion;
|
system.stateVersion = stateVersion;
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../common/desktops/xfce
|
../common/desktops/${desktop}
|
||||||
../users/${username}
|
../users/${username}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
../../common/modules/ssh-luks.nix
|
../../common/modules/ssh-luks.nix
|
||||||
../../common/services/docker.nix
|
../../common/services/docker.nix
|
||||||
../../common/services/tailscale-autoconnect.nix
|
../../common/services/tailscale-autoconnect.nix
|
||||||
../../containers/rdesktop.nix
|
../../containers/rdesktop.nix {desktop = "xfce";}
|
||||||
./disks.nix
|
./disks.nix
|
||||||
./builder.nix
|
./builder.nix
|
||||||
./wireguard.nix
|
./wireguard.nix
|
||||||
|
|
Loading…
Reference in a new issue