mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
profiles/desktop-*: init from legacy
This commit is contained in:
parent
d5b161e0c1
commit
259054a28b
7 changed files with 98 additions and 78 deletions
44
profiles/desktop-dev/default.nix
Normal file
44
profiles/desktop-dev/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ 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; [
|
||||
arduino
|
||||
bless # hex editor
|
||||
chromium
|
||||
dbeaver
|
||||
filezilla
|
||||
fritzing
|
||||
gnome.gnome-font-viewer
|
||||
meld
|
||||
insomnia
|
||||
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
|
||||
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||
{
|
||||
name = "vsc-material-theme";
|
||||
publisher = "Equinusocio";
|
||||
version = "33.8.0";
|
||||
sha256 = "sha256-+I4AUwsrElT62XNvmuAC2iBfHfjNYY0bmAqzQvfwUYM=";
|
||||
}
|
||||
];
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue