Emacs direnv

This commit is contained in:
Aleksandr Lebedev 2025-07-22 12:39:45 +02:00
parent 95a09cea0b
commit 276cd97915
5 changed files with 23 additions and 3 deletions

View file

@ -30,6 +30,7 @@ in
./modules/dolphin
./modules/emacs
./modules/gnupg
./modules/direnv
./hosts/${hwconfig.hostname}
] ++ lib.optional (hwconfig.useImpermanence) ./modules/impermanence;
facter.reportPath = ./hosts/${hwconfig.hostname}/facter.json;

View file

@ -235,6 +235,17 @@
open-floating = true;
open-focused = true;
}
{ #PiP
matches = [
{
title = "Picture-in-Picture";
}
];
open-floating = true;
open-focused = false;
opacity = 1.0;
default-floating-position = { x = 0; y = 0; relative-to = "top-right"; };
}
];
debug = lib.mkIf (hwconfig.hostname == "kylekrein-mac") {
render-drm-device = "/dev/dri/renderD128";

View file

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

View file

@ -14,6 +14,7 @@
./modules/flatpak
./modules/emacs
./modules/gnupg
./modules/direnv
./hosts/${hwconfig.hostname}
] ++ lib.optional (hwconfig.useImpermanence) ./modules/impermanence;