dev/nixd: we are on unstable now lmao

This commit is contained in:
Sakooooo 2024-10-02 17:51:09 +04:00
parent 2191d23923
commit 10cf42414f
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -1,27 +1,13 @@
# nixd nix lsp using nix and nixpkgs
# where has this been my whole life
{
outputs,
options,
config,
lib,
pkgs,
...
}:
let
cfg = config.modules.dev.nixd;
{ outputs, options, config, lib, pkgs, ... }:
let cfg = config.modules.dev.nixd;
in {
options.modules.dev.nixd = {
enable = lib.mkEnableOption false;
};
options.modules.dev.nixd = { enable = lib.mkEnableOption false; };
# TODO(sako):: figure out how .nixd.json works
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
unstable.nixd
alejandra
nixfmt
];
environment.systemPackages = with pkgs; [ nixd alejandra nixfmt ];
};
}