astora + catarina: adjust network settings

This commit is contained in:
L-Nafaryus 2024-01-10 22:32:33 +05:00
parent c14b4d0774
commit fcddc9a7d4
No known key found for this signature in database
GPG Key ID: C76D8DCD2727DBB7
5 changed files with 47 additions and 0 deletions

View File

@ -1,2 +1,7 @@
-- bootstrap lazy.nvim, LazyVim and your plugins -- bootstrap lazy.nvim, LazyVim and your plugins
require("config.lazy") 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

View File

@ -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; programs.direnv.enable = true;
fonts.packages = with pkgs; [ nerdfonts ]; fonts.packages = with pkgs; [ nerdfonts ];

View File

@ -128,6 +128,14 @@
enable = true; enable = true;
allowedTCPPorts = [ 80 443 ]; 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 # Common

View File

@ -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; programs.direnv.enable = true;
fonts.packages = with pkgs; [ nerdfonts ]; fonts.packages = with pkgs; [ nerdfonts ];

View File

@ -112,8 +112,18 @@
enable = true; enable = true;
allowedTCPPorts = [ 80 443 ]; 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 # Common
time.timeZone = "Asia/Yekaterinburg"; time.timeZone = "Asia/Yekaterinburg";