Files
dotfiles/modules/core/services.nix
T
2025-10-29 02:58:03 +09:00

33 lines
743 B
Nix

{ pkgs, ... }: {
services = {
openssh = {
enable = false; # Enable SSH
settings = {
PermitRootLogin = "no"; # Prevent root from SSH login
PasswordAuthentication = false;
KbdInteractiveAuthentication = true;
};
ports = [ 22 ];
};
blueman.enable = true; # Bluetooth Support
tumbler.enable = true; # Image/video preview
gnome.gnome-keyring.enable = true;
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
xdg-desktop-portal.enable = true;
xdg-desktop-portal.extraPortals = with pkgs; [
xdg-desktop-portal-gtk
xdg-desktop-portal-wlr
];
};
}