diff options
Diffstat (limited to 'machines/zibeline')
| -rw-r--r-- | machines/zibeline/default.nix | 51 | ||||
| -rw-r--r-- | machines/zibeline/devices.nix | 39 | ||||
| -rw-r--r-- | machines/zibeline/hardware.nix | 23 | ||||
| -rw-r--r-- | machines/zibeline/home.nix | 9 |
4 files changed, 0 insertions, 122 deletions
diff --git a/machines/zibeline/default.nix b/machines/zibeline/default.nix deleted file mode 100644 index 9670da2..0000000 --- a/machines/zibeline/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ me, machines, ... }: - -{ - imports = [ - ../../modules/common.nix - - ./hardware.nix - ./devices.nix - ]; - - foundation = { - www = { - enable = true; - - public = true; - tailnet = false; - }; - - monitoring = { - client.enable = true; - services = [ - "base" - "tailnet" - ]; - }; - - wireguard.server = { - enable = true; - externalInterface = "eth0"; - - peers = { - mel = { - key = "vnZoHXapCLLUhZ8A8R5W0iJ8LpWVLve29z41kkoT0BU="; - ip = 2; - }; - - andrei = { - key = "qqU4uYImLfUohIwl4KBshPtTINFcs0JVALjbmwpfxRg="; - ip = 3; - }; - - sergo = { - key = "qbZGMNIDZFCJC6SHtlyNIlIdGWHELceXClJCcagrj2Y="; - ip = 4; - }; - }; - }; - }; - - system.stateVersion = "25.05"; -} diff --git a/machines/zibeline/devices.nix b/machines/zibeline/devices.nix deleted file mode 100644 index dce5ff2..0000000 --- a/machines/zibeline/devices.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ config, lib, pkgs, ... }: - -{ - boot = { - loader.grub = { - enable = true; - device = "/dev/sda"; - }; - - kernelModules = [ "wireguard" ]; - - swraid.enable = true; - }; - - zramSwap = { - enable = true; - algorithm = "zstd"; - swapDevices = 1; - memoryPercent = 100; - }; - - networking = { - nameservers = [ - "9.9.9.9" - "149.112.112.112" - ]; - - useDHCP = false; - }; - - systemd.network.enable = true; - systemd.network.networks."10-wan" = { - name = "eth0"; - DHCP = "no"; - address = [ "194.169.163.56/24" ]; - gateway = [ "194.169.163.1" ]; - }; -} - diff --git a/machines/zibeline/hardware.nix b/machines/zibeline/hardware.nix deleted file mode 100644 index b60a848..0000000 --- a/machines/zibeline/hardware.nix +++ /dev/null @@ -1,23 +0,0 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: - -{ - imports = [ ]; - - boot.initrd.availableKernelModules = [ "ata_piix" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/a029352d-e2e9-432d-ae2a-43921652ea8b"; - fsType = "ext4"; - }; - - swapDevices = [ ]; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - virtualisation.hypervGuest.enable = true; -} diff --git a/machines/zibeline/home.nix b/machines/zibeline/home.nix deleted file mode 100644 index 8f27ed2..0000000 --- a/machines/zibeline/home.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ pkgs, ... }: - -{ - imports = [ - ../../modules/home/common.nix - ]; - - home.stateVersion = "25.05"; -} |
