lets try this
This commit is contained in:
parent
b1c97664c2
commit
ddc82680c7
2 changed files with 32 additions and 6 deletions
10
flake.nix
10
flake.nix
|
|
@ -11,6 +11,13 @@
|
|||
url = "github:nix-community/home-manager/master";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nix-luanti = {
|
||||
type = "gitlab";
|
||||
owner = "leonard";
|
||||
repo = "nix-luanti";
|
||||
host = "git.menzel.lol";
|
||||
ref = "main";
|
||||
};
|
||||
stylix = {
|
||||
url = "github:danth/stylix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
@ -41,7 +48,7 @@
|
|||
outputs = inputs@{ nixpkgs, nixpkgs-stable, home-manager,
|
||||
quickemu, nixos-hardware, emacs, nix-bitcoin, octotype,
|
||||
simple-nixos-mailserver, anipy-cli, darkly, niri, zen,
|
||||
stylix, self, affinity-nix, chaotic, ... }:
|
||||
stylix, self, affinity-nix, chaotic, nix-luanti, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
username = "chris";
|
||||
|
|
@ -179,6 +186,7 @@
|
|||
modules = [
|
||||
./systems/dalinar/configuration.nix
|
||||
# nix-bitcoin.nixosModules.default
|
||||
nix-luanti.nixosModules.default
|
||||
simple-nixos-mailserver.nixosModule
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -66,11 +66,29 @@
|
|||
# enableSSHSupport = true;
|
||||
# };
|
||||
|
||||
services.minetest-server = {
|
||||
enable = true;
|
||||
configPath = /home/chris/luanti;
|
||||
world = /home/chris/luanti/worlds/myworld;
|
||||
gameId = "mineclone2";
|
||||
# services.minetest-server = {
|
||||
# enable = true;
|
||||
# configPath = /home/chris/luanti;
|
||||
# world = /home/chris/luanti/worlds/myworld;
|
||||
# gameId = "mineclone2";
|
||||
# };
|
||||
|
||||
services.luanti.servers.cochrun = {
|
||||
port = 30000;
|
||||
mods = with pkgs.luantiPackages.mods; [
|
||||
waypoints
|
||||
_world_folder_media
|
||||
vl_abandoned_places
|
||||
mobs
|
||||
mcl_autocrafter
|
||||
mcl_copper_stuff
|
||||
mcl_custom_world_skins
|
||||
fakelib
|
||||
everness
|
||||
farming
|
||||
animalia
|
||||
creatura
|
||||
];
|
||||
};
|
||||
|
||||
services.syncthing = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue