diff options
| author | Christian Krinitsin <code@krinitsin.xyz> | 2025-02-16 20:16:03 +0100 |
|---|---|---|
| committer | Christian Krinitsin <code@krinitsin.xyz> | 2025-02-16 20:16:03 +0100 |
| commit | dea825d1dba8023ecc6ec75dd760ccea37fd72a4 (patch) | |
| tree | 75d12cf57973b2d82fc1cf13fe954e58efeacde6 /configuration.nix | |
| parent | 42d3f2e8c9369f24a1e89efdd3b6cbe1f4b10821 (diff) | |
| download | nosix-dea825d1dba8023ecc6ec75dd760ccea37fd72a4.tar.gz nosix-dea825d1dba8023ecc6ec75dd760ccea37fd72a4.zip | |
add minecraft-server module
Diffstat (limited to 'configuration.nix')
| -rw-r--r-- | configuration.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/configuration.nix b/configuration.nix index fd96328..361aff7 100644 --- a/configuration.nix +++ b/configuration.nix @@ -4,6 +4,7 @@ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + ./modules/minecraft-server.nix ]; boot.loader.grub.enable = true; @@ -15,13 +16,16 @@ users.users.admin = { isNormalUser = true; - extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. + extraGroups = [ "wheel" ]; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJZxiAIsF13XqqxG0QzGFhT3iLDMsu2snb0wJOPUUq8e chris@deskpin" ]; }; environment.systemPackages = with pkgs; [ - neovim git + git + neovim openssh + htop + lazygit ]; services.openssh.enable = true; |