31 lines
597 B
Nix
31 lines
597 B
Nix
{
|
|
inputs,
|
|
outputs,
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
inputs.sops-nix.nixosModules.sops
|
|
./hardware-configuration.nix
|
|
../server
|
|
./docker.nix
|
|
# ./podman.nix
|
|
# ../server/unifi.nix
|
|
];
|
|
networking.hostName = "fred";
|
|
variables.address = "100.72.236.170";
|
|
boot = {
|
|
binfmt.emulatedSystems = lib.optionals (config.system != "aarch64-linux") [ "aarch64-linux" ];
|
|
loader = {
|
|
systemd-boot = {enable = true;};
|
|
efi = {
|
|
canTouchEfiVariables = true;
|
|
efiSysMountPoint = "/boot";
|
|
};
|
|
};
|
|
};
|
|
|
|
primary.enable = true;
|
|
}
|