2023-11-01 15:02:49 +00:00
|
|
|
{ pkgs, lib, config, ... }:
|
2023-10-08 14:57:57 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./bash
|
|
|
|
./neovim
|
2023-10-19 07:34:06 +00:00
|
|
|
./firefox
|
2023-10-08 14:57:57 +00:00
|
|
|
./ssh
|
|
|
|
./syncthing
|
|
|
|
./keepassxc
|
|
|
|
./git
|
|
|
|
./direnv
|
|
|
|
./thunderbird
|
|
|
|
./fzf
|
2023-10-23 17:07:57 +00:00
|
|
|
./bat
|
2023-10-08 14:57:57 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
home = {
|
|
|
|
username = "pim";
|
|
|
|
homeDirectory = "/home/pim";
|
|
|
|
stateVersion = "23.05";
|
|
|
|
|
|
|
|
packages = with pkgs; [
|
|
|
|
moonlight-qt
|
|
|
|
vlc
|
|
|
|
nicotine-plus
|
|
|
|
logseq
|
|
|
|
signal-desktop
|
|
|
|
telegram-desktop
|
|
|
|
strawberry
|
|
|
|
gimp
|
|
|
|
libreoffice
|
2023-10-23 17:44:56 +00:00
|
|
|
(pkgs.nerdfonts.override { fonts = [ "Hack" ]; })
|
2023-10-26 13:46:47 +00:00
|
|
|
virt-manager
|
2023-11-04 17:38:37 +00:00
|
|
|
gnome.gnome-tweaks
|
2023-10-08 14:57:57 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
home-manager.enable = true;
|
|
|
|
chromium.enable = true;
|
2023-11-03 11:15:59 +00:00
|
|
|
|
2023-11-04 16:11:05 +00:00
|
|
|
terminator = {
|
2023-11-03 11:15:59 +00:00
|
|
|
enable = true;
|
2023-11-04 16:11:05 +00:00
|
|
|
config = {
|
|
|
|
keybindings = {
|
|
|
|
zoom_in = "<Ctrl>plus";
|
|
|
|
zoom_out = "<Ctrl>minus";
|
|
|
|
new_tab = "<Ctrl><Shift>T";
|
|
|
|
cycle_next = "<Ctrl>Tab";
|
|
|
|
cycle_prev = "<Ctrl><Shift>Tab";
|
|
|
|
split_horiz = "<Alt>V";
|
|
|
|
split_vert = "<Alt>C";
|
|
|
|
|
|
|
|
go_left = "<Alt>H";
|
|
|
|
go_right = "<Alt>L";
|
|
|
|
go_up = "<Alt>K";
|
|
|
|
go_down = "<Alt>J";
|
|
|
|
|
|
|
|
copy = "<Ctrl><Shift>C";
|
|
|
|
paste = "<Ctrl><Shift>V";
|
|
|
|
|
|
|
|
layout_launcher = ""; # Default <Alt>L
|
|
|
|
};
|
|
|
|
};
|
2023-11-03 11:15:59 +00:00
|
|
|
};
|
2023-10-08 14:57:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Let home-manager manage the X session
|
|
|
|
xsession = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
xdg.userDirs.enable = true;
|
2023-10-13 14:24:11 +00:00
|
|
|
|
2023-10-16 08:59:27 +00:00
|
|
|
homeage = {
|
|
|
|
identityPaths = [ "/home/pim/.ssh/age_ed25519" ];
|
|
|
|
installationType = "systemd";
|
2023-10-26 13:46:47 +00:00
|
|
|
|
|
|
|
file."common-pg-tfbackend" = {
|
|
|
|
source = ../secrets/common-pg-tfbackend.age;
|
2023-10-26 17:49:37 +00:00
|
|
|
symlinks = [ "${config.xdg.configHome}/home/common.pg.tfbackend" ];
|
2023-10-26 13:46:47 +00:00
|
|
|
};
|
2023-10-26 17:56:23 +00:00
|
|
|
|
|
|
|
file."ansible-vault-secret" = {
|
|
|
|
source = ../secrets/ansible-vault-secret.age;
|
|
|
|
symlinks = [ "${config.xdg.configHome}/home/ansible-vault-secret" ];
|
|
|
|
};
|
2023-10-26 18:11:59 +00:00
|
|
|
|
|
|
|
file."powerdns-api-key" = {
|
|
|
|
source = ../secrets/powerdns-api-key.json.age;
|
|
|
|
symlinks = [ "${config.xdg.configHome}/home/powerdns-api-key.json" ];
|
|
|
|
};
|
2023-10-16 08:59:27 +00:00
|
|
|
};
|
2023-10-23 17:44:56 +00:00
|
|
|
|
|
|
|
fonts.fontconfig.enable = true;
|
2023-11-01 15:02:49 +00:00
|
|
|
|
|
|
|
dconf.settings = with lib.hm.gvariant; {
|
|
|
|
"org/gnome/desktop/input-sources" = {
|
|
|
|
sources = [ (mkTuple [ "xkb" "us" ]) ];
|
|
|
|
xkb-options = [ "terminate:ctrl_alt_bksp" "caps:escape" ];
|
|
|
|
};
|
2023-11-04 17:38:37 +00:00
|
|
|
|
|
|
|
"org/gnome/desktop/interface" = {
|
|
|
|
monospace-font-name = "Hack Nerd Font Mono 10";
|
|
|
|
};
|
2023-11-01 15:02:49 +00:00
|
|
|
};
|
2023-10-08 14:57:57 +00:00
|
|
|
}
|