nix-config/home-manager/_mixins/console/systems/linux.nix

29 lines
626 B
Nix
Raw Normal View History

{ lib, config, pkgs, ... }: {
home.packages = with pkgs; [
debootstrap # Terminal Debian installer
lurk # Modern Unix `strace`
];
services = {
gpg-agent = {
enable = true;
enableSshSupport = true;
2024-06-06 15:17:28 +00:00
pinentryPackage = pkgs.pinentry-curses;
};
};
# Nicely reload system units when changing configs
systemd.user.startServices = "sd-switch";
xdg = {
enable = true;
userDirs = {
enable = true;
createDirectories = lib.mkDefault true;
extraConfig = {
XDG_SCREENSHOTS_DIR = "${config.home.homeDirectory}/Pictures/Screenshots";
};
};
};
}