mirror of https://gitlab.crans.org/nounous/nixos
				
				
				
			Création livre
							parent
							
								
									8b9800d008
								
							
						
					
					
						commit
						bb9ab4a501
					
				| 
						 | 
				
			
			@ -37,6 +37,10 @@
 | 
			
		|||
          apprentix = nixosSystem {
 | 
			
		||||
            specialArgs = inputs;
 | 
			
		||||
            modules = [ ./hosts/vm/apprentix ];
 | 
			
		||||
 | 
			
		||||
          livre = nixosSystem {
 | 
			
		||||
            specialArgs = inputs;
 | 
			
		||||
            modules = [ ./hosts/vm/livre ];
 | 
			
		||||
          };
 | 
			
		||||
 | 
			
		||||
          neo = nixosSystem {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,15 @@
 | 
			
		|||
{ ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    ./hardware-configuration.nix
 | 
			
		||||
    ./networking.nix
 | 
			
		||||
 | 
			
		||||
    ../../../modules
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  networking.hostName = "livre";
 | 
			
		||||
  boot.loader.grub.devices = [ "/dev/sda" ];
 | 
			
		||||
 | 
			
		||||
  system.stateVersion = "24.11";
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
          }];
 | 
			
		||||
        };
 | 
			
		||||
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue