profiles/desktop-*: init from legacy

This commit is contained in:
Felix Buehler 2023-04-07 00:31:44 +02:00
parent d5b161e0c1
commit 259054a28b
7 changed files with 98 additions and 78 deletions

View file

@ -1,41 +0,0 @@
{ config, lib, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
evince
firefox
ghostwriter
(gimp-with-plugins.override {
plugins = with gimpPlugins; [
resynthesizer
];
})
keepassxc
libreoffice
(mpv.override {
scripts = with mpvScripts; [
convert
mpris
simple-mpv-webui
sponsorblock
];
})
newsflash
rhythmbox
tdesktop
thunderbird
vlc
wayvnc
zathura
zeal
# terminal
socat
sshuttle
libnotify
keychain
];
programs.wireshark = {
enable = true;
package = pkgs.wireshark; # enable the gui
};
}

View file

@ -1,35 +0,0 @@
{ config, pkgs, ... }:
{
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=";
}
];
})
];
}

View file

@ -8,8 +8,6 @@
./profiles.nix
./services.nix
./system.nix
../../legacy/modules/desktop-default.nix
../../legacy/modules/desktop-development.nix
];
networking.hostName = "thinkman";

View file

@ -8,6 +8,8 @@ in
"3d-design".enable = true;
android.enable = true;
clean.enable = true;
desktop-apps.enable = true;
desktop-dev.enable = true;
development.enable = true;
filesystem.enable = true;
gaming.enable = true;

View file

@ -5,6 +5,8 @@
./3d-design
./android
./clean
./desktop-apps
./desktop-dev
./development
./filesystem
./gaming

View file

@ -0,0 +1,50 @@
{ config, lib, pkgs, ... }:
let
cfg = config.my.profiles.desktop-apps;
in
{
options.my.profiles.desktop-apps = with lib; {
enable = mkEnableOption "desktop-apps profile";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
evince
firefox
ghostwriter
(gimp-with-plugins.override {
plugins = with gimpPlugins; [
resynthesizer
];
})
keepassxc
libreoffice
(mpv.override {
scripts = with mpvScripts; [
convert
mpris
simple-mpv-webui
sponsorblock
];
})
newsflash
rhythmbox
tdesktop
thunderbird
vlc
wayvnc
zathura
zeal
# terminal
socat
sshuttle
libnotify
keychain
];
programs.wireshark = {
enable = true;
package = pkgs.wireshark; # enable the gui
};
};
}

View 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=";
}
];
})
];
};
}