forked from c3d2/nix-config
Reorder
This commit is contained in:
parent
c880195be2
commit
18a2bef4fc
|
@ -7,6 +7,9 @@ lib.mkMerge [
|
||||||
{
|
{
|
||||||
boot = {
|
boot = {
|
||||||
cleanTmpDir = true;
|
cleanTmpDir = true;
|
||||||
|
kernel.sysctl = {
|
||||||
|
"net.ipv4.tcp_congestion_control" = "bbr";
|
||||||
|
};
|
||||||
# recommend to turn off, only on by default for backwards compatibility
|
# recommend to turn off, only on by default for backwards compatibility
|
||||||
zfs.forceImportRoot = false;
|
zfs.forceImportRoot = false;
|
||||||
};
|
};
|
||||||
|
@ -77,20 +80,6 @@ lib.mkMerge [
|
||||||
# trust sandro to set good defaults in nixos-modules
|
# trust sandro to set good defaults in nixos-modules
|
||||||
opinionatedDefaults = true;
|
opinionatedDefaults = true;
|
||||||
|
|
||||||
services = {
|
|
||||||
gnome.gnome-initial-setup.enable = false;
|
|
||||||
openssh = {
|
|
||||||
# Required for deployment and sops
|
|
||||||
enable = true;
|
|
||||||
permitRootLogin = "prohibit-password";
|
|
||||||
};
|
|
||||||
portunus = with zentralwerk.lib.config.site.net.serv; {
|
|
||||||
domain = "auth.c3d2.de";
|
|
||||||
externalIp4 = hosts4.auth;
|
|
||||||
externalIp6 = hosts6.up4.auth;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
fzf.keybindings = true;
|
fzf.keybindings = true;
|
||||||
tmux = {
|
tmux = {
|
||||||
|
@ -120,8 +109,18 @@ lib.mkMerge [
|
||||||
vim.defaultEditor = true;
|
vim.defaultEditor = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.kernel.sysctl = {
|
services = {
|
||||||
"net.ipv4.tcp_congestion_control" = "bbr";
|
gnome.gnome-initial-setup.enable = false;
|
||||||
|
openssh = {
|
||||||
|
# Required for deployment and sops
|
||||||
|
enable = true;
|
||||||
|
permitRootLogin = "prohibit-password";
|
||||||
|
};
|
||||||
|
portunus = with zentralwerk.lib.config.site.net.serv; {
|
||||||
|
domain = "auth.c3d2.de";
|
||||||
|
externalIp4 = hosts4.auth;
|
||||||
|
externalIp6 = hosts6.up4.auth;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
security.acme = {
|
security.acme = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user