Refactor a bit by adding globally shared packages in one file
This commit is contained in:
parent
0c1da18e13
commit
62df0d1cd4
|
@ -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
|
||||
];
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
31
nixos/shared/packages/configuration.nix
Normal file
31
nixos/shared/packages/configuration.nix
Normal 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
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue