mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 19:17:45 +00:00
Add tard hardware and networking config
This commit is contained in:
parent
6be5421a26
commit
685a6482ff
4 changed files with 37 additions and 12 deletions
|
@ -3,7 +3,7 @@
|
|||
systemConfiguration {
|
||||
boot.loader = {
|
||||
systemd-boot = enabled {
|
||||
editor = false;
|
||||
editor = false;
|
||||
};
|
||||
|
||||
efi.canTouchEfiVariables = true;
|
||||
|
|
|
@ -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
25
hosts/tard/hardware.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue