From 928a9a4456e4f334113c23c16cc3343b53782349 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Thu, 10 Nov 2022 10:59:09 +0100 Subject: [PATCH 1/2] minecraft: Switch to unstable --- hosts/architect/minecraft.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/architect/minecraft.nix b/hosts/architect/minecraft.nix index 703d3d1..33890ac 100644 --- a/hosts/architect/minecraft.nix +++ b/hosts/architect/minecraft.nix @@ -1,13 +1,15 @@ { config, pkgs, ... }: -let +let domain = "minecraft.giugl.io"; network = import ./network.nix; -in { +in +{ services.minecraft-server = { enable = true; eula = true; declarative = true; + package = pkgs.unstable.minecraft-server; serverProperties = { motd = "Welcome on the RuNas server!"; }; }; From a552cbda8dcf869f346d4216086c31148820b164 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Thu, 10 Nov 2022 15:07:05 +0100 Subject: [PATCH 2/2] helix: Force true-color. Added typescript package for LSP. Render whitespaces --- roles/home/helix.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/home/helix.nix b/roles/home/helix.nix index 0240d18..0227bb8 100644 --- a/roles/home/helix.nix +++ b/roles/home/helix.nix @@ -12,6 +12,7 @@ [editor] cursorline = true + true-color = true [editor.cursor-shape] insert = "bar" @@ -23,6 +24,9 @@ [editor.indent-guides] render = true + + [editor.whitespace] + render = "all" ''; packages = with pkgs.unstable; [ @@ -32,6 +36,7 @@ rnix-lsp python310Packages.python-lsp-server texlab + nodePackages.typescript ]; }; }