Added exported NPM config; Added cyper-proxy host currently unused do to a dispute with 1Blu

This commit is contained in:
2026-04-21 22:12:01 +02:00
parent cfe0c19bf6
commit 2aa0257f0d
4 changed files with 202 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
{
imports = [
./hardware-configuration.nix
../../nixos/roles/nginx.nix
];
networking = {
hostName = "cyper-proxy";
useNetworkd = true;
useDHCP = false;
firewall.enable = true;
};
systemd.network = {
enable = true;
networks."10-venet" = {
matchConfig.Name = "venet0";
networkConfig = {
Address = "178.254.8.35/24";
DNS = "178.254.16.141 178.254.16.151";
DHCP = "no";
};
routes = [
{ routeConfig.Destination = "0.0.0.0/0"; }
];
};
};
system.stateVersion = "26.05";
}

View File

@@ -0,0 +1,24 @@
{ lib, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot = {
initrd.availableKernelModules = [ ];
initrd.kernelModules = [ ];
kernelModules = [ ];
extraModulePackages = [ ];
loader.grub.enable = false;
};
fileSystems."/" = {
device = "/dev/disk/by-label/NIXROOT";
fsType = "ext4";
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}