steveej-t14: keep using master's qtile

This commit is contained in:
steveej 2021-08-31 12:37:14 +02:00
parent 768ea36d85
commit da8ac33ed2
4 changed files with 21 additions and 19 deletions

View file

@ -333,7 +333,7 @@ in {
xsession = {
enable = true;
windowManager.command = "${pkgs.qtile}/bin/qtile -c ${qtileConfig}";
windowManager.command = "${pkgs.qtile}/bin/qtile start -c ${qtileConfig}";
initExtra = ''
${pkgs.xorg.xinput}/bin/xinput set-prop "ZSA Moonlander Mark I Mouse" "libinput Natural Scrolling Enabled" 1
${pkgs.autorandr}/bin/autorandr -c
@ -351,7 +351,6 @@ in {
home.packages = with pkgs; [
# X Tools/Libraries
lightdm
qtile
gnome3.networkmanagerapplet
autorandr
arandr

View file

@ -33,10 +33,11 @@ let
else
""
}
nixos-rebuild --show-trace -I nixos-config=''${NIXOS_CONFIG} ${rebuildarg} ${moreargs}
if test -L result; then
rm result
fi
nixos-rebuild --show-trace -I nixos-config=''${NIXOS_CONFIG} ${rebuildarg} ${moreargs}
'';

View file

@ -4,9 +4,11 @@ self: super:
let
nixpkgs-master = import <nixpkgs-master> { inherit (super) config; };
nixpkgs-unstable = import <channels-nixos-unstable> { inherit (super) config; };
in {
inherit nixpkgs-master;
inherit nixpkgs-unstable;
# alacritty = nixpkgs-master.alacritty;
alacritty = super.stdenv.mkDerivation {
@ -32,28 +34,27 @@ in {
# TODO: facetimehd is currfently broken (https://github.com/NixOS/nixpkgs/pull/72804)
facetimehd-firmware = super.hello;
qtile = super.qtile.overrideAttrs(oldAttrs: {
pythonPath = oldAttrs.pythonPath ++ (with self.python37Packages; [
psutil
dbus-python
pyxdg
mpd2
# python-wifi
# iwlib
dateutil
keyring
]);
});
# master is currently not compatible with the 21.05 channel
# qtile = self.nixpkgs-master.qtile.overrideAttrs(oldAttrs: {
# propagatedBuildInputs = oldAttrs.passthru.unwrapped.propagatedBuildInputs ++ (with self.python3Packages; [
# qtile = super.qtile.overrideAttrs(oldAttrs: {
# pythonPath = oldAttrs.pythonPath ++ (with self.python37Packages; [
# psutil
# dbus-python
# pyxdg
# mpd2
# # python-wifi
# # iwlib
# dateutil
# keyring
# ]);
# });
qtile = self.nixpkgs-unstable.qtile.overrideAttrs(oldAttrs: {
propagatedBuildInputs = oldAttrs.passthru.unwrapped.propagatedBuildInputs ++ (with self.python3Packages; [
# python-wifi
# iwlib
keyring
]);
});
btrbk = super.btrbk.overrideAttrs(attrs: rec {
version = "0.30.0";
src = builtins.fetchurl {