treewide: remove xorg package set

Xorg package set removed, now aliases.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2026-02-07 09:00:55 -06:00
parent 6cee082157
commit cbd8a72e5f
11 changed files with 13 additions and 33 deletions

View file

@ -224,7 +224,7 @@ in
(mkIf cfg.x11.enable {
xsession.profileExtra = ''
${pkgs.xorg.xsetroot}/bin/xsetroot -xcf ${cursorPath} ${toString cfg.size}
${lib.getExe pkgs.xsetroot} -xcf ${cursorPath} ${toString cfg.size}
'';
xresources.properties = {

View file

@ -371,7 +371,7 @@ in
exit 1
esac
echo "Xft.dpi: $DPI" | ''${pkgs.xorg.xrdb}/bin/xrdb -merge
echo "Xft.dpi: $DPI" | ''${lib.getExe pkgs.xrdb} -merge
'''
};
}

View file

@ -100,11 +100,11 @@ in
default = with pkgs; [
xdotool
coreutils
xorg.xprop
xprop
];
defaultText = literalExpression "pkgs.xdotool pkgs.coreutils pkgs.xorg.xprop";
defaultText = literalExpression "pkgs.xdotool pkgs.coreutils pkgs.xprop";
example = literalExpression ''
with pkgs; [ xdotool coreutils xorg.xprop ];
with pkgs; [ xdotool coreutils xprop ];
'';
description = ''
Extra packages needs to bring to the scope of fusuma service.

View file

@ -45,7 +45,7 @@ in
primary = true;
atomic = true;
execute_after = [
"''${pkgs.xorg.xrandr}/bin/xrandr --dpi 96"
"''${lib.getExe pkgs.xrandr} --dpi 96"
"''${pkgs.xmonad-with-packages}/bin/xmonad --restart";
];
}
@ -56,7 +56,7 @@ in
primary = true;
atomic = true;
execute_after = [
"''${pkgs.xorg.xrandr}/bin/xrandr --dpi 120"
"''${lib.getExe pkgs.xrandr} --dpi 120"
"''${pkgs.xmonad-with-packages}/bin/xmonad --restart";
];
}
@ -92,7 +92,7 @@ in
ExecStart = "${lib.getExe cfg.package} watch -v";
Restart = "always";
RestartSec = "2s";
Environment = [ "PATH=${pkgs.xorg.xrandr}/bin:${pkgs.bash}/bin" ];
Environment = [ "PATH=${pkgs.xrandr}/bin:${pkgs.bash}/bin" ];
};
Install = {

View file

@ -161,7 +161,7 @@ in
};
}
(mkIf (!cfg.xautolock.enable) {
systemd.user.services.xss-lock.Service.ExecStartPre = "${pkgs.xorg.xset}/bin/xset s ${
systemd.user.services.xss-lock.Service.ExecStartPre = "${lib.getExe pkgs.xset} s ${
toString (cfg.inactiveInterval * 60)
} ${toString cfg.xss-lock.screensaverCycle}";
})

View file

@ -31,7 +31,7 @@ let
in
"${n}: ${formatValue v}";
xrdbMerge = "${pkgs.xorg.xrdb}/bin/xrdb -merge ${cfg.path}";
xrdbMerge = "${lib.getExe pkgs.xrdb} -merge ${cfg.path}";
in
{

View file

@ -150,7 +150,7 @@ in
++ [ "-option ''" ]
++ map (v: "-option '${v}'") options;
in
"${pkgs.xorg.setxkbmap}/bin/setxkbmap ${toString args}";
"${lib.getExe pkgs.setxkbmap} ${toString args}";
};
};

View file

@ -8,16 +8,6 @@
profileExtra = "profile extra commands";
};
nixpkgs.overlays = [
(self: super: {
xorg = super.xorg // {
setxkbmap = super.xorg.setxkbmap // {
outPath = "@setxkbmap@";
};
};
})
];
nmt.script = ''
assertFileExists home-files/.xprofile
assertFileContent \

View file

@ -17,16 +17,6 @@
profileExtra = "profile extra commands";
};
nixpkgs.overlays = [
(self: super: {
xorg = super.xorg // {
setxkbmap = super.xorg.setxkbmap // {
outPath = "@setxkbmap@";
};
};
})
];
nmt.script = ''
assertFileExists home-files/.config/systemd/user/setxkbmap.service
assertFileContent \

View file

@ -2,7 +2,7 @@
WantedBy=graphical-session.target
[Service]
Environment=PATH=@coreutils@/bin:@xdotool@/bin:@xorg.xprop@/bin
Environment=PATH=@coreutils@/bin:@xdotool@/bin:@xprop@/bin
ExecStart=@fusuma@/bin/fusuma
[Unit]

View file

@ -8,7 +8,7 @@
extraPackages = [
(config.lib.test.mkStubPackage { outPath = "@coreutils@"; })
(config.lib.test.mkStubPackage { outPath = "@xdotool@"; })
(config.lib.test.mkStubPackage { outPath = "@xorg.xprop@"; })
(config.lib.test.mkStubPackage { outPath = "@xprop@"; })
];
settings = { };
};