added direnv

This commit is contained in:
Gabriella Bere 2025-01-15 23:45:04 +00:00
parent c21f01f1c5
commit fd2da06ebf
3 changed files with 15 additions and 5 deletions

7
home-manager/direnv.nix Normal file
View file

@ -0,0 +1,7 @@
{config, ...}: {
programs.direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
}

View file

@ -19,6 +19,7 @@
./nextcloud.nix ./nextcloud.nix
./git.nix ./git.nix
./stylix.nix ./stylix.nix
./direnv.nix
]; ];
# States home manager version that config was originally compatible with, do not change without reading all patch notes since this version and altering as needed # States home manager version that config was originally compatible with, do not change without reading all patch notes since this version and altering as needed

View file

@ -80,12 +80,14 @@
# Enable greetd with ReGreet # Enable greetd with ReGreet
services.greetd = { services.greetd = {
enable = true; enable = true;
# settings.default_session = { # settings.default_session = {
# command = "${pkgs.regreet}/bin/regreet"; # command = "${pkgs.greetd.regreet}/bin/regreet";
# user = "greeter"; # };
# }; };
programs.regreet = {
enable = true;
cageArgs = [ "-m" "last" ];
}; };
programs.regreet.enable = true;
# Enable the Hyprland WM functionality for NixOS (xdg portals etc.) # Enable the Hyprland WM functionality for NixOS (xdg portals etc.)
programs.hyprland.enable = true; programs.hyprland.enable = true;