nix/moduler/home.nix
2026-02-18 17:36:16 +01:00

88 lines
1.8 KiB
Nix

{
inputs,
lib,
config,
pkgs,
myhostname,
...
}:
{
imports = [
../moduler/tmux.nix
../moduler/fish.nix
../moduler/kitty.nix
../moduler/dunst.nix
../moduler/nixpkgs.nix
# ../moduler/firefox.nix
../moduler/zathura.nix
../moduler/lazygit.nix
../moduler/ssh.nix
../moduler/oh-my-posh.nix
../moduler/gtk.nix
# ../moduler/neovim.nix
../moduler/programs/k9s
];
programs.home-manager.enable = true;
programs.fish.enable = true;
programs.alacritty = {
enable = true;
# theme = "catppuccin_${theme}";
theme = "catppuccin_mocha";
settings = {
font = {
normal = {
family = lib.mkForce "FiraCode Nerd Font Mono";
};
size = lib.mkForce 16;
};
};
};
xdg.configFile."bongocat/bongocat.conf".text = ''
# Position & Size
cat_height=80
cat_align=center
cat_x_offset=-500
cat_y_offset=-15
# Appearance
enable_antialiasing=1
overlay_height=80
overlay_opacity=0
overlay_position=top
# mirror_x=0
# mirror_y=0
# Input device (run bongocat-find-devices to find yours)
keyboard_device=/dev/input/event10
# Multi-monitor (optional - auto-detects by default)
# monitor=eDP-1
# Sleep mode (optional)
# idle_sleep_timeout=300
# enable_scheduled_sleep=0
# sleep_begin=22:00
# sleep_end=06:00
'';
systemd.user.services.bongocat = {
Unit = {
Description = "BongoCat watcher";
After = [ "graphical-session.target" ];
PartOf = [ "graphical-session.target" ];
};
Service = {
ExecStart = "${pkgs.wayland-bongocat}/bin/bongocat --watch-config -c %h/.config/bongocat/bongocat.conf";
Restart = "on-failure";
};
Install = { WantedBy = [ "graphical-session.target" ]; };
};
home.username = "fw";
home.homeDirectory = "/home/fw";
home.stateVersion = "25.05";
systemd.user.startServices = "sd-switch";
}