about summary refs log tree commit diff
path: root/modules/nixos/xmonad.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-04-21 02:15:42 +0300
committerAzat Bahawi <azat@bahawi.net>2024-04-21 02:15:42 +0300
commite6ed60548397627bf10f561f9438201dbba0a36e (patch)
treef9a84c5957d2cc4fcd148065ee9365a0c851ae1c /modules/nixos/xmonad.nix
parent2024-04-18 (diff)
2024-04-21
Diffstat (limited to 'modules/nixos/xmonad.nix')
-rw-r--r--modules/nixos/xmonad.nix31
1 files changed, 0 insertions, 31 deletions
diff --git a/modules/nixos/xmonad.nix b/modules/nixos/xmonad.nix
deleted file mode 100644
index 7b49f52..0000000
--- a/modules/nixos/xmonad.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{
-  config,
-  lib,
-  pkgs,
-  ...
-}:
-with lib;
-let
-  cfg = config.nixfiles.modules.xmonad;
-in
-{
-  options.nixfiles.modules.xmonad.enable = mkEnableOption "XMonad";
-
-  config = mkIf cfg.enable {
-    nixfiles.modules.x11.enable = true;
-
-    hm = {
-      xsession = {
-        enable = true;
-
-        scriptPath = ".xinitrc";
-
-        windowManager.command = getExe' pkgs.xmonad-ng "xmonad-ng";
-      };
-    };
-
-    services.xserver.displayManager.startx.enable = true;
-
-    nixpkgs.overlays = [ inputs.xmonad-ng.overlays.default ];
-  };
-}

Consider giving Nix/NixOS a try! <3