Création livre

4-message-d-erreur-en-cas-d-echec-de-sudo
korenstin 2024-12-07 15:24:23 +01:00
parent 8b9800d008
commit bb9ab4a501
3 changed files with 72 additions and 0 deletions

View File

@ -37,6 +37,10 @@
apprentix = nixosSystem { apprentix = nixosSystem {
specialArgs = inputs; specialArgs = inputs;
modules = [ ./hosts/vm/apprentix ]; modules = [ ./hosts/vm/apprentix ];
livre = nixosSystem {
specialArgs = inputs;
modules = [ ./hosts/vm/livre ];
}; };
neo = nixosSystem { neo = nixosSystem {

View File

@ -0,0 +1,15 @@
{ ... }:
{
imports = [
./hardware-configuration.nix
./networking.nix
../../../modules
];
networking.hostName = "livre";
boot.loader.grub.devices = [ "/dev/sda" ];
system.stateVersion = "24.11";
}

View File

@ -0,0 +1,53 @@
{ ... }:
{
networking = {
interfaces = {
ens18 = {
ipv4 = {
addresses = [{
address = "172.16.10.140";
prefixLength = 24;
}];
};
ipv6 = {
addresses = [{
address = "fd00::10:0:ff:fe01:4010";
prefixLength = 64;
}];
};
};
ens19 = {
ipv4 = {
addresses = [{
address = "172.16.3.140";
prefixLength = 24;
}];
routes = [{
address = "0.0.0.0";
via = "172.16.3.99";
prefixLength = 0;
}];
};
ipv6 = {
addresses = [{
address = "2a0c:700:3::ff:fe01:4003";
prefixLength = 64;
}];
routes = [{
address = "::";
via = "2a0c:700:3::ff:fe00:9903";
prefixLength = 0;
}];
};
};
};
};
}