nixos/home/users/media/default.nix

56 lines
1.0 KiB
Nix
Raw Normal View History

2024-05-17 01:07:42 +01:00
{ config, pkgs, lib, outputs, inputs, ... }:
2024-05-16 20:19:01 +01:00
{
home.username = "media";
home.homeDirectory = "/home/media";
home.stateVersion = "23.11";
imports = [
2024-05-17 01:07:42 +01:00
inputs.impermanence.nixosModules.home-manager.impermanence
2024-05-16 20:19:01 +01:00
] ++ (builtins.attrValues outputs.homeManagerModules); # import all homeManagerModules?
home.packages = [
];
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
shellAliases = {
ll = "ls -l";
};
history.size = 10000;
history.path = "${config.xdg.dataHome}/zsh/history";
initExtra = ''
bindkey -v
bindkey "^H" backward-delete-char
bindkey "^?" backward-delete-char
set -o vi
export TERM=xterm
'';
};
2024-05-17 01:07:42 +01:00
home.persistence."/persist/home" = {
directories = [
".gnupg"
".ssh"
];
allowOther = true;
};
2024-05-16 20:19:01 +01:00
home.file = {
};
home.sessionPath = [
];
home.sessionVariables = {
};
programs.home-manager.enable = true;
}