summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/upstream/window-managers/default.nix
blob: eecadca7e2b558feaaee486b2961398915fb2dca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  imports = [
    # Replace upstream xmonad module with one that will be reloaded if changed.
    #
    # This module is intended to be upstreamed once fully tested.
    # The patch to be committed can be obtained using:
    #
    # diff -u <nixpkgs/nixos/modules/services/x11/window-managers/xmonad.nix> \
    #         <stockholm/tv/3modules/window-managers/xmonad.nix>
    #
    {
      disabledModules = [ "services/x11/window-managers/xmonad.nix" ];
      imports = [ ./xmonad.nix ];
      nixpkgs.overlays = [(self: super: {
        writers = super.writers // {
          writeHaskellBin = name: spec: with import <stockholm/lib>;
            super.writers.writeHaskellBin name (removeAttrs spec ["ghcArgs"]);
        };
      })];
    }
  ];
}