This commit is contained in:
albert 2024-03-20 14:20:57 +09:00
parent 5ef429a846
commit 8de972365a
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
2 changed files with 4 additions and 3 deletions

View file

@ -1,15 +1,16 @@
{ username, stateVersion, ... }: {
{ username, stateVersion, desktop, ... }: {
networking.firewall.allowedTCPPorts = [ 3390 ];
containers.rdesktop = {
autoStart = true;
privateNetwork = false;
specialArgs = { inherit username stateVersion desktop; };
config = { config, pkgs, lib, username, stateVersion, ... }: {
networking.hostName = "nixos-rdesktop";
system.stateVersion = stateVersion;
imports = [
../common/desktops/xfce
../common/desktops/${desktop}
../users/${username}
];

View file

@ -8,7 +8,7 @@
../../common/modules/ssh-luks.nix
../../common/services/docker.nix
../../common/services/tailscale-autoconnect.nix
../../containers/rdesktop.nix
../../containers/rdesktop.nix {desktop = "xfce";}
./disks.nix
./builder.nix
./wireguard.nix