nixos/profiles/desktop-dev/default.nix
2023-12-16 19:00:35 +01:00

44 lines
1.1 KiB
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.my.profiles.desktop-dev;
in
{
options.my.profiles.desktop-dev = with lib; {
enable = mkEnableOption "desktop-dev profile";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
bless # hex editor
chromium
dbeaver
filezilla
fritzing
gnome.gnome-font-viewer
meld
bruno
qgis
sqlitebrowser
(vscode-with-extensions.override {
vscode = vscodium;
vscodeExtensions =
with vscode-extensions; [
bbenoist.nix
editorconfig.editorconfig
mkhl.direnv
ms-azuretools.vscode-docker
ms-python.python
ms-vscode-remote.remote-ssh
equinusocio.vsc-material-theme
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
# {
# name = "vsc-material-theme";
# publisher = "Equinusocio";
# version = "33.8.0";
# sha256 = "sha256-+I4AUwsrElT62XNvmuAC2iBfHfjNYY0bmAqzQvfwUYM=";
# }
];
})
];
};
}