Consolidate shared.nix file
This commit is contained in:
parent
a4723c6cf2
commit
d114b91070
|
@ -26,6 +26,7 @@ in {
|
|||
./audio-server
|
||||
./ceph-storage.nix
|
||||
./cache.nix
|
||||
./logging.nix
|
||||
];
|
||||
|
||||
|
||||
|
@ -89,6 +90,15 @@ in {
|
|||
|
||||
c3d2.allUsersCanSshRoot = lib.mkDefault true;
|
||||
|
||||
i18n = {
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
supportedLocales = [
|
||||
"en_US.UTF-8/UTF-8"
|
||||
"de_DE.UTF-8/UTF-8"
|
||||
"C.UTF-8/UTF-8"
|
||||
];
|
||||
};
|
||||
|
||||
networking.defaultGateway = lib.mkIf (!config.networking.useNetworkd) (
|
||||
mkIfIsInHq "172.22.99.4"
|
||||
);
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./logging.nix ];
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
i18n = {
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
supportedLocales = lib.mkForce [
|
||||
"en_US.UTF-8/UTF-8"
|
||||
"de_DE.UTF-8/UTF-8"
|
||||
"C.UTF-8/UTF-8"
|
||||
];
|
||||
};
|
||||
}
|
|
@ -4,7 +4,6 @@
|
|||
imports = [
|
||||
../../../config
|
||||
../../../config/lxc-container.nix
|
||||
../../../config/shared.nix
|
||||
];
|
||||
|
||||
c3d2.k-ot.enable = true;
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
imports = [
|
||||
../../../config
|
||||
../../../config/lxc-container.nix
|
||||
../../../config/shared.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
imports = [
|
||||
../../../config
|
||||
../../../config/lxc-container.nix
|
||||
../../../config/shared.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
|
@ -62,4 +61,3 @@
|
|||
# should.
|
||||
system.stateVersion = "19.03"; # Did you read the comment?
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue