Compare commits
No commits in common. "14e899476b4df4c7572d043550e42736ad3efc0c" and "d45446b41047eb591bac9f09a11343c9081105a3" have entirely different histories.
14e899476b
...
d45446b410
2 changed files with 11 additions and 9 deletions
|
|
@ -1,12 +1,14 @@
|
|||
{pkgs, lib, ...}: {
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"factorio-headless"
|
||||
];
|
||||
services.factorio = {
|
||||
enable = true;
|
||||
package = (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/ab224822391f803e3b58c65f753162361e769075.tar.gz") {
|
||||
{
|
||||
# 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;
|
||||
}).factorio-headless;
|
||||
};
|
||||
in {
|
||||
enable = true;
|
||||
package = factorio-nixpkgs.factorio-headless;
|
||||
openFirewall = true;
|
||||
nonBlockingSaving = true;
|
||||
game-name = "Chandler's Factorio Server";
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@
|
|||
gnome-sound-recorder
|
||||
inkscape
|
||||
josm
|
||||
kdePackages.kate
|
||||
kate
|
||||
krita
|
||||
kicad
|
||||
libreoffice-qt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue