nixos/hosts/nixbird/default.nix
2024-07-28 21:30:55 -04:00

44 lines
1.1 KiB
Nix

{ inputs, globals, ... }:
with inputs;
inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
# specialArgs = {inherit inputs;};
modules = [
globals
lix-module.nixosModules.default
home-manager.nixosModules.home-manager
./netbird.nix
../../modules/common
../../modules/nixos
{
home-manager.useGlobalPkgs = true;
physical = false;
server = true;
networking.hostName = "nixbird";
networking.useDHCP = nixpkgs.lib.mkDefault true;
networking.networkmanager.unmanaged = [ "wt0" ];
sops = {
defaultSopsFile = ../../secrets/secrets.yaml;
defaultSopsFormat = "yaml";
age.keyFile = "/home/annika/.config/sops/age/keys.txt";
};
time.timeZone = "America/New_York";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nixpkgs.config.allowUnfree = true;
system.stateVersion = 23.11;
home-manager.backupFileExtension = "backup";
autio.enable = false;
gui.enable = false;
services.openssh.enable = true;
}
];
}