feat: init tailscale
This commit is contained in:
parent
c2e59325c3
commit
b6a8425353
6 changed files with 18 additions and 4 deletions
8
hosts/common/tailscale.nix
Normal file
8
hosts/common/tailscale.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
|
@ -4,6 +4,8 @@
|
|||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
../common/tailscale.nix
|
||||
../common/security.nix
|
||||
];
|
||||
|
||||
boot.loader = {
|
||||
|
@ -41,9 +43,9 @@
|
|||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = true;
|
||||
KbdInteractiveAuthentication = false;
|
||||
settings = {
|
||||
PasswordAuthentication = true;
|
||||
KbdInteractiveAuthentication = false;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
../common/tailscale.nix
|
||||
../common/security.nix
|
||||
];
|
||||
|
||||
boot.loader = {
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
[
|
||||
./hardware-configuration.nix
|
||||
../../modules/home/wayland
|
||||
../../modules/security.nix
|
||||
../common/security.nix
|
||||
../common/tailscale.nix
|
||||
];
|
||||
|
||||
# bootloader
|
||||
|
|
|
@ -9,4 +9,5 @@
|
|||
./home/git
|
||||
./home/lazygit
|
||||
];
|
||||
|
||||
}
|
Loading…
Reference in a new issue