nixos-config/ahrc-pc/home.nix

31 lines
878 B
Nix

{ config, ... }:
{
imports = [ ../common/home.nix ];
home.stateVersion = "24.05";
programs.zsh = {
localVariables = {
PROMPT = ''
[%F{magenta}%B%n@%m%f%b][%F{blue}%B%50<...<%5~%<<%b%f][%B%?%b]
[%B%j%b%# '';
};
};
programs.niri.settings = {
input.keyboard.xkb.layout = "us";
outputs."HDMI-A-1".scale = 1;
layout.border.active.color = "#d966ff";
binds = with config.lib.niri.actions; {
"Mod+1".action = focus-workspace 1;
"Mod+2".action = focus-workspace 2;
"Mod+3".action = focus-workspace 3;
"Mod+4".action = focus-workspace 4;
"Mod+Shift+1".action = move-column-to-workspace 1;
"Mod+Shift+2".action = move-column-to-workspace 2;
"Mod+Shift+3".action = move-column-to-workspace 3;
"Mod+Shift+4".action = move-column-to-workspace 4;
};
};
}