about summary refs log tree commit diff
path: root/configurations/eonwe
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-05-05 18:29:47 +0300
committerAzat Bahawi <azat@bahawi.net>2024-05-05 18:29:47 +0300
commite2f999ec2a3dd7e9a52c7e2fadfe96976b5aee53 (patch)
treeb1a888abb6f8fd806ce06280e124bf8a55f6ba6a /configurations/eonwe
parent2024-05-05 (diff)
2024-05-05
Diffstat (limited to 'configurations/eonwe')
-rw-r--r--configurations/eonwe/default.nix14
-rw-r--r--configurations/eonwe/vidya.nix38
2 files changed, 39 insertions, 13 deletions
diff --git a/configurations/eonwe/default.nix b/configurations/eonwe/default.nix
index 1d246c6..fdff40e 100644
--- a/configurations/eonwe/default.nix
+++ b/configurations/eonwe/default.nix
@@ -20,12 +20,6 @@ with lib;
     android.enable = true;
     beets.enable = true;
     bluetooth.enable = true;
-    games = {
-      lutris.enable = true;
-      minecraft.client.enable = true;
-      steam.enable = true;
-      steam-run.quirks.blackIsleStudios = true;
-    };
     libvirtd.enable = true;
     incus.enable = true;
     mpd.enable = true;
@@ -34,23 +28,17 @@ with lib;
 
   hm = {
     home.packages = with pkgs; [
-      # anki
-      gzdoom
+      # anki # FIXME Broken again.
       iaito
       kdenlive
       krita
       obs-studio
-      openmw
-      openttd
       qbittorrent
       qolibri
-      qzdl
       radeontop
-      vcmi
       vesktop
       vial
       wacomtablet
-      xonotic
     ];
 
     programs = {
diff --git a/configurations/eonwe/vidya.nix b/configurations/eonwe/vidya.nix
new file mode 100644
index 0000000..d2b85f5
--- /dev/null
+++ b/configurations/eonwe/vidya.nix
@@ -0,0 +1,38 @@
+{ pkgs, ... }:
+{
+  nixfiles.modules = {
+    common.nix.allowedUnfreePackages = [
+      "dwarf-fortress"
+      "fallout-ce"
+      "fallout2-ce"
+    ];
+
+    games = {
+      lutris.enable = true;
+
+      steam.enable = true;
+      steam-run.quirks.blackIsleStudios = true;
+
+      minecraft.client.enable = true;
+    };
+  };
+
+  hm.home.packages = with pkgs; [
+    (crawl.override { tileMode = true; })
+    (dwarf-fortress-packages.dwarf-fortress-full.override {
+      dfVersion = "0.47.05";
+      theme = "cla";
+      enableIntro = false;
+      enableFPS = true;
+    })
+    fallout-ce
+    fallout2-ce
+    gzdoom
+    nethack
+    openmw
+    openttd
+    qzdl
+    vcmi
+    xonotic
+  ];
+}

Consider giving Nix/NixOS a try! <3