whoops - improving?
This commit is contained in:
parent
f66b6aded8
commit
8ad60588c3
19 changed files with 30 additions and 29 deletions
29
modules/home/terminal/default.nix
Normal file
29
modules/home/terminal/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
data = config.xdg.dataHome;
|
||||
conf = config.xdg.configHome;
|
||||
cache = config.xdg.cacheHome;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./programs
|
||||
./kitty.nix
|
||||
./fish.nix
|
||||
];
|
||||
|
||||
# add environment variables
|
||||
home.sessionVariables = {
|
||||
# clean up ~
|
||||
LESSHISTFILE = "${cache}/less/history";
|
||||
LESSKEY = "${conf}/less/lesskey";
|
||||
|
||||
WINEPREFIX = "${data}/wine";
|
||||
XAUTHORITY = "$XDG_RUNTIME_DIR/Xauthority";
|
||||
|
||||
EDITOR = "nvim";
|
||||
DIRENV_LOG_FORMAT = "";
|
||||
|
||||
# auto-run programs using nix-index-database
|
||||
NIX_AUTO_RUN = "1";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue