nixos/profiles/desktop-dev/default.nix
2024-02-26 22:39:04 +01:00

46 lines
1.2 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
# remove in 24.05
unstable.equinusocio.vsc-material-theme
github.copilot
mkhl.direnv
ms-azuretools.vscode-docker
ms-python.python
ms-vscode-remote.remote-ssh
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
# {
# name = "vsc-material-theme";
# publisher = "Equinusocio";
# version = "33.8.0";
# sha256 = "sha256-+I4AUwsrElT62XNvmuAC2iBfHfjNYY0bmAqzQvfwUYM=";
# }
];
})
];
};
}