dotfiles/system/hosts/phone/default.nix

27 lines
562 B
Nix
Raw Normal View History

{ pkgs
2023-12-19 11:12:34 +07:00
, lib
# , config
, ...
}:
{
system.stateVersion = "23.11";
# kde connect
networking.firewall.allowedTCPPortRanges = [
{ from = 1714; to = 1764; }
];
networking.firewall.allowedUDPPortRanges = [
{ from = 1714; to = 1764; }
];
common.minimal = false;
2023-12-19 11:12:34 +07:00
programs.sway.enable = true;
xdg.portal = {
enable = true;
extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-wlr ];
};
services.sshd.enable = true;
2023-12-19 11:12:34 +07:00
# users.users.${config.common.mainUsername}.extraGroups = [ "video" "feedbackd" "dialout" ];
}