Fixing factorio
This commit is contained in:
parent
3f7aa7c2e3
commit
39b51f1ecd
6 changed files with 41 additions and 20 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ nixpkgs-unstable, nixpkgs-stable, ... }:
|
||||
{ nixpkgs-unstable, nixpkgs-stable, pin-factorio, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
|
|
@ -13,13 +13,6 @@
|
|||
local = import ../../pkgs { pkgs = final; };
|
||||
})
|
||||
|
||||
# # Stable
|
||||
# (final: prev: {
|
||||
# stable = import nixpkgs-stable {
|
||||
# system = prev.system;
|
||||
# };
|
||||
# })
|
||||
|
||||
# Unstable
|
||||
(final: prev: {
|
||||
unstable = import nixpkgs-unstable {
|
||||
|
|
@ -33,6 +26,13 @@
|
|||
system = prev.system;
|
||||
};
|
||||
})
|
||||
|
||||
# Pins
|
||||
(final: prev: {
|
||||
pin = {
|
||||
factorio = import pin-factorio { system = prev.system; };
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
nixpkgs.config = {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
{ config, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.factorio = {
|
||||
enable = true;
|
||||
package = pkgs.pin.factorio-headless;
|
||||
openFirewall = true;
|
||||
extraSettingsFile = config.age.secrets.kalif-conf.path;
|
||||
game-name = "Factorio :3 - Kalif - Zora";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue