mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
Mildly insane argument passing to modules
This commit is contained in:
parent
5254992a3a
commit
03fe49b85a
32 changed files with 134 additions and 164 deletions
|
|
@ -1,5 +1,4 @@
|
|||
{ _file, self }:
|
||||
{ lib, ... }:
|
||||
{ self', lib }:
|
||||
{
|
||||
# I manually switch this sometimes
|
||||
config = lib.mkIf false {
|
||||
|
|
@ -35,7 +34,7 @@
|
|||
"network.target"
|
||||
"minecraft-server.socket"
|
||||
];
|
||||
path = [ self.packages.papermc ];
|
||||
path = [ self'.packages.papermc ];
|
||||
script = ''
|
||||
minecraft-server \
|
||||
-Xms8G \
|
||||
|
|
@ -100,5 +99,4 @@
|
|||
'';
|
||||
};
|
||||
};
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue