Refactor a bit by adding globally shared packages in one file

This commit is contained in:
Lillian Violet 2024-01-30 12:03:29 +01:00
parent d111828131
commit 7e7baef730
4 changed files with 43 additions and 28 deletions

View file

@ -9,7 +9,11 @@
...
}: {
imports = [
# Import locale settings
../shared/locale/configuration.nix
# Import shared packages
../../shared/packages/configuration.nix
];
nixpkgs = {
# You can add overlays here
@ -59,23 +63,12 @@
};
environment.systemPackages = with pkgs; [
# Custom tools
dvd
dvt
# System tools
age
alejandra
direnv
docker
docker-compose
git-filter-repo
home-manager
htop
oh-my-zsh
pciutils
rsync
wget
waydroid
xwaylandvideobridge
zsh
@ -92,11 +85,6 @@
libsForQt5.packagekit-qt
libportal-qt5
# System libraries
noto-fonts
noto-fonts-emoji-blob-bin
noto-fonts-emoji
# User tools
noisetorch
];

View file

@ -21,6 +21,9 @@
# Import locale settings
../../shared/locale/configuration.nix
# Import shared packages
../../shared/packages/configuration.nix
#../../server/package-configs/akkoma/configuration.nix
../../server/package-configs/forgejo/configuration.nix
../../server/package-configs/gotosocial/configuration.nix
@ -88,12 +91,10 @@
environment.systemPackages = with pkgs; [
akkoma
age
fzf
matrix-conduit
docker
docker-compose
git
gitea
gotosocial
alejandra
@ -101,22 +102,14 @@
imagemagick
ffmpeg
aria2
git-filter-repo
home-manager
htop
jellyfin
jellyfin-web
jellyfin-ffmpeg
nextcloud28
nginx
noto-fonts
noto-fonts-emoji-blob-bin
noto-fonts-emoji
oh-my-zsh
onlyoffice-documentserver
postgresql_16
python3
rsync
rabbitmq-server
roundcube
roundcubePlugins.contextmenu
@ -125,8 +118,6 @@
roundcubePlugins.persistent_login
roundcubePlugins.thunderbird_labels
youtube-dl
wget
zsh
];
# Enable networking

View file

@ -14,7 +14,12 @@
./armv7l.nix
./hardware-configuration.nix
# Import locale settings
../../shared/locale/configuration.nix
# Import shared packages
../../shared/packages/configuration.nix
];
boot.loader.generic-extlinux-compatible.enable = true;

View file

@ -0,0 +1,31 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
environment.systemPackages = with pkgs; [
# Custom tools
dvd
dvt
# System tools
age
git
git-filter-repo
home-manager
htop
neofetch
oh-my-zsh
rsync
wget
zsh
# System libraries
noto-fonts
noto-fonts-emoji-blob-bin
noto-fonts-emoji
];
}