diff --git a/common/nixos.nix b/common/nixos.nix index bb2f221..0882840 100644 --- a/common/nixos.nix +++ b/common/nixos.nix @@ -12,10 +12,7 @@ lib.mkDefault config.hardware.enableRedistributableFirmware; }; - nixpkgs = { - config.allowUnfree = true; - hostPlatform = lib.mkDefault "x86_64-linux"; - }; + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; users = { defaultUserShell = pkgs.zsh; diff --git a/hosts/greatyamada/services/minecraft/default.nix b/hosts/greatyamada/services/minecraft/default.nix index 5e12c7e..868df3c 100644 --- a/hosts/greatyamada/services/minecraft/default.nix +++ b/hosts/greatyamada/services/minecraft/default.nix @@ -30,7 +30,6 @@ in { services.minecraft-servers = { enable = true; eula = true; - dataDir = "/mnt/ssd-01/minecraft"; environmentFile = config.sops.templates."minecraft.env".path; managementSystem = { tmux.enable = false; diff --git a/hosts/mizuki/nixos.nix b/hosts/mizuki/nixos.nix index eabc478..034c5b2 100644 --- a/hosts/mizuki/nixos.nix +++ b/hosts/mizuki/nixos.nix @@ -20,6 +20,7 @@ nix.settings.experimental-features = [ "nix-command" "flakes" ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + nixpkgs.config.allowUnfree = true; programs.zsh.enable = true; diff --git a/hosts/totsugeki/nixos/default.nix b/hosts/totsugeki/nixos/default.nix index ceb7eeb..423fc5d 100644 --- a/hosts/totsugeki/nixos/default.nix +++ b/hosts/totsugeki/nixos/default.nix @@ -58,6 +58,8 @@ ]; }; + nixpkgs.config.allowUnfree = true; + fonts = { packages = with pkgs; [ inter