diff --git a/nixos/hosts/nixos-linode-img/default.nix b/nixos/hosts/nixos-linode-img/default.nix index ad0de4f0..01597621 100644 --- a/nixos/hosts/nixos-linode-img/default.nix +++ b/nixos/hosts/nixos-linode-img/default.nix @@ -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 ]; + }; } \ No newline at end of file