Add of searXng

This commit is contained in:
Wateir 2025-12-13 22:00:20 +01:00
parent 4fddfe8724
commit a3c5f8b272
3 changed files with 36 additions and 11 deletions

View file

@ -9,6 +9,7 @@
[ # Include the results of the hardware scan.
./hardware-configuration.nix
./package.nix
./searXNG.nix
];
# Bootloader.
@ -54,6 +55,7 @@
# Configure console keymap
console.keyMap = "fr";
programs.zsh.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.manager = {
@ -61,10 +63,11 @@
description = "manager";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [];
shell = pkgs.zsh;
};
security.sudo.enable = true;
security.sudo.extraRules = [
{
groups = [ "wheel" ];
@ -81,7 +84,7 @@
}
];
security.polkit.extraConfig = ''
polkit.addRule(function (action, subject) {
if (
@ -106,28 +109,28 @@
extraSetFlags = [
"--ssh=false"
];
];
useRoutingFeatures = "server"; # or "client" / "both"
};
services.roundcube = {
enable = false;
hostName = "webmail.example.com";
};
services.nginx.enable = false;
networking.firewall = {
enable = true;
allowedTCPPorts = [ 443 ];
allowedUDPPorts = [ 41641 3478 ];
};
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;