mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
add(xmonad): flake for xmonad
This commit is contained in:
parent
5901e46486
commit
6e5cc990f9
3 changed files with 95 additions and 0 deletions
33
.config/xmonad/flake.nix
Normal file
33
.config/xmonad/flake.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
description = ''
|
||||
Bring XMonad library to $PATH for the language server to work
|
||||
'';
|
||||
|
||||
inputs = {
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (system: let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
devShell = pkgs.mkShell {
|
||||
packages = [
|
||||
(pkgs.haskell.packages.ghc947.ghcWithPackages (hpkgs:
|
||||
with hpkgs; [
|
||||
haskell-language-server
|
||||
stylish-haskell
|
||||
|
||||
xmonad
|
||||
xmonad-contrib
|
||||
neat-interpolation
|
||||
]))
|
||||
];
|
||||
};
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue