Compare commits
5 commits
0978724e8f
...
6e3f037e1a
| Author | SHA1 | Date | |
|---|---|---|---|
| 6e3f037e1a | |||
| 6c0ff815f6 | |||
| c11f35ae8b | |||
| e757ffe825 | |||
| ec55643365 |
3 changed files with 21 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ in
|
|||
services.nextcloud = {
|
||||
enable = true;
|
||||
https = true;
|
||||
package = pkgs.nextcloud31;
|
||||
package = pkgs.nextcloud32;
|
||||
hostName = hostName;
|
||||
datadir = "/data/nextcloud";
|
||||
settings = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue