add direnv and set up haskell ls for xmonad work
This commit is contained in:
parent
bd0804ae22
commit
1921ea7357
4 changed files with 12 additions and 2 deletions
11
flake.nix
11
flake.nix
|
@ -30,7 +30,16 @@
|
|||
nixos-hardware,
|
||||
mac-brcm-fw,
|
||||
...
|
||||
} @ inputs: {
|
||||
} @ inputs: let
|
||||
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
||||
in {
|
||||
devShells."x86_64-linux".default = pkgs.mkShell {
|
||||
buildInputs = [
|
||||
(pkgs.haskellPackages.ghcWithPackages
|
||||
(pkgs: with pkgs; [xmonad xmonad-contrib]))
|
||||
pkgs.haskell-language-server
|
||||
];
|
||||
};
|
||||
nixosConfigurations = {
|
||||
monosodium-glutamate-g = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue