diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-08-31 12:54:15 +0200 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-08-31 12:59:00 +0200 |
| commit | 0c3a7c1df10b10123f45ddf675ca120422f9504b (patch) | |
| tree | bf2cfd4621c9595f510fc12eaaa8e3953cedec0a | |
| parent | f4832fceb65e255148322ed0486c50a69c5aa58e (diff) | |
hyprdesktop: add factorio
| -rw-r--r-- | share/hm-modules/hyprdesktop.nix | 1 | ||||
| -rw-r--r-- | share/system/client-common.nix | 14 |
2 files changed, 13 insertions, 2 deletions
diff --git a/share/hm-modules/hyprdesktop.nix b/share/hm-modules/hyprdesktop.nix index 8298ce1..109e7f1 100644 --- a/share/hm-modules/hyprdesktop.nix +++ b/share/hm-modules/hyprdesktop.nix @@ -149,6 +149,7 @@ in wineWowPackages.full winetricks qemu_kvm + factorio ] ++ lists.optionals cfg.hasBrightnessCtl [ brightnessctl ] ++ lists.optionals cfg.enableGitAnnex [ diff --git a/share/system/client-common.nix b/share/system/client-common.nix index db26f4e..4151cbd 100644 --- a/share/system/client-common.nix +++ b/share/system/client-common.nix @@ -2,7 +2,18 @@ { inputs, pkgs, ... }: { imports = [ ./steam.nix ]; - nixpkgs.overlays = [ inputs.rust-overlay.overlays.default ]; + nixpkgs = { + overlays = [ inputs.rust-overlay.overlays.default ]; + config = { + allowUnfree = true; + packageOverrides = pkgs: { + factorio = pkgs.factorio.override { + username = "IHazPink"; + token = "599e9c5aa6cdcd78be60cc9af5d9af"; + }; + }; + }; + }; programs.hyprland.enable = true; boot.supportedFilesystems = [ @@ -10,7 +21,6 @@ "bcachefs" ]; - nixpkgs.config.allowUnfree = true; nix.gc = { dates = "daily"; automatic = true; |
