Compare commits

...

5 commits

3 changed files with 21 additions and 4 deletions

View file

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

View file

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

View file

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