mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
nixos: remove references to the xorg namespace
this only creates the usual nixos module rebuilds
This commit is contained in:
@@ -57,7 +57,7 @@ let
|
||||
inherit (lib.strings) toJSON;
|
||||
|
||||
cfg = config.systemd;
|
||||
lndir = "${pkgs.buildPackages.xorg.lndir}/bin/lndir";
|
||||
lndir = "${pkgs.buildPackages.lndir}/bin/lndir";
|
||||
systemd = cfg.package;
|
||||
in
|
||||
rec {
|
||||
|
||||
@@ -12,15 +12,16 @@ let
|
||||
{
|
||||
runCommand,
|
||||
gzip,
|
||||
xorg,
|
||||
font-alias,
|
||||
mkfontscale,
|
||||
}:
|
||||
runCommand "X11-fonts"
|
||||
{
|
||||
preferLocalBuild = true;
|
||||
nativeBuildInputs = [
|
||||
gzip
|
||||
xorg.mkfontscale
|
||||
xorg.mkfontdir
|
||||
mkfontscale
|
||||
mkfontscale
|
||||
];
|
||||
}
|
||||
''
|
||||
@@ -34,7 +35,7 @@ let
|
||||
''}
|
||||
mkfontscale
|
||||
mkfontdir
|
||||
cat $(find ${pkgs.xorg.fontalias}/ -name fonts.alias) >fonts.alias
|
||||
cat $(find ${pkgs.font-alias}/ -name fonts.alias) >fonts.alias
|
||||
''
|
||||
) { };
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ in
|
||||
|
||||
# make the device available
|
||||
services.xserver.displayManager.sessionCommands = ''
|
||||
${lib.getBin pkgs.xorg.xrandr}/bin/xrandr --setprovideroutputsource 1 0
|
||||
${lib.getBin pkgs.xrandr}/bin/xrandr --setprovideroutputsource 1 0
|
||||
'';
|
||||
|
||||
# Those are taken from displaylink-installer.sh and from Arch Linux AUR package.
|
||||
|
||||
@@ -488,7 +488,7 @@ in
|
||||
lib.optional primeEnabled {
|
||||
name = igpuDriver;
|
||||
display = offloadCfg.enable;
|
||||
modules = lib.optional (igpuDriver == "amdgpu") pkgs.xorg.xf86videoamdgpu;
|
||||
modules = lib.optional (igpuDriver == "amdgpu") pkgs.xf86-video-amdgpu;
|
||||
deviceSection = ''
|
||||
BusID "${igpuBusId}"
|
||||
''
|
||||
@@ -538,7 +538,7 @@ in
|
||||
gpuProviderName =
|
||||
if igpuDriver == "amdgpu" then
|
||||
# find the name of the provider if amdgpu
|
||||
"`${lib.getExe pkgs.xorg.xrandr} --listproviders | ${lib.getExe pkgs.gnugrep} -i AMD | ${lib.getExe pkgs.gnused} -n 's/^.*name://p'`"
|
||||
"`${lib.getExe pkgs.xrandr} --listproviders | ${lib.getExe pkgs.gnugrep} -i AMD | ${lib.getExe pkgs.gnused} -n 's/^.*name://p'`"
|
||||
else
|
||||
igpuDriver;
|
||||
providerCmdParams =
|
||||
@@ -548,8 +548,8 @@ in
|
||||
(syncCfg.enable || (reverseSyncCfg.enable && reverseSyncCfg.setupCommands.enable))
|
||||
''
|
||||
# Added by nvidia configuration module for Optimus/PRIME.
|
||||
${lib.getExe pkgs.xorg.xrandr} --setprovideroutputsource ${providerCmdParams}
|
||||
${lib.getExe pkgs.xorg.xrandr} --auto
|
||||
${lib.getExe pkgs.xrandr} --setprovideroutputsource ${providerCmdParams}
|
||||
${lib.getExe pkgs.xrandr} --auto
|
||||
'';
|
||||
|
||||
environment.etc = {
|
||||
|
||||
@@ -356,7 +356,7 @@ in
|
||||
"GlobalKnownHostsFile ${builtins.concatStringsSep " " knownHostsFiles}"
|
||||
]
|
||||
++ lib.optional (!config.networking.enableIPv6) "AddressFamily inet"
|
||||
++ lib.optional cfg.setXAuthLocation "XAuthLocation ${pkgs.xorg.xauth}/bin/xauth"
|
||||
++ lib.optional cfg.setXAuthLocation "XAuthLocation ${pkgs.xauth}/bin/xauth"
|
||||
++ lib.optional (cfg.forwardX11 != null) "ForwardX11 ${lib.boolToYesNo cfg.forwardX11}"
|
||||
++ lib.optional (
|
||||
cfg.pubkeyAcceptedKeyTypes != [ ]
|
||||
|
||||
@@ -1418,7 +1418,7 @@ let
|
||||
control = "optional";
|
||||
modulePath = "${package}/lib/security/pam_xauth.so";
|
||||
settings = {
|
||||
xauthpath = "${pkgs.xorg.xauth}/bin/xauth";
|
||||
xauthpath = "${pkgs.xauth}/bin/xauth";
|
||||
systemuser = 99;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -29,10 +29,10 @@ let
|
||||
done
|
||||
|
||||
if test -d ${pkg}/share/xsessions; then
|
||||
${pkgs.buildPackages.xorg.lndir}/bin/lndir ${pkg}/share/xsessions $out/share/xsessions
|
||||
${pkgs.buildPackages.lndir}/bin/lndir ${pkg}/share/xsessions $out/share/xsessions
|
||||
fi
|
||||
if test -d ${pkg}/share/wayland-sessions; then
|
||||
${pkgs.buildPackages.xorg.lndir}/bin/lndir ${pkg}/share/wayland-sessions $out/share/wayland-sessions
|
||||
${pkgs.buildPackages.lndir}/bin/lndir ${pkg}/share/wayland-sessions $out/share/wayland-sessions
|
||||
fi
|
||||
'') cfg.sessionPackages}
|
||||
'';
|
||||
|
||||
@@ -87,8 +87,8 @@ in
|
||||
system_shell = lib.mkDefault "${pkgs.bash}/bin/bash";
|
||||
initial_path = lib.mkDefault "/run/current-system/sw/bin";
|
||||
x11 = {
|
||||
xauth_path = lib.mkDefault "${pkgs.xorg.xauth}/bin/xauth";
|
||||
xserver_path = lib.mkDefault "${pkgs.xorg.xorgserver}/bin/X";
|
||||
xauth_path = lib.mkDefault "${pkgs.xauth}/bin/xauth";
|
||||
xserver_path = lib.mkDefault "${pkgs.xorg-server}/bin/X";
|
||||
xsessions_path = lib.mkDefault "${desktops}/share/xsessions";
|
||||
xsetup_path = lib.mkDefault config.services.displayManager.sessionData.wrapper;
|
||||
};
|
||||
|
||||
@@ -42,7 +42,7 @@ let
|
||||
term_restore_cursor_cmd = "${pkgs.ncurses}/bin/tput cnorm";
|
||||
waylandsessions = "${dmcfg.sessionData.desktops}/share/wayland-sessions";
|
||||
xsessions = "${dmcfg.sessionData.desktops}/share/xsessions";
|
||||
xauth_cmd = lib.optionalString xcfg.enable "${pkgs.xorg.xauth}/bin/xauth";
|
||||
xauth_cmd = lib.optionalString xcfg.enable "${pkgs.xauth}/bin/xauth";
|
||||
x_cmd = lib.optionalString xcfg.enable xserverWrapper;
|
||||
setup_cmd = dmcfg.sessionData.wrapper;
|
||||
brightness_up_cmd = "${lib.getExe pkgs.brightnessctl} -q -n s +10%";
|
||||
|
||||
@@ -96,10 +96,10 @@ let
|
||||
// optionalAttrs xcfg.enable {
|
||||
X11 = {
|
||||
ServerPath = toString xserverWrapper;
|
||||
XephyrPath = "${pkgs.xorg.xorgserver.out}/bin/Xephyr";
|
||||
XephyrPath = "${pkgs.xorg-server.out}/bin/Xephyr";
|
||||
SessionCommand = toString dmcfg.sessionData.wrapper;
|
||||
SessionDir = "${dmcfg.sessionData.desktops}/share/xsessions";
|
||||
XauthPath = "${pkgs.xorg.xauth}/bin/xauth";
|
||||
XauthPath = "${pkgs.xauth}/bin/xauth";
|
||||
DisplayCommand = toString Xsetup;
|
||||
DisplayStopCommand = toString Xstop;
|
||||
EnableHiDPI = cfg.enableHidpi;
|
||||
|
||||
@@ -437,10 +437,10 @@ in
|
||||
})
|
||||
|
||||
(lib.mkIf (cfg.enable && config.services.xserver.enable) {
|
||||
services.xserver.modules = [ pkgs.xorg.xf86inputlibinput ];
|
||||
services.xserver.modules = [ pkgs.xf86-input-libinput ];
|
||||
|
||||
# for man pages
|
||||
environment.systemPackages = [ pkgs.xorg.xf86inputlibinput ];
|
||||
environment.systemPackages = [ pkgs.xf86-input-libinput ];
|
||||
|
||||
environment.etc =
|
||||
let
|
||||
@@ -448,7 +448,7 @@ in
|
||||
in
|
||||
{
|
||||
${cfgPath} = {
|
||||
source = pkgs.xorg.xf86inputlibinput.out + "/share/" + cfgPath;
|
||||
source = pkgs.xf86-input-libinput.out + "/share/" + cfgPath;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -327,7 +327,7 @@ in
|
||||
echo "Unknown profle: $AUTORANDR_CURRENT_PROFILE"
|
||||
exit 1
|
||||
esac
|
||||
echo "Xft.dpi: $DPI" | ''${pkgs.xorg.xrdb}/bin/xrdb -merge
|
||||
echo "Xft.dpi: $DPI" | ''${pkgs.xrdb}/bin/xrdb -merge
|
||||
''';
|
||||
};
|
||||
}
|
||||
|
||||
@@ -85,7 +85,10 @@ let
|
||||
fi
|
||||
'';
|
||||
provisionConfDir =
|
||||
pkgs.runCommand "grafana-provisioning" { nativeBuildInputs = [ pkgs.xorg.lndir ]; }
|
||||
pkgs.runCommand "grafana-provisioning"
|
||||
{
|
||||
nativeBuildInputs = [ pkgs.lndir ];
|
||||
}
|
||||
''
|
||||
mkdir -p $out/{alerting,datasources,dashboards,plugins}
|
||||
${ln {
|
||||
|
||||
@@ -57,7 +57,7 @@ let
|
||||
|
||||
$SMARTD_FULLMESSAGE
|
||||
EOF
|
||||
} | ${pkgs.xorg.xmessage}/bin/xmessage -file - 2>/dev/null &
|
||||
} | ${pkgs.xmessage}/bin/xmessage -file - 2>/dev/null &
|
||||
''}
|
||||
'';
|
||||
|
||||
|
||||
@@ -355,7 +355,7 @@ in
|
||||
|
||||
StateDirectory = "jibri";
|
||||
|
||||
ExecStart = "${pkgs.xorg.xorgserver}/bin/Xorg -nocursor -noreset +extension RANDR +extension RENDER -config ${pkgs.jibri}/etc/jitsi/jibri/xorg-video-dummy.conf -logfile /dev/null :0";
|
||||
ExecStart = "${pkgs.xorg-server}/bin/Xorg -nocursor -noreset +extension RANDR +extension RENDER -config ${pkgs.jibri}/etc/jitsi/jibri/xorg-video-dummy.conf -logfile /dev/null :0";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -831,7 +831,7 @@ in
|
||||
{ port, addr, ... }:
|
||||
"ListenAddress ${addr}${lib.optionalString (port != null) (":" + toString port)}"
|
||||
) cfg.listenAddresses
|
||||
++ lib.optional cfgc.setXAuthLocation "XAuthLocation ${lib.getExe pkgs.xorg.xauth}"
|
||||
++ lib.optional cfgc.setXAuthLocation "XAuthLocation ${lib.getExe pkgs.xauth}"
|
||||
++ lib.optional cfg.allowSFTP "Subsystem sftp ${cfg.sftpServerExecutable} ${lib.concatStringsSep " " cfg.sftpFlags}"
|
||||
++ [
|
||||
"AuthorizedKeysFile ${toString cfg.authorizedKeysFiles}"
|
||||
|
||||
@@ -165,8 +165,8 @@ in
|
||||
"L+ /usr/local/bin/cp - - - - ${coreutils}/bin/cp"
|
||||
"L+ /usr/local/bin/sed - - - - ${gnused}/bin/sed"
|
||||
"L+ /usr/local/bin/setsid - - - - ${util-linux}/bin/setsid"
|
||||
"L+ /usr/local/bin/xrandr - - - - ${xorg.xrandr}/bin/xrandr"
|
||||
"L+ /usr/local/bin/xmodmap - - - - ${xorg.xmodmap}/bin/xmodmap"
|
||||
"L+ /usr/local/bin/xrandr - - - - ${xrandr}/bin/xrandr"
|
||||
"L+ /usr/local/bin/xmodmap - - - - ${xmodmap}/bin/xmodmap"
|
||||
];
|
||||
|
||||
systemd.services.x2goserver = {
|
||||
|
||||
@@ -187,7 +187,7 @@ derivation.
|
||||
};
|
||||
nativeBuildInputs = with pkgs; [
|
||||
jq
|
||||
xorg.lndir
|
||||
lndir
|
||||
];
|
||||
passAsFile = [ "config" ];
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ in
|
||||
|
||||
extraPackages = mkOption {
|
||||
type = with types; listOf package;
|
||||
default = with pkgs.xorg; [
|
||||
default = with pkgs; [
|
||||
xclock
|
||||
bitmap
|
||||
xlsfonts
|
||||
@@ -30,7 +30,7 @@ in
|
||||
xwud
|
||||
];
|
||||
defaultText = literalExpression ''
|
||||
with pkgs.xorg; [
|
||||
with pkgs; [
|
||||
xclock bitmap xlsfonts xfd xrefresh xload xwininfo xdpyinfo xwd xwud
|
||||
]
|
||||
'';
|
||||
|
||||
@@ -61,7 +61,7 @@ in
|
||||
enlightenment.ephoto
|
||||
enlightenment.rage
|
||||
enlightenment.terminology
|
||||
xorg.xcursorthemes
|
||||
xcursor-themes
|
||||
]) config.environment.enlightenment.excludePackages;
|
||||
|
||||
environment.pathsToLink = [
|
||||
|
||||
@@ -24,7 +24,6 @@ let
|
||||
;
|
||||
|
||||
cfg = config.services.xserver;
|
||||
xorg = pkgs.xorg;
|
||||
|
||||
fontconfig = config.fonts.fontconfig;
|
||||
xresourcesXft = pkgs.writeText "Xresources-Xft" ''
|
||||
@@ -90,11 +89,11 @@ let
|
||||
''}
|
||||
|
||||
# Load X defaults. This should probably be safe on wayland too.
|
||||
${xorg.xrdb}/bin/xrdb -merge ${xresourcesXft}
|
||||
${pkgs.xrdb}/bin/xrdb -merge ${xresourcesXft}
|
||||
if test -e ~/.Xresources; then
|
||||
${xorg.xrdb}/bin/xrdb -merge ~/.Xresources
|
||||
${pkgs.xrdb}/bin/xrdb -merge ~/.Xresources
|
||||
elif test -e ~/.Xdefaults; then
|
||||
${xorg.xrdb}/bin/xrdb -merge ~/.Xdefaults
|
||||
${pkgs.xrdb}/bin/xrdb -merge ~/.Xdefaults
|
||||
fi
|
||||
|
||||
# Import environment variables into the systemd user environment.
|
||||
@@ -147,8 +146,8 @@ in
|
||||
|
||||
xauthBin = mkOption {
|
||||
internal = true;
|
||||
default = "${xorg.xauth}/bin/xauth";
|
||||
defaultText = literalExpression ''"''${pkgs.xorg.xauth}/bin/xauth"'';
|
||||
default = "${pkgs.xauth}/bin/xauth";
|
||||
defaultText = literalExpression ''"''${pkgs.xauth}/bin/xauth"'';
|
||||
description = "Path to the {command}`xauth` program used by display managers.";
|
||||
};
|
||||
|
||||
@@ -236,7 +235,7 @@ in
|
||||
config = {
|
||||
services.displayManager.sessionData.wrapper = xsessionWrapper;
|
||||
|
||||
services.xserver.displayManager.xserverBin = "${xorg.xorgserver.out}/bin/X";
|
||||
services.xserver.displayManager.xserverBin = "${pkgs.xorg-server.out}/bin/X";
|
||||
|
||||
services.xserver.displayManager.importedVariables = [
|
||||
# This is required by user units using the session bus.
|
||||
|
||||
@@ -77,7 +77,7 @@ in
|
||||
|
||||
# Implement xserverArgs via xinit's system-wide xserverrc
|
||||
environment.etc."X11/xinit/xserverrc".source = pkgs.writeShellScript "xserverrc" ''
|
||||
exec ${pkgs.xorg.xorgserver}/bin/X \
|
||||
exec ${pkgs.xorg-server}/bin/X \
|
||||
${toString config.services.xserver.displayManager.xserverArgs} "$@"
|
||||
'';
|
||||
|
||||
@@ -100,7 +100,7 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ xorg.xinit ];
|
||||
environment.systemPackages = with pkgs; [ xinit ];
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ in
|
||||
~/.config/sx/sxrc file containing session startup commands, see
|
||||
{manpage}`sx(1)`. This is not automatically generated from the desktopManager
|
||||
and windowManager settings. sx doesn't have a way to directly set
|
||||
X server flags, but it can be done by overriding its xorgserver
|
||||
X server flags, but it can be done by overriding its xorg-server
|
||||
dependency.
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -83,7 +83,7 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
xkb_patched = pkgs.xorg.xkeyboardconfig_custom {
|
||||
xkb_patched = pkgs.xkeyboard-config_custom {
|
||||
layouts = config.services.xserver.xkb.extraLayouts;
|
||||
};
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ let
|
||||
Option "TapButton2" "0"
|
||||
Option "TapButton3" "0"
|
||||
'';
|
||||
pkg = pkgs.xorg.xf86inputsynaptics;
|
||||
pkg = pkgs.xf86-input-synaptics;
|
||||
etcFile = "X11/xorg.conf.d/70-synaptics.conf";
|
||||
in
|
||||
{
|
||||
|
||||
@@ -29,11 +29,11 @@
|
||||
description = "Terminal Server";
|
||||
|
||||
path = [
|
||||
pkgs.xorg.xorgserver.out
|
||||
pkgs.xorg-server.out
|
||||
pkgs.gawk
|
||||
pkgs.which
|
||||
pkgs.openssl
|
||||
pkgs.xorg.xauth
|
||||
pkgs.xauth
|
||||
pkgs.net-tools
|
||||
pkgs.shadow
|
||||
pkgs.procps
|
||||
|
||||
@@ -28,12 +28,12 @@ in
|
||||
services.xserver.windowManager.session = singleton {
|
||||
name = "twm";
|
||||
start = ''
|
||||
${pkgs.xorg.twm}/bin/twm &
|
||||
${pkgs.tab-window-manager}/bin/twm &
|
||||
waitPID=$!
|
||||
'';
|
||||
};
|
||||
|
||||
environment.systemPackages = [ pkgs.xorg.twm ];
|
||||
environment.systemPackages = [ pkgs.tab-window-manager ];
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ let
|
||||
--set XMONAD_GHC "${xmonadEnv}/bin/ghc" \
|
||||
''
|
||||
+ ''
|
||||
--set XMONAD_XMESSAGE "${pkgs.xorg.xmessage}/bin/xmessage"
|
||||
--set XMONAD_XMESSAGE "${pkgs.xmessage}/bin/xmessage"
|
||||
''
|
||||
);
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ in
|
||||
description = "X Font Server";
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
path = [ pkgs.xorg.xfs ];
|
||||
path = [ pkgs.xfs ];
|
||||
script = "xfs -config ${configFile}";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -12,7 +12,6 @@ let
|
||||
|
||||
# Abbreviations.
|
||||
cfg = config.services.xserver;
|
||||
xorg = pkgs.xorg;
|
||||
|
||||
knownVideoDriverPackages = {
|
||||
inherit (pkgs)
|
||||
@@ -108,8 +107,8 @@ let
|
||||
# old non-fontconfig applications. (Possibly this could be done
|
||||
# better using a fontconfig rule.)
|
||||
[
|
||||
pkgs.xorg.fontadobe100dpi
|
||||
pkgs.xorg.fontadobe75dpi
|
||||
pkgs.font-adobe-100dpi
|
||||
pkgs.font-adobe-75dpi
|
||||
];
|
||||
|
||||
xrandrOptions = {
|
||||
@@ -231,7 +230,7 @@ let
|
||||
# If not running a fancy desktop environment, the cursor is likely set to
|
||||
# the default `cursor.pcf` bitmap font. This is 17px wide, so it's very
|
||||
# small and almost invisible on 4K displays.
|
||||
fontcursormisc_hidpi = pkgs.xorg.fontxfree86type1.overrideAttrs (
|
||||
fontcursormisc_hidpi = pkgs.font-xfree86-type1.overrideAttrs (
|
||||
old:
|
||||
let
|
||||
# The scaling constant is 230/96: the scalable `left_ptr` glyph at
|
||||
@@ -878,27 +877,27 @@ in
|
||||
cfgPath = "X11/xorg.conf.d/10-evdev.conf";
|
||||
in
|
||||
{
|
||||
${cfgPath}.source = xorg.xf86inputevdev.out + "/share/" + cfgPath;
|
||||
${cfgPath}.source = xf86-input-evdev.out + "/share/" + cfgPath;
|
||||
}
|
||||
);
|
||||
|
||||
environment.systemPackages =
|
||||
utils.removePackagesByName [
|
||||
xorg.xorgserver.out
|
||||
xorg.xrandr
|
||||
xorg.xrdb
|
||||
xorg.setxkbmap
|
||||
xorg.iceauth # required for KDE applications (it's called by dcopserver)
|
||||
xorg.xlsclients
|
||||
xorg.xset
|
||||
xorg.xsetroot
|
||||
xorg.xinput
|
||||
xorg.xprop
|
||||
xorg.xauth
|
||||
pkgs.xorg-server.out
|
||||
pkgs.xrandr
|
||||
pkgs.xrdb
|
||||
pkgs.setxkbmap
|
||||
pkgs.iceauth # required for KDE applications (it's called by dcopserver)
|
||||
pkgs.xlsclients
|
||||
pkgs.xset
|
||||
pkgs.xsetroot
|
||||
pkgs.xinput
|
||||
pkgs.xprop
|
||||
pkgs.xauth
|
||||
pkgs.xterm
|
||||
xorg.xf86inputevdev.out # get evdev.4 man page
|
||||
pkgs.xf86-input-evdev.out # get evdev.4 man page
|
||||
] config.services.xserver.excludePackages
|
||||
++ optional (elem "virtualbox" cfg.videoDrivers) xorg.xrefresh;
|
||||
++ optional (elem "virtualbox" cfg.videoDrivers) pkgs.xrefresh;
|
||||
|
||||
environment.pathsToLink = [ "/share/X11" ];
|
||||
|
||||
@@ -947,8 +946,8 @@ in
|
||||
++ optional cfg.terminateOnReset "-terminate";
|
||||
|
||||
services.xserver.modules = concatLists (catAttrs "modules" cfg.drivers) ++ [
|
||||
xorg.xorgserver.out
|
||||
xorg.xf86inputevdev.out
|
||||
pkgs.xorg-server.out
|
||||
pkgs.xf86-input-evdev.out
|
||||
];
|
||||
|
||||
system.checks = singleton (
|
||||
@@ -1073,7 +1072,7 @@ in
|
||||
'';
|
||||
|
||||
fonts.packages = [
|
||||
(if cfg.upscaleDefaultCursor then fontcursormisc_hidpi else pkgs.xorg.fontcursormisc)
|
||||
(if cfg.upscaleDefaultCursor then fontcursormisc_hidpi else pkgs.font-cursor-misc)
|
||||
pkgs.font-misc-misc
|
||||
pkgs.font-alias
|
||||
];
|
||||
|
||||
@@ -214,7 +214,7 @@ in
|
||||
];
|
||||
|
||||
# `xwininfo' is used by the test driver to query open windows.
|
||||
environment.systemPackages = [ pkgs.xorg.xwininfo ];
|
||||
environment.systemPackages = [ pkgs.xwininfo ];
|
||||
|
||||
# Log everything to the serial console.
|
||||
services.journald.extraConfig = ''
|
||||
|
||||
@@ -18,7 +18,6 @@ let
|
||||
types
|
||||
;
|
||||
cfg = config.virtualisation.vmware.guest;
|
||||
xf86inputvmmouse = pkgs.xorg.xf86inputvmmouse;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
@@ -94,7 +93,7 @@ in
|
||||
environment.etc.vmware-tools.source = "${cfg.package}/etc/vmware-tools/*";
|
||||
|
||||
services.xserver = mkIf (!cfg.headless) {
|
||||
modules = optionals pkgs.stdenv.hostPlatform.isx86 [ xf86inputvmmouse ];
|
||||
modules = optionals pkgs.stdenv.hostPlatform.isx86 [ pkgs.xf86-input-vmmouse ];
|
||||
|
||||
config = optionalString (pkgs.stdenv.hostPlatform.isx86) ''
|
||||
Section "InputClass"
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
docbook5
|
||||
libxml2
|
||||
docbook_xsl_ns
|
||||
xorg.lndir
|
||||
lndir
|
||||
documentation-highlighter
|
||||
perlPackages.ConfigIniFiles
|
||||
];
|
||||
|
||||
@@ -44,7 +44,7 @@ let
|
||||
stdenvNoCC
|
||||
texinfo
|
||||
unionfs-fuse
|
||||
xorg.lndir
|
||||
lndir
|
||||
|
||||
# These are used in the configure-from-userdata tests
|
||||
# for EC2. Httpd and valgrind are requested by the
|
||||
|
||||
@@ -740,7 +740,7 @@ let
|
||||
switch-to-configuration-ng
|
||||
texinfo
|
||||
unionfs-fuse
|
||||
xorg.lndir
|
||||
lndir
|
||||
shellcheck-minimal
|
||||
|
||||
# Only the out output is included here, which is what is
|
||||
|
||||
@@ -118,7 +118,7 @@ import ./make-test-python.nix (
|
||||
switch-to-configuration-ng
|
||||
texinfo
|
||||
unionfs-fuse
|
||||
xorg.lndir
|
||||
lndir
|
||||
shellcheck-minimal
|
||||
|
||||
# Only the out output is included here, which is what is
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.kitty
|
||||
pkgs.xorg.xwininfo
|
||||
pkgs.xwininfo
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ makeTest {
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
tigervnc # for Xvnc
|
||||
xorg.xwininfo
|
||||
xwininfo
|
||||
imagemagickBig # for display with working label: support
|
||||
];
|
||||
networking.firewall.allowedTCPPorts = [ 5901 ];
|
||||
|
||||
Reference in New Issue
Block a user