further tidying
This commit is contained in:
parent
c351c646a3
commit
5e395ca047
29 changed files with 110 additions and 155 deletions
|
|
@ -1,53 +0,0 @@
|
|||
{ self, inputs, ... }:
|
||||
|
||||
# let bindings
|
||||
let
|
||||
|
||||
# xdg variables
|
||||
data = config.xdg.dataHome;
|
||||
conf = config.xdg.configHome;
|
||||
cache = config.xdg.cacheHome;
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
# terminal supermodule
|
||||
flake.homeModules.terminal = { config, pkgs, ... }: {
|
||||
|
||||
# list of modules to include
|
||||
imports = [
|
||||
|
||||
# terminal emulator
|
||||
self.modules.kitty
|
||||
# text editor
|
||||
self.modules.helix
|
||||
# file manager
|
||||
self.modules.yazi
|
||||
# shell and prompt
|
||||
self.modules.fish
|
||||
# version control
|
||||
self.modules.git
|
||||
|
||||
];
|
||||
|
||||
# environment variables
|
||||
home.sessionVariables = {
|
||||
|
||||
# clean up ~
|
||||
LESSHISTFILE = "${cache}/less/history";
|
||||
LESSKEY = "${conf}/less/lesskey";
|
||||
|
||||
WINEPREFIX = "${data}/wine";
|
||||
XAUTHORITY = "$XDG_RUNTIME_DIR/Xauthority";
|
||||
|
||||
EDITOR = "helix";
|
||||
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