system/users/jan/home.nix
2022-10-12 01:41:32 +03:00

78 lines
1.4 KiB
Nix

{ config, lib, pkgs, ... }:
let
secrets = import ./secrets.nix;
in
{
imports = [
../modules/window_manager
../modules/terminal.nix
../modules/shell.nix
../modules/notifications
../modules/file_manager
../modules/mail
../modules/ledger.nix
../modules/pass.nix
../modules/git.nix
../modules/dev_tools.nix
../modules/editor.nix
];
xdg.enable = true;
home.keyboard = {
model = "pc105";
layout = "us,ru";
variant = "dvorak,";
options = [ "grp:win_space_toggle" ];
};
home.packages = with pkgs; [
kotatogram-desktop
nheko
libreoffice
image-roll
asciinema # record the terminal
neofetch # command-line system information
# browser
# a fork of firefox, focused on privacy, security and freedom
(librewolf.override {
extraNativeMessagingHosts = [ passff-host ];
})
# for work
google-cloud-sdk
kubectl
postgresql_12 # 🤷 I need only psql
];
local.git = {
gpgKey = secrets.gpgSigningKey;
inherit (secrets) userName userEmail;
git-crypt.enable = true;
};
programs.zsh.initExtra = lib.mkAfter ''
eval "$(cat $HOME/repos/tas/shell/zsh)"
eval $(kubectl completion zsh)
'';
accounts.email.accounts = secrets.emailAccounts;
home.file = {
"scripts" = {
source = ./scripts;
recursive = true;
};
"pictures/wallpapers" = {
source = ./wallpapers;
recursive = true;
};
};
}