test linode
This commit is contained in:
parent
ce99e4c1c8
commit
5e064f7f69
2 changed files with 10 additions and 1 deletions
|
@ -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'
|
||||||
|
|
8
nixos/hosts/nixos-linode-img/default.nix
Normal file
8
nixos/hosts/nixos-linode-img/default.nix
Normal 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 ];
|
||||||
|
}
|
Loading…
Reference in a new issue