mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-23 21:48:45 +01:00
add direnv and set up haskell ls for xmonad work
This commit is contained in:
parent
bd0804ae22
commit
1921ea7357
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
result
|
result
|
||||||
|
.direnv/
|
||||||
|
|
11
flake.nix
11
flake.nix
|
@ -30,7 +30,16 @@
|
||||||
nixos-hardware,
|
nixos-hardware,
|
||||||
mac-brcm-fw,
|
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 = {
|
nixosConfigurations = {
|
||||||
monosodium-glutamate-g = nixpkgs.lib.nixosSystem {
|
monosodium-glutamate-g = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
sessionVariables.EDITOR = "hx";
|
sessionVariables.EDITOR = "hx";
|
||||||
packages = [
|
packages = [
|
||||||
pkgs.nil
|
pkgs.nil
|
||||||
pkgs.haskell-language-server
|
|
||||||
pkgs.nodePackages_latest.vscode-html-languageserver-bin
|
pkgs.nodePackages_latest.vscode-html-languageserver-bin
|
||||||
pkgs.nodePackages_latest.vscode-json-languageserver-bin
|
pkgs.nodePackages_latest.vscode-json-languageserver-bin
|
||||||
pkgs.nodePackages_latest.vscode-css-languageserver-bin
|
pkgs.nodePackages_latest.vscode-css-languageserver-bin
|
||||||
|
|
Loading…
Reference in a new issue