nixos/modules/dev/editors/vscode/default.nix
2023-07-31 16:15:24 +03:00

17 lines
294 B
Nix

{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.dev.editors.vscode;
in
{
options.modules.dev.editors.vscode = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
vscode.fhs
];
};
}