task sync changes to all <host>/default.nix

This commit is contained in:
Don Harper 2026-05-20 08:04:16 -05:00
parent 4b20ed8394
commit 4364fb17f1
17 changed files with 81 additions and 195 deletions

View file

@ -1,31 +1,22 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
{ inputs, outputs, lib, config, pkgs, ... }: {
imports = [
inputs.sops-nix.nixosModules.sops
../templates/server.nix
./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 (pkgs.stdenv.hostPlatform.system != "aarch64-linux") [ "aarch64-linux" ];
loader = {
systemd-boot = {enable = true;};
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
};
};
# boot = {
# binfmt.emulatedSystems = lib.optionals (pkgs.stdenv.hostPlatform.system != "aarch64-linux") [ "aarch64-linux" ];
# loader = {
# systemd-boot = {enable = true;};
# efi = {
# canTouchEfiVariables = true;
# efiSysMountPoint = "/boot";
# };
# };
# };
primary.enable = true;
}