2024-01-21 21:01:42 +08:00
|
|
|
{ inputs, outputs, ... }: {
|
|
|
|
imports = [
|
|
|
|
inputs.impermanence.nixosModules.home-manager.impermanence
|
|
|
|
../features/cli
|
|
|
|
];
|
|
|
|
|
|
|
|
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 = [
|
|
|
|
".gnupg"
|
|
|
|
".ssh"
|
2024-07-27 07:46:48 +08:00
|
|
|
".var/app"
|
2024-01-21 21:01:42 +08:00
|
|
|
".local/bin"
|
2024-07-26 09:25:43 +08:00
|
|
|
".local/share/flatpak"
|
2024-01-21 21:01:42 +08:00
|
|
|
".local/share/nix"
|
2024-04-14 22:03:27 +08:00
|
|
|
".local/share/direnv"
|
2024-01-21 21:01:42 +08:00
|
|
|
];
|
|
|
|
files = [
|
|
|
|
".zsh_history"
|
|
|
|
];
|
|
|
|
allowOther = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
systemd.user.startServices = "sd-switch";
|
|
|
|
home.stateVersion = "22.11";
|
|
|
|
}
|