about summary refs log tree commit diff
path: root/nixosConfigurations
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-11-19 21:58:34 +0300
committerAzat Bahawi <azat@bahawi.net>2023-11-19 21:58:34 +0300
commitedf7cc355cb1f55a9301283ebec15e01dc4ffe62 (patch)
treebf7745040efadac618168b7a9a764acb482acb07 /nixosConfigurations
parent2023-11-16 (diff)
2023-11-19
Diffstat (limited to '')
-rw-r--r--nixosConfigurations/eonwe/default.nix1
-rw-r--r--nixosConfigurations/melian/default.nix9
2 files changed, 7 insertions, 3 deletions
diff --git a/nixosConfigurations/eonwe/default.nix b/nixosConfigurations/eonwe/default.nix
index e6c6e5e..dcfbb0d 100644
--- a/nixosConfigurations/eonwe/default.nix
+++ b/nixosConfigurations/eonwe/default.nix
@@ -48,7 +48,6 @@ with lib; {
       vcmi
       vesktop
       vial
-      wireshark
       xonotic
     ];
 
diff --git a/nixosConfigurations/melian/default.nix b/nixosConfigurations/melian/default.nix
index f4178e2..64dd152 100644
--- a/nixosConfigurations/melian/default.nix
+++ b/nixosConfigurations/melian/default.nix
@@ -1,4 +1,9 @@
-{pkgs, ...}: {
+{
+  lib,
+  pkgs,
+  ...
+}:
+with lib; {
   nixfiles.modules = {
     wireguard.client.enable = true;
 
@@ -18,7 +23,7 @@
   };
 
   powerManagement = let
-    modprobe = "${pkgs.kmod}/bin/modprobe";
+    modprobe = getExe' pkgs.kmod "modprobe";
   in {
     enable = true;
 

Consider giving Nix/NixOS a try! <3