home manager

This commit is contained in:
2026-09-20 04:22:32 +05:00
parent 5b8b371e4d
commit 043466630c
6 changed files with 215 additions and 228 deletions
+36
View File
@@ -0,0 +1,36 @@
# Imported from /etc/nixos/configuration.nix
{ config, pkgs, lib, ... }:
{
imports = [
./bash.nix
./packages.nix
] ++ (
# import non public vars
if builtins.pathExists ./private.nix
then [ ./private.nix ]
else lib.warn "home/private.nix not found -- private session variables will be unset" [ ]
);
home.username = "shihaam";
home.homeDirectory = "/home/shihaam";
home.stateVersion = "26.05";
#############################################################################
# Environment
#############################################################################
home.sessionVariables = {
EDITOR = "nano";
COMPOSE_DOCKER_CLI_BUILD = "1";
DOCKER_BUILDKIT = "1";
# ibus input method (Dhivehi). Set at session level, not in bashrc, so
GTK_IM_MODULE = "ibus";
QT_IM_MODULE = "ibus";
XMODIFIERS = "@im=ibus";
BITWARDENCLI_APPDATA_DIR = "${config.xdg.configHome}/bitwarden-cli";
};
home.sessionPath = [
];
}