nix/nixos/hosts/nixos-linode-img/default.nix

13 lines
375 B
Nix
Raw Normal View History

2023-09-21 18:11:17 +09:00
{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
nixpkgs.config.allowUnfree = false;
2023-09-21 19:36:25 +09:00
# Linode-specific imaage assertions
2023-09-21 19:35:10 +09:00
networking.useDHCP = lib.mkForce true;
2023-09-21 19:35:56 +09:00
networking.enableIPv6 = lib.mkForce true;
2023-09-21 19:36:25 +09:00
2023-09-21 18:11:17 +09:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
networking.hostName = "nixos-linode-img";
networking.firewall.allowedTCPPorts = [ 22 ];
}