Extract Shared NixOS Settings
This commit is contained in:
@@ -5,16 +5,11 @@
|
||||
../../modules/base.nix
|
||||
../../modules/docker.nix
|
||||
../../modules/libvirtd.nix
|
||||
../../modules/zerotier.nix
|
||||
./firewall.nix
|
||||
./hardware.nix
|
||||
];
|
||||
|
||||
systemd.services.nix-daemon.environment = {
|
||||
HTTPS_PROXY = "http://192.168.1.10:10172";
|
||||
HTTP_PROXY = "http://192.168.1.10:10172";
|
||||
NO_PROXY = "localhost,127.0.0.0/8,::1,192.168.1.0/24";
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "cloud-pc";
|
||||
useDHCP = false;
|
||||
@@ -50,18 +45,6 @@
|
||||
options = [ "nofail" ];
|
||||
};
|
||||
|
||||
systemd.network.wait-online.anyInterface = true;
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
services.zerotierone = {
|
||||
enable = true;
|
||||
joinNetworks = [
|
||||
"743993800fa5a34c"
|
||||
];
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /opt/data/postgres 0755 ada users - -"
|
||||
"d /opt/data/nextcloud 0755 ada users - -"
|
||||
|
||||
Reference in New Issue
Block a user