Add Factorio client to oscar

main
Chandler Swift 2024-08-05 20:43:13 -05:00
parent 5e3015d5e3
commit c8036f9a55
Signed by: chandlerswift
GPG Key ID: A851D929D52FB93F
1 changed files with 6 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
{
imports =
@ -12,6 +12,10 @@
<home-manager/nixos>
];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"factorio-alpha"
];
# https://discourse.nixos.org/t/github-strategies-for-configuration-nix/1983/14
nix.nixPath = [
"nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos"
@ -160,6 +164,7 @@
environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
factorio
];
# Some programs need SUID wrappers, can be configured further or are