123 lines
4.0 KiB
Nix
123 lines
4.0 KiB
Nix
{
|
|
pkgs,
|
|
inputs,
|
|
user,
|
|
...
|
|
}:
|
|
{
|
|
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
|
home-manager = {
|
|
useUserPackages = true;
|
|
useGlobalPkgs = true;
|
|
extraSpecialArgs = {
|
|
inherit pkgs inputs user;
|
|
};
|
|
users.${user} =
|
|
{ pkgs, ... }:
|
|
{
|
|
imports = [
|
|
inputs.sops-nix.homeManagerModules.sops
|
|
inputs.catppuccin.homeModules.catppuccin
|
|
../../editor/neovim
|
|
../../hyprland
|
|
../../packages
|
|
../../programs/dunst
|
|
../../programs/git
|
|
../../programs/gtk
|
|
../../programs/firefox
|
|
../../programs/kitty
|
|
../../programs/obs-studio
|
|
../../programs/rofi
|
|
../../programs/streamcontroller
|
|
../../programs/tmux
|
|
../../programs/claude-code
|
|
../../programs/vscode
|
|
../../scripts
|
|
../../services/backup-home.nix
|
|
../../services/ghettoptt.nix
|
|
../../services/natstonotify.nix
|
|
../../services/labmcp.nix
|
|
../../sops
|
|
../../ssh
|
|
../../zsh
|
|
];
|
|
|
|
firefox.enable = true;
|
|
tmux.enable = true;
|
|
hyprland.enable = true;
|
|
|
|
hyprland.monitors = [
|
|
"$mon_top,1920x1080@60,2560x0,1"
|
|
"$mon_left,2560x1440@75,0x1080,1"
|
|
"$mon_center,2560x1440@120,2560x1080,1"
|
|
"$mon_right,2560x1440@75,5120x1080,1"
|
|
];
|
|
|
|
hyprland.extraEnv = [
|
|
"LIBVA_DRIVER_NAME,nvidia"
|
|
"GBM_BACKEND,nvidia-drm"
|
|
"WLR_NO_HARDWARE_CURSORS,1"
|
|
];
|
|
|
|
hyprland.enableGrimblast = true;
|
|
streamcontroller.enable = true;
|
|
hyprland.enableWacom = true;
|
|
hyprland.cursorNoHardware = true;
|
|
|
|
hyprland.extraWorkspaces = [
|
|
"name:T1, monitor:$mon_top, persistent:true, default:true"
|
|
"name:T2, monitor:$mon_top, persistent:true, default:false"
|
|
"name:L1, monitor:$mon_left, persistent:true, default:true"
|
|
"name:L2, monitor:$mon_left, persistent:true, default:false"
|
|
"name:R1, monitor:$mon_right, persistent:true, default:true"
|
|
"name:R2, monitor:$mon_right, persistent:true, default:false"
|
|
"name:c1, monitor:$mon_center, persistent:true, default:true"
|
|
"name:c2, monitor:$mon_center, persistent:true, default:false"
|
|
"name:c3, monitor:$mon_center, persistent:true, default:false"
|
|
"name:c4, monitor:$mon_center, persistent:true, default:false"
|
|
];
|
|
|
|
hyprland.monitorVariables = {
|
|
"$mon_top" = "desc:BNQ G2420HDBL T2B04424SL000";
|
|
"$mon_left" = "desc:Samsung Electric Company LS27A600U HNMT502389";
|
|
"$mon_center" = "desc:Acer Technologies XB271HU #ASPVEKfgZ8Dd";
|
|
"$mon_right" = "desc:Samsung Electric Company LS27A600U HNMT502390";
|
|
};
|
|
|
|
hyprland.extraKeybinds = [
|
|
"$mainMod,Print,exec,grimblast save active ~/tmp/$(date -Iseconds).png"
|
|
"$shiftMainMod,Print,exec,grimblast copy area"
|
|
",Print,exec,grimblast copy active"
|
|
"$mainMod,v,exec,sleep 0.5s && wl-paste | wtype -"
|
|
# Workspace keybinds
|
|
"$mainMod,1,workspace,name:c1"
|
|
"$mainMod,2,workspace,name:c2"
|
|
"$mainMod,3,workspace,name:c3"
|
|
"$mainMod,4,workspace,name:c4"
|
|
"$mainMod,5,workspace,5"
|
|
"$mainMod,6,workspace,6"
|
|
"$shiftMainMod,1,movetoworkspace,name:c1"
|
|
"$shiftMainMod,2,movetoworkspace,name:c2"
|
|
"$shiftMainMod,3,movetoworkspace,name:c3"
|
|
"$shiftMainMod,4,movetoworkspace,name:c4"
|
|
"$shiftMainMod,5,movetoworkspace,5"
|
|
"$shiftMainMod,6,movetoworkspace,6"
|
|
];
|
|
home = {
|
|
username = "${user}";
|
|
homeDirectory = "/home/${user}";
|
|
stateVersion = "23.11";
|
|
};
|
|
programs.home-manager.enable = true;
|
|
|
|
services.dunst.settings.global.monitor = "DP-1";
|
|
|
|
# Custom options
|
|
torjus.home.obs = {
|
|
enable = true;
|
|
withCuda = true;
|
|
};
|
|
};
|
|
};
|
|
}
|