Emacs direnv
This commit is contained in:
parent
95a09cea0b
commit
276cd97915
5 changed files with 23 additions and 3 deletions
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -333,11 +333,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753173701,
|
"lastModified": 1753180694,
|
||||||
"narHash": "sha256-G++FZ4+OsjUMH9S6MmLICZn8mDRX2LN6PGArf2zQ8pw=",
|
"narHash": "sha256-2YY7H12n7AisL/I4Xu6y3JWAQ414NHPlpDVbZmmcD30=",
|
||||||
"owner": "kylekrein",
|
"owner": "kylekrein",
|
||||||
"repo": "emacs-config",
|
"repo": "emacs-config",
|
||||||
"rev": "de0c02bcebb2acb4e840930504eaf79afd8a8f98",
|
"rev": "c9040399a4842f8b53ae17b55a208647d403841c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ in
|
||||||
./modules/dolphin
|
./modules/dolphin
|
||||||
./modules/emacs
|
./modules/emacs
|
||||||
./modules/gnupg
|
./modules/gnupg
|
||||||
|
./modules/direnv
|
||||||
./hosts/${hwconfig.hostname}
|
./hosts/${hwconfig.hostname}
|
||||||
] ++ lib.optional (hwconfig.useImpermanence) ./modules/impermanence;
|
] ++ lib.optional (hwconfig.useImpermanence) ./modules/impermanence;
|
||||||
facter.reportPath = ./hosts/${hwconfig.hostname}/facter.json;
|
facter.reportPath = ./hosts/${hwconfig.hostname}/facter.json;
|
||||||
|
|
|
||||||
|
|
@ -235,6 +235,17 @@
|
||||||
open-floating = true;
|
open-floating = true;
|
||||||
open-focused = 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") {
|
debug = lib.mkIf (hwconfig.hostname == "kylekrein-mac") {
|
||||||
render-drm-device = "/dev/dri/renderD128";
|
render-drm-device = "/dev/dri/renderD128";
|
||||||
|
|
|
||||||
7
nixos/modules/direnv/default.nix
Normal file
7
nixos/modules/direnv/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ pkgs, ...}:
|
||||||
|
{
|
||||||
|
programs.direnv = {
|
||||||
|
enable = true;
|
||||||
|
nix-direnv.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
./modules/flatpak
|
./modules/flatpak
|
||||||
./modules/emacs
|
./modules/emacs
|
||||||
./modules/gnupg
|
./modules/gnupg
|
||||||
|
./modules/direnv
|
||||||
./hosts/${hwconfig.hostname}
|
./hosts/${hwconfig.hostname}
|
||||||
] ++ lib.optional (hwconfig.useImpermanence) ./modules/impermanence;
|
] ++ lib.optional (hwconfig.useImpermanence) ./modules/impermanence;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue