Compare commits

..

5 commits

3 changed files with 21 additions and 4 deletions

View file

@ -13,6 +13,8 @@ in
./transcode.nix ./transcode.nix
./development.nix ./development.nix
./bspwm.nix ./bspwm.nix
# ../migrations/pgsql_upgrade.nix
]; ];
nixpkgs.overlays = let nixpkgs.overlays = let
@ -42,8 +44,7 @@ in
extraPackages = with pkgs; [ extraPackages = with pkgs; [
intel-vaapi-driver intel-vaapi-driver
libvdpau-va-gl libvdpau-va-gl
vaapiVdpau libva-vdpau-driver
# intel-media-driver
]; ];
}; };
environment.variables = { environment.variables = {
@ -87,6 +88,13 @@ in
''; '';
}; };
services.postgresql = {
package = pkgs.postgresql_16;
authentication = lib.mkOrder 600 ''
local all postgres peer map=postgres
'';
};
# Flatpak # Flatpak
services.flatpak.enable = true; services.flatpak.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
@ -136,6 +144,15 @@ in
services.smartd = { services.smartd = {
enable = true; enable = true;
autodetect = false;
devices = [
{
device = "/dev/sda";
}
{
device = "/dev/sdb";
}
];
notifications.x11.enable = false; notifications.x11.enable = false;
notifications.mail = { notifications.mail = {
enable = true; enable = true;

View file

@ -58,7 +58,7 @@ in
chmod 755 /run/pulse chmod 755 /run/pulse
''; '';
environment.systemPackages = with pkgs; [ mpc-cli ]; environment.systemPackages = with pkgs; [ mpc ];
networking.firewall.allowedTCPPorts = [ config.services.mpd.network.port httpStreamPort ]; networking.firewall.allowedTCPPorts = [ config.services.mpd.network.port httpStreamPort ];
} }

View file

@ -6,7 +6,7 @@ in
services.nextcloud = { services.nextcloud = {
enable = true; enable = true;
https = true; https = true;
package = pkgs.nextcloud31; package = pkgs.nextcloud32;
hostName = hostName; hostName = hostName;
datadir = "/data/nextcloud"; datadir = "/data/nextcloud";
settings = { settings = {