Reorg linode img
Some checks failed
build-linode-img / build-linode-img (push) Failing after 1s

This commit is contained in:
iFargle 2023-12-19 11:30:26 +09:00
parent e9ba9e9a83
commit cc7e1aeddd

View file

@ -1,12 +1,21 @@
{ config, lib, pkgs, modulesPath, desktop, username, ... }: { { config, lib, pkgs, modulesPath, desktop, username, ... }: {
nixpkgs.config.allowUnfree = false; boot = {
boot.initrd.kernelModules = [ ]; initrd.kernelModules = [ ];
boot.kernelModules = [ "iptable_nat" "iptable_filter" "xt_nat" ]; kernelModules = [ "iptable_nat", "iptable_filter", "xt_nat" ];
boot.extraModulePackages = [ ]; extraModulePackages = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; };
time.timeZone = "Asia/Tokyo";
networking.hostName = "nixos-linode-img"; time.timezone = "Asia/Tokyo";
networking.useDHCP = lib.mkForce false;
networking.enableIPv6 = lib.mkForce false; nixpkgs = {
networking.firewall.allowedTCPPorts = [ 22 ]; config.allowUnfree = false;
hostPlatform = lib.mkDefault "x86_64-linux";
};
networking = {
hostName = "nixos-linode-img";
useDHCP = lib.mkForce false;
enableIPv6 = lib.mkForce false;
firewall.allowedTCPPorts = [ 22 ];
};
} }