Clean up redundant packages

This commit is contained in:
coolneng 2020-09-02 18:44:31 +02:00
parent 351926fb16
commit 6bdb0123d1
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
5 changed files with 4 additions and 16 deletions

View File

@ -1,8 +1,5 @@
# Syncthing and Radicale configuration
{ config, pkgs, lib, ... }: {
environment.systemPackages = with pkgs; [ syncthing radicale ];
# Enable syncthing
services.syncthing = {
enable = true;

View File

@ -1,8 +1,5 @@
# Software development configuration
{ config, pkgs, lib, ... }: {
environment.systemPackages = with pkgs; [ gitea ];
# Gitea setup with daily backup
services.gitea = {
enable = true;

View File

@ -4,7 +4,7 @@ let password = builtins.readFile /var/lib/ddclient/token;
in {
environment.systemPackages = with pkgs; [ avahi ddclient wireguard mbuffer ];
environment.systemPackages = with pkgs; [ mbuffer ];
# Enable zeroconf
services.avahi = {

View File

@ -1,8 +1,5 @@
# CUPS and SANE configuration
{ config, pkgs, lib, ... }: {
environment.systemPackages = with pkgs; [ cups sane-backends ];
# Enable CUPS with Zeroconf
services.printing = {
enable = true;
@ -18,6 +15,7 @@
extraBackends = with pkgs; [ hplip ];
};
# Allow scanning over LAN and VPN
services.saned = {
enable = true;
extraConfig = ''
@ -26,6 +24,7 @@
'';
};
# Give SANE access to the printer
users.users.scanner = { extraGroups = [ "lp" ]; };
}

View File

@ -1,12 +1,7 @@
# Web services configuration
{ config, pkgs, lib, ... }: {
environment.systemPackages = with pkgs; [
nginx
postgresql_11
libressl
miniflux
];
environment.systemPackages = with pkgs; [ libressl ];
services.nginx = {
enable = true;