nixos/home/users/sam/default.nix

45 lines
875 B
Nix

{ outputs, ... }:
{
home.username = "sam";
home.homeDirectory = "/home/sam";
imports = [
] ++ (builtins.attrValues outputs.homeManagerModules); # import all homeManagerModules?
programs.ssh = {
enable = true;
matchBlocks = {
"git.bitlab21.com" = {
identitiesOnly = true;
identityFile = [ "~/.ssh/id_ed25519" ];
};
};
};
home.sessionPath = [
];
xdg.userDirs = {
enable = true;
createDirectories = true;
desktop = null;
documents = "/home/sam/docs";
download = "/home/sam/dl";
music = "/home/sam/mus";
pictures = "/home/sam/pics";
publicShare = "/home/sam/sync";
templates = null;
videos = "/home/sam/vids";
};
home.sessionVariables = {
EDITOR = "nvim";
TERMINAL = "st";
READER = "zathura";
IMAGE_VIEWER = "nsxiv";
IMAGE_EDITOR = "drawing";
};
}