update nix config
This commit is contained in:
parent
f610209aff
commit
07b7f0cc1f
34 changed files with 388 additions and 240 deletions
|
@ -1,35 +0,0 @@
|
|||
{ pkgs, inputs, config, lib, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./boot.nix
|
||||
./hardware.nix
|
||||
./server_config.nix
|
||||
../../modules/common
|
||||
../../modules/networking/ssh.nix
|
||||
../../modules/user
|
||||
../../modules/apps/00_tui_base.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
];
|
||||
|
||||
config = {
|
||||
|
||||
### USER ###
|
||||
user = "vps_fz";
|
||||
host = "vps_fz";
|
||||
sops_file = "vps_fz.yaml";
|
||||
|
||||
|
||||
### NETWORKING ###
|
||||
networking.enableIPv6 = false;
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
};
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue