Random additions and nextcloud 3dmodel fix

main
Johannes Hendrik Gerard van der Weide 2024-01-30 13:42:21 +01:00
parent b227ca8216
commit 43626bc483
5 changed files with 53 additions and 0 deletions

View File

@ -9,8 +9,36 @@
polkit.enable = true;
rtkit.enable = true;
};
environment.etc = {
"xdg/gtk-2.0/gtkrc".text = "gtk-error-bell=0";
"xdg/gtk-3.0/settings.ini".text = ''
[Settings]
gtk-error-bell=false
'';
"xdg/gtk-4.0/settings.ini".text = ''
[Settings]
gtk-error-bell=false
'';
};
services = {
xserver.displayManager.sessionPackages = [ pkgs.sway ];
printing = {
enable = true;
browsing = true;
browsedConf = ''
BrowseDNSSDSubTypes _cups,_print
BrowseLocalProtocols all
BrowseRemoteProtocols all
CreateIPPPrinterQueues All
BrowseProtocols all
'';
};
avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
pipewire = {
enable = true;
alsa = {

View File

@ -12,5 +12,15 @@
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:8181";
proxyWebsockets = true; # needed if you need to use WebSocket
extraConfig =
# required when the target is also TLS server with multiple hosts
"proxy_ssl_server_name on;" +
# required when the server wants to use HTTP Authentication
"proxy_pass_header Authorization;"
;
};
};
}

11
Services/redis.nix Normal file
View File

@ -0,0 +1,11 @@
{ pkgs, ... }:
{
services.redis.servers = {
hermitSearch = {
enable = true;
port = 6379;
openFirewall = true;
};
};
}

View File

@ -17,6 +17,7 @@ in
bottles
pavucontrol
qbittorrent
floorp
# Office
slack
onlyoffice-bin
@ -44,6 +45,7 @@ in
wally-cli
# Programming
godot_4
unityhub
lapce
signal-desktop
blanket

View File

@ -44,6 +44,8 @@
./System/packages.nix
./Programs/steam.nix
./Hosts/hertog-laptop/packages.nix
# Redis server for HermitSearch testing
./Services/redis.nix
# Users still need to be set outside of home-manager
./Users/Hertog/user.nix
# Home manager imports