treewide: remove xorg package set
Xorg package set removed, now aliases. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
6cee082157
commit
cbd8a72e5f
11 changed files with 13 additions and 33 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
'''
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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}";
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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}";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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 = { };
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue