Compare commits
3 commits
d45446b410
...
14e899476b
Author | SHA1 | Date | |
---|---|---|---|
|
14e899476b | ||
|
429b8243d0 | ||
|
766dc0011d |
|
@ -1,14 +1,12 @@
|
|||
{
|
||||
# nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
# "factorio-headless"
|
||||
# ];
|
||||
services.factorio = let
|
||||
factorio-nixpkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/7e35ac30ea1d236419653182559367ecd8a30675.tar.gz") {
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in {
|
||||
{pkgs, lib, ...}: {
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"factorio-headless"
|
||||
];
|
||||
services.factorio = {
|
||||
enable = true;
|
||||
package = factorio-nixpkgs.factorio-headless;
|
||||
package = (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/ab224822391f803e3b58c65f753162361e769075.tar.gz") {
|
||||
config.allowUnfree = true;
|
||||
}).factorio-headless;
|
||||
openFirewall = true;
|
||||
nonBlockingSaving = true;
|
||||
game-name = "Chandler's Factorio Server";
|
||||
|
|
|
@ -136,7 +136,7 @@
|
|||
gnome-sound-recorder
|
||||
inkscape
|
||||
josm
|
||||
kate
|
||||
kdePackages.kate
|
||||
krita
|
||||
kicad
|
||||
libreoffice-qt
|
||||
|
|
Loading…
Reference in a new issue