about summary refs log tree commit diff
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
parent2024-05-05 (diff)
2024-05-05
Diffstat (limited to '')
-rw-r--r--configurations/eonwe/default.nix14
-rw-r--r--configurations/eonwe/vidya.nix38
-rw-r--r--flake.lock48
3 files changed, 63 insertions, 37 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
+  ];
+}
diff --git a/flake.lock b/flake.lock
index 31d2a39..9da599c 100644
--- a/flake.lock
+++ b/flake.lock
@@ -565,11 +565,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1714679908,
-        "narHash": "sha256-KzcXzDvDJjX34en8f3Zimm396x6idbt+cu4tWDVS2FI=",
+        "lastModified": 1714900398,
+        "narHash": "sha256-H7XYHpjk1G6dkA3AnbYrKtaTFjcCE7ul6nUVlVQxtsA=",
         "owner": "nix-community",
         "repo": "home-manager",
-        "rev": "9036fe9ef8e15a819fa76f47a8b1f287903fb848",
+        "rev": "fdaaf543bad047639ef0b356ea2e6caec2f1215c",
         "type": "github"
       },
       "original": {
@@ -645,11 +645,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1714785522,
-        "narHash": "sha256-CeF/V8MEFXfzQOJlYXA4qln8bleyY+wHFYIRd0tiyng=",
+        "lastModified": 1714872254,
+        "narHash": "sha256-O9n7CATdL7uD+MNcxd8RhjA4Bn6yweF7uoGaJKOYcE0=",
         "owner": "Infinidoge",
         "repo": "nix-minecraft",
-        "rev": "1929df70e64ca401ea8e07cf38c41fa7a2f78048",
+        "rev": "716121fd08323465a25878cba2814f7463be0095",
         "type": "github"
       },
       "original": {
@@ -665,11 +665,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1714273701,
-        "narHash": "sha256-bmoeZ5zMSSO/e8P51yjrzaxA9uzA3SZAEFvih6S3LFo=",
+        "lastModified": 1714878592,
+        "narHash": "sha256-E68C03sYRsYFsK7wiGHUIJm8IsyPRALOrFoTL0glXnI=",
         "owner": "nix-community",
         "repo": "nix-index-database",
-        "rev": "941c4973c824509e0356be455d89613611f76c8a",
+        "rev": "a362555e9dbd4ecff3bb98969bbdb8f79fe87f10",
         "type": "github"
       },
       "original": {
@@ -705,11 +705,11 @@
     },
     "nixos-hardware": {
       "locked": {
-        "lastModified": 1714746424,
-        "narHash": "sha256-Jdyw7VcM+jQ0uSXgjFj8UdXZ229yOvPNlYkKyKyHA4s=",
+        "lastModified": 1714885415,
+        "narHash": "sha256-LG+2IVqVi1fy724rSDAkgqae+f47fGGko4cJhtkN8PE=",
         "owner": "NixOS",
         "repo": "nixos-hardware",
-        "rev": "3f017311191fe6d501ca2496a835d012f656ee9c",
+        "rev": "753176b57b3fcddb140c1c012868e62c025120bd",
         "type": "github"
       },
       "original": {
@@ -720,11 +720,11 @@
     },
     "nixpkgs": {
       "locked": {
-        "lastModified": 1714750952,
-        "narHash": "sha256-oOUdvPrO8CbupgDSaPou+Jv6GL+uQA2QlE33D7OLzkM=",
+        "lastModified": 1714809261,
+        "narHash": "sha256-hfBmnYFyz9I1mdrC3tX1A+dF9cOUcds5PIMPxrT+cRk=",
         "owner": "NixOS",
         "repo": "nixpkgs",
-        "rev": "5fd8536a9a5932d4ae8de52b7dc08d92041237fc",
+        "rev": "d32560238207b8e26d88b265207b216ee46b8450",
         "type": "github"
       },
       "original": {
@@ -736,11 +736,11 @@
     },
     "nixpkgs-master": {
       "locked": {
-        "lastModified": 1714823303,
-        "narHash": "sha256-yyD3PfmbpGUw8329ra4oyGa9XSqfhSgxLnSy05QwINc=",
+        "lastModified": 1714918599,
+        "narHash": "sha256-xC/YiDwYPUiBdb92EKheCJlioIKldbFmuxKISvWnLR8=",
         "owner": "NixOS",
         "repo": "nixpkgs",
-        "rev": "14e704d967cc63fe36afa46aa06204407a11d1d0",
+        "rev": "4e83e12e19f96a483dab8a31851f8b7ae8f224bb",
         "type": "github"
       },
       "original": {
@@ -752,11 +752,11 @@
     },
     "nixpkgs-stable": {
       "locked": {
-        "lastModified": 1714782413,
-        "narHash": "sha256-tbg0MEuKaPcUrnmGCu4xiY5F+7LW2+ECPKVAJd2HLwM=",
+        "lastModified": 1714917266,
+        "narHash": "sha256-uxNVLUDf5HY+140Y/9uyYyqAml51W1y0CuRkQid+nnw=",
         "owner": "NixOS",
         "repo": "nixpkgs",
-        "rev": "651b4702e27a388f0f18e1b970534162dec09aff",
+        "rev": "fb5a7b84b7127ed1baa8bc4242368ecc99fcd4e3",
         "type": "github"
       },
       "original": {
@@ -1024,11 +1024,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1714785573,
-        "narHash": "sha256-Q8sRrVL+YerB6ka6cTa2NhYi+n9dNAlfv3ZhWgGQApU=",
+        "lastModified": 1714872267,
+        "narHash": "sha256-G04hUZnX7rrJ5a9A2OqrKZ1x25svs2xpGDrP2ExExUg=",
         "owner": "nix-community",
         "repo": "nix-vscode-extensions",
-        "rev": "207b8f0eaeb4d937db21ace9d5e8c14d7ce734ec",
+        "rev": "7d48b70548c01495e9d434db3a89f61600ca4aca",
         "type": "github"
       },
       "original": {

Consider giving Nix/NixOS a try! <3