what
This commit is contained in:
parent
616f310f4a
commit
1555d7b643
51 changed files with 243 additions and 231 deletions
3
common/comma.nix
Normal file
3
common/comma.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
programs.nix-index-database.comma.enable = true;
|
||||
}
|
|
@ -1,3 +1,4 @@
|
|||
{
|
||||
# TODO
|
||||
programs.command-not-found.enable = false;
|
||||
}
|
5
common/nix-index-database.nix
Normal file
5
common/nix-index-database.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{inputs, ...}: {
|
||||
imports = [
|
||||
inputs.nix-index-database.nixosModules.nix-index
|
||||
];
|
||||
}
|
|
@ -18,6 +18,8 @@
|
|||
"flakes"
|
||||
];
|
||||
auto-optimise-store = true;
|
||||
flake-registry = "";
|
||||
use-xdg-base-directories = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
14
common/tailscale.nix
Normal file
14
common/tailscale.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{config, ...}: {
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
trustedInterfaces = [
|
||||
config.services.tailscale.interfaceName
|
||||
];
|
||||
# Required to connect to Tailscale exit nodes
|
||||
checkReversePath = "loose";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue