about summary refs log tree commit diff
path: root/users/Profpatsch/my-xmonad/default.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2023-08-13T13·21+0200
committerclbot <clbot@tvl.fyi>2023-08-13T14·41+0000
commit081f6beb8d040b960fdc51ceed7911fa619b281e (patch)
treeb55a07f5dd20282be34fc1ff9220beaf70dd56bd /users/Profpatsch/my-xmonad/default.nix
parent8fb4c949dc267050b75b2efbcfdff1ca1b307fc5 (diff)
feat(users/Profpatsch): add my xmonad config r/6481
Change-Id: I41d7c3029990f5f1ae56a767331781b38e69997c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9077
Autosubmit: Profpatsch <mail@profpatsch.de>
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/Profpatsch/my-xmonad/default.nix')
-rw-r--r--users/Profpatsch/my-xmonad/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/users/Profpatsch/my-xmonad/default.nix b/users/Profpatsch/my-xmonad/default.nix
new file mode 100644
index 000000000000..708d50e9608c
--- /dev/null
+++ b/users/Profpatsch/my-xmonad/default.nix
@@ -0,0 +1,25 @@
+{ depot, pkgs, lib, ... }:
+
+let
+  #   bins = depot.nix.getBins pkgs.sqlite ["sqlite3"];
+
+  my-xmonad = pkgs.haskellPackages.mkDerivation {
+    pname = "my-xmonad";
+    version = "0.1.0";
+
+    src = depot.users.Profpatsch.exactSource ./. [
+      ./my-xmonad.cabal
+      ./Xmonad.hs
+    ];
+
+    libraryHaskellDepends = [
+      pkgs.haskellPackages.xmonad-contrib
+    ];
+
+    isExecutable = true;
+    isLibrary = false;
+    license = lib.licenses.mit;
+  };
+
+in
+my-xmonad