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

13 lines
375 B
Nix
Raw Normal View History

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