infra/nix/home-manager/profiles/common.nix

59 lines
1.2 KiB
Nix
Raw Normal View History

2023-02-07 18:23:51 +01:00
{pkgs, ...}: let
in {
# TODO: re-enable this with the appropriate version
# programs.home-manager.enable = true;
# programs.home-manager.path = https://github.com/rycee/home-manager/archive/445c0b1482c38172a9f8294ee16a7ca7462388e5.tar.gz;
nixpkgs.overlays = builtins.attrValues (import ../../overlays);
nixpkgs.config = {
allowBroken = false;
allowUnfree = true;
2023-02-07 18:23:51 +01:00
permittedInsecurePackages = [];
};
2023-02-07 18:23:51 +01:00
nix.settings.experimental-features = ["nix-command" "flakes" "impure-derivations" "ca-derivations" "recursive-nix"];
nix.settings.sandbox = "relaxed";
home.keyboard = {
layout = "us";
variant = "altgr-intl";
2022-10-31 11:04:38 +01:00
options = [
"nodeadkeys"
2022-10-31 11:04:38 +01:00
# "caps:swapescape"
];
};
programs.direnv.enable = true;
2020-02-10 14:09:04 +01:00
services.lorri.enable = true;
home.sessionVariables = {
NIXPKGS_ALLOW_UNFREE = "1";
# Don't create .pyc files.
PYTHONDONTWRITEBYTECODE = "1";
};
programs.command-not-found.enable = true;
programs.fzf.enable = true;
2018-11-03 19:33:58 +01:00
2023-02-07 18:23:51 +01:00
home.packages =
[]
++ (with pkgs; [
# git helpers
git-crypt
vcsh
# Authentication
cacert
openssl
mkpasswd
just
ripgrep
du-dust
]);
home.stateVersion = "22.05";
}