mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-12-22 01:25:52 +01:00
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
1
.envrc
Normal file
1
.envrc
Normal file
|
@ -0,0 +1 @@
|
|||
use flake
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
result
|
||||
.direnv/
|
||||
|
|
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 = {
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
sessionVariables.EDITOR = "hx";
|
||||
packages = [
|
||||
pkgs.nil
|
||||
pkgs.haskell-language-server
|
||||
pkgs.nodePackages_latest.vscode-html-languageserver-bin
|
||||
pkgs.nodePackages_latest.vscode-json-languageserver-bin
|
||||
pkgs.nodePackages_latest.vscode-css-languageserver-bin
|
||||
|
|
Loading…
Reference in a new issue