nix/nixos/hosts/nixos-linode-img/default.nix
2023-09-21 19:36:25 +09:00

12 lines
375 B
Nix

{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
nixpkgs.config.allowUnfree = false;
# Linode-specific imaage assertions
networking.useDHCP = lib.mkForce true;
networking.enableIPv6 = lib.mkForce true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
networking.hostName = "nixos-linode-img";
networking.firewall.allowedTCPPorts = [ 22 ];
}