1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Add tard hardware and networking config

This commit is contained in:
RGBCube 2024-05-12 11:14:38 +03:00
parent 6be5421a26
commit 685a6482ff
No known key found for this signature in database
4 changed files with 37 additions and 12 deletions

View file

@ -3,7 +3,7 @@
systemConfiguration {
boot.loader = {
systemd-boot = enabled {
editor = false;
editor = false;
};
efi.canTouchEfiVariables = true;

View file

@ -23,18 +23,18 @@
}];
networking = {
ipv4 = "";
ipv6 = "";
ipv4 = "143.198.73.55";
ipv6 = "2604:a880:4:1d0::86d:a000";
domain = "rgbcu.be";
defaultGateway = "";
defaultGateway6 = "";
defaultGateway = "143.198.64.1";
defaultGateway6 = "2604:a880:4:1d0::1";
interfaces.XXX = {
interfaces.ens3 = {
ipv4.addresses = [{
address = config.networking.ipv4;
prefixLength = 25;
prefixLength = 20;
}];
ipv6.addresses = [{

25
hosts/tard/hardware.nix Normal file
View file

@ -0,0 +1,25 @@
{ lib, modulesPath, ... }: with lib;
systemConfiguration {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
boot.loader.grub = enabled {
device = "/dev/vda";
};
boot.initrd.availableKernelModules = [
"ata_piix"
"uhci_hcd"
"vmw_pvscsi"
"xen_blkfront"
];
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = {
device = "/dev/vda1";
fsType = "ext4";
};
}

View file

@ -40,11 +40,11 @@
port = 2222;
};
# tard = {
# hostname = self.tard.networking.ipv4;
# user = "tail";
# port = 2222;
# };
tard = {
hostname = self.tard.networking.ipv4;
user = "tail";
port = 2222;
};
robotic = {
hostname = "86.105.252.189";