many changes and more modularizing
This commit is contained in:
parent
df50e70f3e
commit
c96c24f864
109 changed files with 20900 additions and 278 deletions
|
|
@ -49,6 +49,7 @@ in {
|
|||
|
||||
imports = [
|
||||
"${impermanence}/nixos.nix"
|
||||
../network-prefix.nix
|
||||
../../utils/modules/sops.nix
|
||||
../../utils/modules/lego/lego.nix
|
||||
# ../../utils/modules/borgbackup.nix
|
||||
|
|
@ -58,13 +59,15 @@ in {
|
|||
./matrix.nix
|
||||
];
|
||||
|
||||
networkPrefix = config.networkPrefix;
|
||||
|
||||
time.timeZone = "Europe/Vienna";
|
||||
|
||||
systemd.network.networks."10-lan" = {
|
||||
matchConfig.PermanentMACAddress = "02:00:00:00:01:01";
|
||||
address = [ "10.42.97.5/24" ];
|
||||
gateway = [ "10.42.97.1" ];
|
||||
dns = [ "10.42.97.1" ];
|
||||
address = [ "${config.networkPrefix}.97.5/24" ];
|
||||
gateway = [ "${config.networkPrefix}.97.1" ];
|
||||
dns = [ "${config.networkPrefix}.97.1" ];
|
||||
};
|
||||
|
||||
fileSystems."/persist".neededForBoot = lib.mkForce true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue