mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:19:22 +08:00
try to fix xrdp
This commit is contained in:
@@ -117,9 +117,15 @@ inputs:
|
||||
};
|
||||
gamemode = { enable = true; drmDevice = 1; };
|
||||
slurm = { enable = true; cpu = { cores = 16; threads = 2; }; memoryMB = 94208; gpus."4060" = 1; };
|
||||
xrdp = { enable = true; hostname = [ "pc.chn.moe" ]; };
|
||||
xrdp =
|
||||
{
|
||||
enable = true;
|
||||
hostname = [ "pc.chn.moe" ];
|
||||
# optimise = { type = "nvidia"; nvidiaBusId = "1:0:0"; };
|
||||
};
|
||||
};
|
||||
bugs = [ "xmunet" "backlight" "amdpstate" ];
|
||||
# users.users = [ "chn" "test" ];
|
||||
};
|
||||
networking.extraHosts = "74.211.99.69 mirism.one beta.mirism.one ng01.mirism.one";
|
||||
services.colord.enable = true;
|
||||
|
||||
@@ -44,6 +44,7 @@ inputs:
|
||||
openFirewall = true;
|
||||
defaultWindowManager = "${inputs.pkgs.plasma-workspace}/bin/startplasma-x11";
|
||||
};
|
||||
environment.etc.xrdp.source = "${inputs.config.services.xrdp.package}/etc/xrdp";
|
||||
}
|
||||
(
|
||||
mkIf (xrdp.hostname != null)
|
||||
|
||||
Reference in New Issue
Block a user