Better flake + sesar
This commit is contained in:
parent
268e53fdf7
commit
ae8bf3bf44
5 changed files with 20 additions and 16 deletions
16
flake.nix
16
flake.nix
|
|
@ -123,22 +123,22 @@
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
packages.${system} = pkgs;
|
packages.${system} = unstablePkgs;
|
||||||
|
|
||||||
nixosConfigurations = rec {
|
nixosConfigurations = rec {
|
||||||
|
|
||||||
thor = thor-unstable;
|
thor = thor-unstable;
|
||||||
|
|
||||||
# thor-stable = thorStable [ ./nixos_modules/pro_audio.nix ];
|
# thor-stable = thorStable [ ./nixos_modules/pro_audio.nix ./nixos_modules/sesar.nix];
|
||||||
thor-unstable = thorUnstable [ ./nixos_modules/pro_audio.nix ];
|
thor-unstable = thorUnstable [ ./nixos_modules/pro_audio.nix ./nixos_modules/sesar.nix ];
|
||||||
thor-big-data = thorUnstable [ ./nixos_modules/pro_audio.nix ./nixos_modules/big_data.nix ];
|
thor-big-data = thorUnstable [ ./nixos_modules/pro_audio.nix ./nixos_modules/big_data.nix ./nixos_modules/sesar.nix ];
|
||||||
|
|
||||||
odin = odin-intel-unstable;
|
odin = odin-intel-unstable;
|
||||||
|
|
||||||
odin-intel-unstable = odinUnstable [ ./odin/configuration-intel.nix ./nixos_modules/pro_audio.nix ];
|
odin-intel-unstable = odinUnstable [ ./odin/configuration-intel.nix ./nixos_modules/pro_audio.nix ./nixos_modules/sesar.nix ];
|
||||||
odin-nvidia-unstable = odinUnstable [ ./odin/configuration-nvidia.nix ./nixos_modules/pro_audio.nix ];
|
odin-nvidia-unstable = odinUnstable [ ./odin/configuration-nvidia.nix ./nixos_modules/pro_audio.nix ./nixos_modules/sesar.nix ];
|
||||||
# odin-intel-stable = odinStable [ ./odin/configuration-intel.nix ./nixos_modules/pro_audio.nix ];
|
# odin-intel-stable = odinStable [ ./odin/configuration-intel.nix ./nixos_modules/pro_audio.nix ./nixos_modules/sesar.nix];
|
||||||
# odin-nvidia-stable = odinStable [ ./odin/configuration-nvidia.nix ./nixos_modules/pro_audio.nix ];
|
# odin-nvidia-stable = odinStable [ ./odin/configuration-nvidia.nix ./nixos_modules/pro_audio.nix ./nixos_modules/sesar.nix];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -93,6 +93,7 @@
|
||||||
pentablet-driver
|
pentablet-driver
|
||||||
procps
|
procps
|
||||||
ripgrep
|
ripgrep
|
||||||
|
shotwell
|
||||||
skypeforlinux
|
skypeforlinux
|
||||||
# slack
|
# slack
|
||||||
spotify
|
spotify
|
||||||
|
|
|
||||||
11
nixos_modules/sesar.nix
Normal file
11
nixos_modules/sesar.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
networking = {
|
||||||
|
hosts = {
|
||||||
|
"datanode1" = [ "172.20.28.210" ];
|
||||||
|
"datanode2" = [ "172.20.28.210" ];
|
||||||
|
"datanode3" = [ "172.20.28.210" ];
|
||||||
|
"*.engine.sesar.int" = [ "172.20.28.210" ];
|
||||||
|
"vcenter.sesar.int" = [ "159.149.147.137" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -34,10 +34,6 @@
|
||||||
# firewall.allowedUDPPorts = [ ... ];
|
# firewall.allowedUDPPorts = [ ... ];
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# firewall.enable = false;
|
# firewall.enable = false;
|
||||||
hosts = {
|
|
||||||
"*.engine.sesar.int" = [ "172.20.28.210" ];
|
|
||||||
"vcenter.sesar.int" = [ "159.149.147.137" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
|
|
|
||||||
|
|
@ -67,10 +67,6 @@
|
||||||
};
|
};
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
hosts = {
|
|
||||||
"*.engine.sesar.int" = [ "172.20.28.210" ];
|
|
||||||
"vcenter.sesar.int" = [ "172.20.28.20" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
time.timeZone = "Europe/Rome";
|
time.timeZone = "Europe/Rome";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue