2024-02-05 11:46:52 +01:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib;
|
2024-09-06 11:38:43 +02:00
|
|
|
# let
|
|
|
|
# cfg = config.eboskma.users.erwin;
|
|
|
|
# in
|
2023-05-07 17:00:43 +02:00
|
|
|
{
|
|
|
|
home-manager.users.erwin = {
|
|
|
|
_module.args.flake-inputs = inputs;
|
|
|
|
|
|
|
|
eboskma = {
|
|
|
|
programs = {
|
2024-09-06 11:38:43 +02:00
|
|
|
alacritty.enable = false;
|
2023-05-07 17:00:43 +02:00
|
|
|
atuin.enable = true;
|
|
|
|
bat.enable = true;
|
|
|
|
fish.enable = true;
|
|
|
|
git = {
|
|
|
|
enable = true;
|
2023-05-28 13:22:28 +02:00
|
|
|
package = pkgs.git;
|
2023-05-07 17:00:43 +02:00
|
|
|
name = "Erwin Boskma";
|
|
|
|
email = "erwin@datarift.nl";
|
|
|
|
# signingKey = "EE7ADEFE1D943C7B";
|
2024-09-06 11:38:43 +02:00
|
|
|
signingKey = "~/.ssh/id_ed25519_sk_personal.pub";
|
2023-05-07 17:00:43 +02:00
|
|
|
signingKeyFormat = "ssh";
|
|
|
|
};
|
|
|
|
gpg.enable = true;
|
2024-09-06 11:38:43 +02:00
|
|
|
i3.enable = false;
|
2023-05-07 17:00:43 +02:00
|
|
|
neovim.enable = true;
|
2024-09-06 11:38:43 +02:00
|
|
|
nushell.enable = false;
|
2023-05-28 13:22:28 +02:00
|
|
|
polybar = {
|
2024-09-06 11:38:43 +02:00
|
|
|
enable = false;
|
2023-05-28 13:22:28 +02:00
|
|
|
};
|
2023-05-07 17:00:43 +02:00
|
|
|
rofi = {
|
2024-09-06 11:38:43 +02:00
|
|
|
enable = false;
|
2023-05-28 13:22:28 +02:00
|
|
|
terminal = config.home-manager.users.erwin.xsession.windowManager.i3.config.terminal;
|
2023-05-07 17:00:43 +02:00
|
|
|
};
|
|
|
|
ssh.enable = true;
|
|
|
|
starship.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-09-13 14:50:03 +02:00
|
|
|
home = {
|
|
|
|
username = "erwin";
|
|
|
|
homeDirectory = "/home/erwin";
|
|
|
|
sessionVariables = {
|
|
|
|
EDITOR = "${pkgs.neovim}/bin/neovim";
|
|
|
|
};
|
|
|
|
|
2024-09-06 11:38:43 +02:00
|
|
|
stateVersion = "24.11";
|
2023-09-13 14:50:03 +02:00
|
|
|
|
2024-02-05 11:46:52 +01:00
|
|
|
packages = with pkgs; [
|
|
|
|
atool
|
|
|
|
bottom
|
|
|
|
fd
|
|
|
|
imagemagick
|
|
|
|
imv
|
|
|
|
iotop
|
|
|
|
procs
|
|
|
|
ripgrep
|
|
|
|
units
|
|
|
|
unzip
|
|
|
|
xdg-utils
|
|
|
|
wl-clipboard
|
|
|
|
zeal
|
|
|
|
];
|
2023-09-13 14:50:03 +02:00
|
|
|
};
|
2023-05-07 17:00:43 +02:00
|
|
|
|
|
|
|
xdg = {
|
|
|
|
enable = true;
|
2024-09-06 11:38:43 +02:00
|
|
|
# mime.enable = true;
|
|
|
|
# mimeApps = {
|
|
|
|
# enable = true;
|
|
|
|
# defaultApplications = {
|
|
|
|
# "x-scheme-handler/http" = "firefox.desktop";
|
|
|
|
# "x-scheme-handler/https" = "firefox.desktop";
|
|
|
|
# "x-scheme-handler/chrome" = "firefox.desktop";
|
|
|
|
# "x-scheme-handler/terminal" = "${cfg.terminal}.desktop";
|
|
|
|
# "text/html" = "firefox.desktop";
|
|
|
|
# "application/x-extension-htm" = "firefox.desktop";
|
|
|
|
# "application/x-extension-html" = "firefox.desktop";
|
|
|
|
# "application/x-extension-shtml" = "firefox.desktop";
|
|
|
|
# "application/xhtml+xml" = "firefox.desktop";
|
|
|
|
# "application/x-extension-xhtml" = "firefox.desktop";
|
|
|
|
# "application/x-extension-xht" = "firefox.desktop";
|
|
|
|
# "application/pdf" = "org.pwmt.zathura-pdf-mupdf.desktop";
|
|
|
|
# };
|
|
|
|
# associations = {
|
|
|
|
# added = {
|
|
|
|
# "image/jpeg" = "imv.desktop";
|
|
|
|
# "image/png" = "imv.desktop";
|
|
|
|
# "image/gif" = "imv.desktop";
|
|
|
|
# "application/zip" = "org.gnome.FileRoller.desktop";
|
|
|
|
# };
|
|
|
|
# };
|
|
|
|
# };
|
2023-05-07 17:00:43 +02:00
|
|
|
userDirs = {
|
|
|
|
enable = true;
|
|
|
|
createDirectories = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-09-06 11:38:43 +02:00
|
|
|
# i18n.inputMethod = {
|
|
|
|
# enabled = "fcitx5";
|
|
|
|
# fcitx5.addons = with pkgs; [
|
|
|
|
# fcitx5-m17n
|
|
|
|
# fcitx5-gtk
|
|
|
|
# fcitx5-configtool
|
|
|
|
# ];
|
|
|
|
# };
|
2023-05-07 17:00:43 +02:00
|
|
|
|
2024-09-06 11:38:43 +02:00
|
|
|
# gtk = {
|
|
|
|
# enable = false;
|
|
|
|
# theme = {
|
|
|
|
# name = "Arc-Dark";
|
|
|
|
# package = pkgs.arc-theme;
|
|
|
|
# };
|
2023-05-07 17:00:43 +02:00
|
|
|
|
2024-09-06 11:38:43 +02:00
|
|
|
# iconTheme = {
|
|
|
|
# name = "Papirus-Dark";
|
|
|
|
# package = pkgs.papirus-icon-theme;
|
|
|
|
# };
|
2023-05-07 17:00:43 +02:00
|
|
|
|
2024-09-06 11:38:43 +02:00
|
|
|
# gtk3 = {
|
|
|
|
# bookmarks = [ "file:///home/erwin/workspace" ];
|
|
|
|
# extraConfig = {
|
|
|
|
# gtk-application-prefer-dark-theme = 1;
|
|
|
|
# gtk-cursor-theme-name = "Nordzy-cursors";
|
|
|
|
# };
|
|
|
|
# };
|
2023-05-07 17:00:43 +02:00
|
|
|
|
2024-09-06 11:38:43 +02:00
|
|
|
# gtk4.extraConfig = {
|
|
|
|
# gtk-application-prefer-dark-theme = 1;
|
|
|
|
# gtk-cursor-theme-name = "Nordzy-cursors";
|
|
|
|
# };
|
|
|
|
# };
|
2023-05-07 17:00:43 +02:00
|
|
|
|
2023-09-13 14:50:03 +02:00
|
|
|
programs = {
|
|
|
|
home-manager.enable = true;
|
|
|
|
command-not-found.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-02-05 11:46:52 +01:00
|
|
|
imports =
|
|
|
|
[
|
|
|
|
../../modules/options
|
2024-06-08 16:01:48 +02:00
|
|
|
inputs.anyrun.homeManagerModules.default
|
2024-02-05 11:46:52 +01:00
|
|
|
]
|
|
|
|
++ (map (mod: (../../home-manager/modules + "/${mod}")) (
|
|
|
|
builtins.attrNames (builtins.readDir ../../home-manager/modules)
|
|
|
|
));
|
2023-05-07 17:00:43 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
programs.bandwhich.enable = true;
|
|
|
|
}
|