Added printing and grdp modules

This commit is contained in:
Jan-Bulthuis committed 2025-04-16 13:00:18 +02:00
1 parent a0cb0d1f44
commit 24519ceea7
3 files changed
+56

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
{ config, lib, ... }:
with lib;
{
options.modules.grdp = {
enable = mkEnableOption "grdp";
};
config = mkIf config.modules.grdp.enable {
services.gnome.gnome-remote-desktop.enable = true;
systemd.services."gnome-remote-desktop".wantedBy = [ "graphical.target" ];
networking.firewall = {
allowedTCPPorts = [ 3389 ];
allowedUDPPorts = [ 3389 ];
};
# programs.dconf.profiles.user.databases = [
# {
# settings = with lib.gvariant; {
# "org/gnome/desktop/remote-desktop/rdp" = {
# enable = true;
# view-only = false;
# };
# };
# }
# ];
};
}