Merge branch 'main' of github.com:DarkGuibrine/NixConfig
This commit is contained in:
@@ -75,14 +75,14 @@
|
||||
# ];
|
||||
#};
|
||||
|
||||
#xdg.portal = {
|
||||
# enable = true;
|
||||
# extraPortals = [
|
||||
# pkgs.xdg-desktop-portal-gnome
|
||||
# pkgs.xdg-desktop-portal-gtk
|
||||
# pkgs.xdg-desktop-portal-wlr
|
||||
# ];
|
||||
# config.common.default = "*1";
|
||||
#};
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gnome
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal-wlr
|
||||
];
|
||||
config.common.default = "*1";
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
## Segurança / rede
|
||||
bitwarden-desktop
|
||||
server-box
|
||||
tailscale
|
||||
netbird
|
||||
zerotierone
|
||||
|
||||
@@ -8,11 +8,14 @@
|
||||
{
|
||||
|
||||
mods = {
|
||||
netbird.enable = true;
|
||||
tailscale.enable = true;
|
||||
flakePath = "/etc/nixos";
|
||||
};
|
||||
|
||||
services = {
|
||||
netbird.enable = true;
|
||||
netbird.ui.enable = true;
|
||||
};
|
||||
|
||||
networking.nftables.enable = true;
|
||||
networking.firewall = {
|
||||
@@ -47,15 +50,14 @@
|
||||
users.groups.docker.gid = 131;
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
|
||||
#rootless = {
|
||||
# enable = true;
|
||||
# setSocketVariable = true;
|
||||
#};
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PermitRootLogin = "yes";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
|
||||
services.sunshine = {
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
nodejs
|
||||
python3
|
||||
godot
|
||||
dig
|
||||
|
||||
## Terminal / CLI
|
||||
kitty
|
||||
|
||||
@@ -39,6 +39,10 @@
|
||||
"wheel"
|
||||
"tailscale"
|
||||
"docker"
|
||||
""
|
||||
];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINQmhMhs1d3o0ZUS2a5i/0fsgg8FgSqCTCABhpc7hyxd"
|
||||
];
|
||||
packages = with pkgs; [ ];
|
||||
};
|
||||
|
||||
@@ -8,7 +8,10 @@
|
||||
{
|
||||
|
||||
mods = {
|
||||
<<<<<<< HEAD
|
||||
#netbird.enable = true;
|
||||
=======
|
||||
>>>>>>> dd8334c9c024018cca7a75216d680779a606da8a
|
||||
tailscale.enable = true;
|
||||
flakePath = "/etc/nixos";
|
||||
};
|
||||
@@ -19,12 +22,11 @@
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PermitRootLogin = "no";
|
||||
PermitRootLogin = "yes";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
boot.kernel.sysctl = {
|
||||
"net.ipv4.ip_unprivileged_port_start" = 53;
|
||||
"net.ipv6.conf.all.forwarding" = true;
|
||||
@@ -35,11 +37,11 @@
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
daemon.settings = {
|
||||
ipv6 = true;
|
||||
fixed-cidr-v6 = "fd00:db8:1::/64";
|
||||
ip6tables = true;
|
||||
experimental = true;
|
||||
};
|
||||
ipv6 = true;
|
||||
fixed-cidr-v6 = "fd00:db8:1::/64";
|
||||
ip6tables = true;
|
||||
experimental = true;
|
||||
};
|
||||
};
|
||||
|
||||
services.tailscale = {
|
||||
|
||||
Reference in New Issue
Block a user