summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Stachurski <j.stachurski@student.utwente.nl>2025-05-21 15:45:09 +0200
committerJakub Stachurski <j.stachurski@student.utwente.nl>2025-05-21 15:45:09 +0200
commit82df71365a4d57e9a1d69500cf03f1df77a2b7d3 (patch)
treef748dd2ca93a5270c8f7656c341982a405f9be16
parent7203ab5ccedeb2b15d0869134c06f71f79c83841 (diff)
direnv
-rw-r--r--home-manager/modules/apps/default.nix5
-rw-r--r--home-manager/modules/apps/desktop/hyprland.nix4
-rw-r--r--home-manager/modules/default.nix1
-rw-r--r--home-manager/modules/direnv.nix8
4 files changed, 11 insertions, 7 deletions
diff --git a/home-manager/modules/apps/default.nix b/home-manager/modules/apps/default.nix
index 228fc29..e47ee81 100644
--- a/home-manager/modules/apps/default.nix
+++ b/home-manager/modules/apps/default.nix
@@ -30,10 +30,5 @@ with lib;
ranger
file
inputs.iamb.packages."${pkgs.system}".default
-
- # Do i need this?
- php83
- php83Packages.composer
-
];
}
diff --git a/home-manager/modules/apps/desktop/hyprland.nix b/home-manager/modules/apps/desktop/hyprland.nix
index dd9e587..99efe1c 100644
--- a/home-manager/modules/apps/desktop/hyprland.nix
+++ b/home-manager/modules/apps/desktop/hyprland.nix
@@ -1,4 +1,4 @@
-{cfg, lib, pkgs, ...}:
+{lib, pkgs, ...}:
with lib;
{
@@ -135,7 +135,7 @@ with lib;
# Programs
"$terminal" = "kitty";
"$fileManager" = "thunar";
- "$menu" = "wofi --show run";
+ "$menu" = "wofi --show drun";
"$screenshot" = "hyprshot -m region -f screenshots/screenshot_$(date +'%d-%m-%y_%H-%M-%S').png";
diff --git a/home-manager/modules/default.nix b/home-manager/modules/default.nix
index 9ea5563..93bb7d5 100644
--- a/home-manager/modules/default.nix
+++ b/home-manager/modules/default.nix
@@ -4,5 +4,6 @@ with lib;
imports = [
./apps
./services
+ ./direnv.nix
];
}
diff --git a/home-manager/modules/direnv.nix b/home-manager/modules/direnv.nix
new file mode 100644
index 0000000..90a8215
--- /dev/null
+++ b/home-manager/modules/direnv.nix
@@ -0,0 +1,8 @@
+{pkgs, config, ...}:
+{
+ programs.direnv = {
+ enable = true;
+ enableZshIntegration = true;
+ nix-direnv.enable = true;
+ };
+}