ft: home-manager terminal

This commit is contained in:
2026-09-30 16:32:37 +02:00
parent 098a146863
commit b3f3902737
22 changed files with 255 additions and 34 deletions

View File

@@ -53,22 +53,35 @@
vim
];
# TODO: switch to home manager
# home-manager = {
# useGlobalPkgs = true;
# useUserPackages = true;
# extraSpecialArgs = { inherit inputs; };
# # Move a file home-manager would overwrite aside instead of failing.
# backupFileExtension = "backup";
#
# users.djai = {
# home.stateVersion = "26.05";
# programs.home-manager.enable = true;
#
# # TODO: unified ssh-config secret
# home.file.".ssh/config".text = ''
# Include ${config.sops.secrets."ssh-config".path}
# '';
# };
# };
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit inputs; };
backupFileExtension = "bck";
users."djai" = {
programs.home-manager.enable = true;
home.file.".ssh/config".text = ''
Include ${config.sops.secrets."ssh-config".path}
'';
home = {
stateVersion = "26.05";
sessionPath = [
"$HOME/bin"
"$HOME/.local/bin"
"$HOME/.cargo/bin"
"$HOME/Scripts"
];
sessionVariables = {
NEWT_COLORS_FILE = "$HOME/.newtColours";
BROWSER = "librewolf";
EDITOR = "nvim";
STARSHIP_LOG = "error";
};
};
};
};
}