test linode

This commit is contained in:
iFargle 2023-09-21 18:11:17 +09:00
parent ce99e4c1c8
commit 5e064f7f69
2 changed files with 10 additions and 1 deletions

View file

@ -57,7 +57,8 @@
}; };
imageConfigurations = { imageConfigurations = {
nixos-rpi4-img = libx.mkImage { hostname = "nixos-rpi4-img"; platform = "aarch64-linux"; format = "sd-aarch64"; }; nixos-rpi4-img = libx.mkImage { hostname = "nixos-rpi4-img"; platform = "aarch64-linux"; format = "sd-aarch64"; };
nixos-iso-console = libx.mkImage { hostname = "nixos-iso-console"; format = "linode"; }; nixos-iso-console = libx.mkImage { hostname = "nixos-iso-console"; format = "iso"; };
nixos-linode-img = libx.mkImage { hostname = "nixos-linode-img"; format = "linode"; };
}; };
# Devshell for bootstrapping; acessible via 'nix develop' # Devshell for bootstrapping; acessible via 'nix develop'

View file

@ -0,0 +1,8 @@
{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
nixpkgs.config.allowUnfree = false;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
networking.hostName = "nixos-linode-img";
networking.firewall.allowedTCPPorts = [ 22 ];
}