biolimo/chocolatebar: small networking reshuffling
This commit is contained in:
parent
6783226919
commit
b029aea63a
|
@ -20,9 +20,6 @@ in {
|
|||
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
|
||||
networking.hostName = "biolimo";
|
||||
networking.networkmanager.wifi.backend = "wpa_supplicant";
|
||||
|
||||
home-manager.users."${psCfg.user.name}" = {
|
||||
xdg.configFile = {
|
||||
"sway/config.d/10-screens.conf".source = ./.config/sway/config.d/screens.conf;
|
||||
|
|
|
@ -5,7 +5,9 @@
|
|||
lib,
|
||||
...
|
||||
}: {
|
||||
config = {
|
||||
networking.hostName = "biolimo";
|
||||
networking.networkmanager.wifi.backend = "wpa_supplicant";
|
||||
|
||||
age.secrets.wg-private-key.file = "${flake.self}/secrets/wg-private-biolimo.age";
|
||||
|
||||
pub-solar.wireguard-client = {
|
||||
|
@ -15,5 +17,4 @@
|
|||
];
|
||||
wireguardPrivateKeyFile = "/run/agenix/wg-private-key";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -28,8 +28,6 @@ in {
|
|||
|
||||
pub-solar.terminal-life.full = true;
|
||||
|
||||
networking.hostName = "chocolatebar";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
drone-docker-runner
|
||||
stdenv.cc.cc.lib
|
||||
|
|
|
@ -20,7 +20,6 @@ with lib; let
|
|||
'';
|
||||
};
|
||||
in {
|
||||
config = {
|
||||
services.factorio = {
|
||||
enable = true;
|
||||
port = 34197; # The default, but make it explicit
|
||||
|
@ -42,5 +41,4 @@ in {
|
|||
|
||||
networking.firewall.allowedUDPPorts = [ 34197 ];
|
||||
networking.firewall.allowedTCPPorts = [ 34197 ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
lib,
|
||||
...
|
||||
}: {
|
||||
config = {
|
||||
networking.hostName = "chocolatebar";
|
||||
|
||||
age.secrets.wg-private-key.file = "${flake.self}/secrets/wg-private-chocolatebar.age";
|
||||
|
||||
pub-solar.wireguard-client = {
|
||||
|
@ -15,5 +16,4 @@
|
|||
];
|
||||
wireguardPrivateKeyFile = "/run/agenix/wg-private-key";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue