37 lines
988 B
Nix
37 lines
988 B
Nix
# 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 = [
|
|
];
|
|
}
|