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, ... }: {
nixpkgs.config.allowUnfree = false;
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "iptable_nat" "iptable_filter" "xt_nat" ];
boot.extraModulePackages = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
time.timeZone = "Asia/Tokyo";
networking.hostName = "nixos-linode-img";
networking.useDHCP = lib.mkForce false;
networking.enableIPv6 = lib.mkForce false;
networking.firewall.allowedTCPPorts = [ 22 ];
boot = {
initrd.kernelModules = [ ];
kernelModules = [ "iptable_nat", "iptable_filter", "xt_nat" ];
extraModulePackages = [ ];
};
time.timezone = "Asia/Tokyo";
nixpkgs = {
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 ];
};
}