whoops - improving?

This commit is contained in:
serenity-F 2026-07-05 15:30:41 +10:00
parent f66b6aded8
commit 8ad60588c3
No known key found for this signature in database
19 changed files with 30 additions and 29 deletions

28
modules/home/default.nix Normal file
View file

@ -0,0 +1,28 @@
{
self,
inputs,
...
}:
{
imports = [
./terminal
self.modules.theme
];
home = {
username = "serenity";
homeDirectory = "/home/serenity";
stateVersion = "23.11";
#extraOutputsToInstall = [ ];
};
# disable manuals as nmd fails to build often
manual = {
html.enable = false;
json.enable = false;
manpages.enable = false;
};
# let HM manage itself when in standalone mode
programs.home-manager.enable = true;
}

View 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";
};
}

View file

View file

View file

@ -0,0 +1,11 @@
{
imports = [
./btop.nix
./cli.nix
./git.nix
./nix.nix
./xdg.nix
./yazi
./nvim
];
}