diff options
author | lassulus <lassulus@lassul.us> | 2021-02-03 23:18:38 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-02-03 23:18:38 +0100 |
commit | 0a53ef2a0d06bf347a24eb86132068289568e79c (patch) | |
tree | 923f3736a760190dcb79fea18be670062a822bad /krebs/3modules/upstream/window-managers/default.nix | |
parent | 5d4e3a953e2c1f8a6c606640f7e8a94e4f64133d (diff) | |
parent | 61aebc5adcab3a174a6e27686c0c8fc7f65df513 (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'krebs/3modules/upstream/window-managers/default.nix')
-rw-r--r-- | krebs/3modules/upstream/window-managers/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/krebs/3modules/upstream/window-managers/default.nix b/krebs/3modules/upstream/window-managers/default.nix new file mode 100644 index 000000000..eecadca7e --- /dev/null +++ b/krebs/3modules/upstream/window-managers/default.nix @@ -0,0 +1,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"]); + }; + })]; + } + ]; +} |