refactor homeModules

This commit is contained in:
Romain Paquet 2026-01-27 14:36:11 +01:00
parent 0603a85579
commit 4a870d4a18
26 changed files with 126 additions and 65 deletions

View file

@ -0,0 +1,33 @@
{ pkgs, ... }:
{
imports = [
./fonts.nix
./pass.nix
./terminal.nix
./wayland.nix
];
home.packages = with pkgs; [
discord
seahorse
];
home.pointerCursor = {
gtk.enable = true;
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
size = 24;
};
gtk.enable = true;
gtk.iconTheme = {
name = "WhiteSur";
package = pkgs.whitesur-icon-theme.override {
alternativeIcons = true;
boldPanelIcons = true;
};
};
qt.enable = true;
qt.platformTheme.name = "gtk";
}

View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
home.packages = [
pkgs.nerd-fonts.jetbrains-mono
pkgs.noto-fonts-color-emoji
];
}

View file

@ -0,0 +1,20 @@
{ pkgs, ... }:
let
pass-alias = pkgs.writeShellScriptBin "pass" ''
exec ${pkgs.passage}/bin/passage "$@"
'';
in
{
home.packages = [
# pkgs.pass
pass-alias
pkgs.gnupg
pkgs.pinentry-gnome3
];
# programs.gpg.enable = true;
services.gpg-agent = {
enable = false;
pinentry.package = pkgs.pinentry-gnome3;
};
}

View file

@ -0,0 +1,21 @@
{
config,
pkgs,
self,
...
}:
{
imports = [
self.homeModules.dotfiles
];
home.packages = [
pkgs.alacritty
pkgs.ghostty
];
programs.alacritty.enable = true;
xdg.configFile."alacritty".source = "${config.dotfiles.path}/.config/alacritty";
xdg.configFile."ghostty/config".source = "${config.dotfiles.path}/.config/ghostty/config";
}

View file

@ -0,0 +1,6 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
wl-clipboard
];
}