tidying and such

This commit is contained in:
serenity-F 2026-08-30 23:03:47 +10:00
parent 0324cf1994
commit 42e502ec78
No known key found for this signature in database
13 changed files with 132 additions and 40 deletions

View file

@ -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

View file

@ -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;
};
};
};

View file

@ -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;
};
};
};