dotfiles.nix/home-manager/sajenim/global/default.nix

50 lines
952 B
Nix
Raw Normal View History

2024-01-21 21:01:42 +08:00
{ inputs, outputs, ... }: {
imports = [
inputs.impermanence.nixosModules.home-manager.impermanence
../features/cli
../features/nvim
];
nixpkgs = {
overlays = [
outputs.overlays.additions
outputs.overlays.modifications
outputs.overlays.unstable-packages
];
config = {
allowUnfree = true;
allowUnfreePredicate = (_: true);
};
};
programs.home-manager.enable = true;
home = {
username = "sajenim";
homeDirectory = "/home/sajenim";
sessionVariables = {
EDITOR = "nvim";
};
persistence."/persist/home/sajenim" = {
directories = [
".backup"
".github"
".gnupg"
".ssh"
".local/bin"
".local/share/nix"
];
files = [
".zsh_history"
2024-04-01 10:04:39 +08:00
".local/share/direnv"
2024-01-21 21:01:42 +08:00
];
allowOther = true;
};
};
systemd.user.startServices = "sd-switch";
home.stateVersion = "22.11";
}