tidying and such
This commit is contained in:
parent
0324cf1994
commit
42e502ec78
13 changed files with 132 additions and 40 deletions
|
|
@ -1,18 +1,27 @@
|
|||
{ config, ... }:
|
||||
|
||||
# let bindings
|
||||
let
|
||||
|
||||
# xdg variables
|
||||
data = config.xdg.dataHome;
|
||||
conf = config.xdg.configHome;
|
||||
cache = config.xdg.cacheHome;
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
# list of modules to include
|
||||
imports = [
|
||||
./programs
|
||||
./kitty.nix
|
||||
./fish.nix
|
||||
];
|
||||
|
||||
# add environment variables
|
||||
# environment variables
|
||||
home.sessionVariables = {
|
||||
|
||||
# clean up ~
|
||||
LESSHISTFILE = "${cache}/less/history";
|
||||
LESSKEY = "${conf}/less/lesskey";
|
||||
|
|
@ -20,7 +29,7 @@ in
|
|||
WINEPREFIX = "${data}/wine";
|
||||
XAUTHORITY = "$XDG_RUNTIME_DIR/Xauthority";
|
||||
|
||||
EDITOR = "nvim";
|
||||
EDITOR = "helix";
|
||||
DIRENV_LOG_FORMAT = "";
|
||||
|
||||
# auto-run programs using nix-index-database
|
||||
|
|
|
|||
|
|
@ -2,10 +2,13 @@
|
|||
|
||||
perSystem = { pkgs, ... }: {
|
||||
|
||||
packages.myYazi = inputs.wrapper-modules.wrappers.yazi.wrap {
|
||||
# defines a custom fish package
|
||||
packages.myFish = inputs.wrapper-modules.wrappers.fish.wrap {
|
||||
|
||||
settings = {
|
||||
foo = bar;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,10 +2,13 @@
|
|||
|
||||
perSystem = { pkgs, ... }: {
|
||||
|
||||
packages.myYazi = inputs.wrapper-modules.wrappers.yazi.wrap {
|
||||
# defines a custom git package
|
||||
packages.myGit = inputs.wrapper-modules.wrappers.git.wrap {
|
||||
|
||||
settings = {
|
||||
foo = bar;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue