Compare commits
2 Commits
main
...
bfb68db9de
| Author | SHA1 | Date | |
|---|---|---|---|
| bfb68db9de | |||
| 8f36738629 |
@@ -1,12 +1,10 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
let cfg = config.sydnix.deertopia.bepasty;
|
let cfg = config.sydnix.deertopia.bepasty;
|
||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
sydnix.deertopia.bepasty = {
|
sydnix.deertopia.bepasty = {
|
||||||
enable = mkEnableOption "Bepasty";
|
enable = lib.mkEnableOption "Bepasty";
|
||||||
|
|
||||||
port = lib.mkOption {
|
port = lib.mkOption {
|
||||||
default = 22018;
|
default = 22018;
|
||||||
@@ -28,6 +26,26 @@ in {
|
|||||||
config.services.bepasty.servers."bin.deertopia.net".dataDir
|
config.services.bepasty.servers."bin.deertopia.net".dataDir
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# See https://github.com/NixOS/nixpkgs/pull/500538
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(self: super: {
|
||||||
|
python3 = super.python3.override {
|
||||||
|
self = self.python3;
|
||||||
|
packageOverrides = self: super: {
|
||||||
|
xstatic-bootstrap =
|
||||||
|
super.xstatic-bootstrap.overridePythonAttrs (oldAttrs: rec {
|
||||||
|
version = "4.5.3.1";
|
||||||
|
src = oldAttrs.src.override {
|
||||||
|
pname = "XStatic-Bootstrap";
|
||||||
|
inherit version;
|
||||||
|
hash = "sha256-z2fSBUN7MlCKiLaafnxbviylqK5xCXORpqb1EOv9KCA=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
};
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
services.bepasty = {
|
services.bepasty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
servers."bin.deertopia.net" = {
|
servers."bin.deertopia.net" = {
|
||||||
|
|||||||
Reference in New Issue
Block a user