Clean up redundant packages
This commit is contained in:
parent
351926fb16
commit
6bdb0123d1
|
@ -1,8 +1,5 @@
|
||||||
# Syncthing and Radicale configuration
|
# Syncthing and Radicale configuration
|
||||||
{ config, pkgs, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ syncthing radicale ];
|
|
||||||
|
|
||||||
# Enable syncthing
|
# Enable syncthing
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
# Software development configuration
|
# Software development configuration
|
||||||
{ config, pkgs, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ gitea ];
|
|
||||||
|
|
||||||
# Gitea setup with daily backup
|
# Gitea setup with daily backup
|
||||||
services.gitea = {
|
services.gitea = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -4,7 +4,7 @@ let password = builtins.readFile /var/lib/ddclient/token;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ avahi ddclient wireguard mbuffer ];
|
environment.systemPackages = with pkgs; [ mbuffer ];
|
||||||
|
|
||||||
# Enable zeroconf
|
# Enable zeroconf
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
# CUPS and SANE configuration
|
# CUPS and SANE configuration
|
||||||
{ config, pkgs, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ cups sane-backends ];
|
|
||||||
|
|
||||||
# Enable CUPS with Zeroconf
|
# Enable CUPS with Zeroconf
|
||||||
services.printing = {
|
services.printing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -18,6 +15,7 @@
|
||||||
extraBackends = with pkgs; [ hplip ];
|
extraBackends = with pkgs; [ hplip ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Allow scanning over LAN and VPN
|
||||||
services.saned = {
|
services.saned = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
@ -26,6 +24,7 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Give SANE access to the printer
|
||||||
users.users.scanner = { extraGroups = [ "lp" ]; };
|
users.users.scanner = { extraGroups = [ "lp" ]; };
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
# Web services configuration
|
# Web services configuration
|
||||||
{ config, pkgs, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [ libressl ];
|
||||||
nginx
|
|
||||||
postgresql_11
|
|
||||||
libressl
|
|
||||||
miniflux
|
|
||||||
];
|
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in New Issue