mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-23 17:35:38 +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
|
@ -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
|
||||
};
|
||||
}
|
|
@ -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=";
|
||||
}
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
|
@ -8,8 +8,6 @@
|
|||
./profiles.nix
|
||||
./services.nix
|
||||
./system.nix
|
||||
../../legacy/modules/desktop-default.nix
|
||||
../../legacy/modules/desktop-development.nix
|
||||
];
|
||||
|
||||
networking.hostName = "thinkman";
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
./3d-design
|
||||
./android
|
||||
./clean
|
||||
./desktop-apps
|
||||
./desktop-dev
|
||||
./development
|
||||
./filesystem
|
||||
./gaming
|
||||
|
|
50
profiles/desktop-apps/default.nix
Normal file
50
profiles/desktop-apps/default.nix
Normal 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
|
||||
};
|
||||
};
|
||||
}
|
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