astora + catarina: adjust network settings
This commit is contained in:
parent
c14b4d0774
commit
fcddc9a7d4
@ -1,2 +1,7 @@
|
||||
-- bootstrap lazy.nvim, LazyVim and your plugins
|
||||
require("config.lazy")
|
||||
|
||||
vim.o.tabstop = 4 -- A TAB character looks like 4 spaces
|
||||
vim.o.expandtab = true -- Pressing the TAB key will insert spaces instead of a TAB character
|
||||
vim.o.softtabstop = 4 -- Number of spaces inserted instead of a TAB character
|
||||
vim.o.shiftwidth = 4 -- Number of spaces inserted when indenting
|
||||
|
@ -119,6 +119,18 @@
|
||||
};
|
||||
};
|
||||
|
||||
programs.ssh.extraConfig = ''
|
||||
Host astora
|
||||
HostName 192.168.156.101
|
||||
Port 22
|
||||
User nafaryus
|
||||
|
||||
Host catarina
|
||||
HostName 192.168.156.102
|
||||
Port 22
|
||||
User nafaryus
|
||||
'';
|
||||
|
||||
programs.direnv.enable = true;
|
||||
|
||||
fonts.packages = with pkgs; [ nerdfonts ];
|
||||
|
@ -128,6 +128,14 @@
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
};
|
||||
|
||||
interfaces.wlo1.ipv4.addresses = [ {
|
||||
address = "192.168.156.101";
|
||||
prefixLength = 24;
|
||||
} ];
|
||||
|
||||
defaultGateway = "192.168.156.1";
|
||||
nameservers = [ "192.168.156.1" "8.8.8.8" ];
|
||||
};
|
||||
|
||||
# Common
|
||||
|
@ -122,6 +122,18 @@
|
||||
};
|
||||
};
|
||||
|
||||
programs.ssh.extraConfig = ''
|
||||
Host astora
|
||||
HostName 192.168.156.101
|
||||
Port 22
|
||||
User nafaryus
|
||||
|
||||
Host catarina
|
||||
HostName 192.168.156.102
|
||||
Port 22
|
||||
User nafaryus
|
||||
'';
|
||||
|
||||
programs.direnv.enable = true;
|
||||
|
||||
fonts.packages = with pkgs; [ nerdfonts ];
|
||||
|
@ -112,8 +112,18 @@
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
};
|
||||
|
||||
interfaces.enp9s0.ipv4.addresses = [ {
|
||||
address = "192.168.156.102";
|
||||
prefixLength = 24;
|
||||
} ];
|
||||
|
||||
defaultGateway = "192.168.156.1";
|
||||
nameservers = [ "192.168.156.1" "8.8.8.8" ];
|
||||
};
|
||||
|
||||
services.logind.lidSwitchExternalPower = "ignore";
|
||||
|
||||
# Common
|
||||
time.timeZone = "Asia/Yekaterinburg";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user