43 lines
811 B
Nix
43 lines
811 B
Nix
{ config, lib, pkgs, user, ... }:
|
|
|
|
{
|
|
xsession.windowManager.i3 = {
|
|
enable = true;
|
|
config = {
|
|
modifier = "Mod4";
|
|
terminal = "${pkgs.kitty}/bin/kitty";
|
|
|
|
fonts = {
|
|
names = [ "DejaVu Sans Mono" ];
|
|
size = 12.0;
|
|
};
|
|
|
|
window = {
|
|
titlebar = false;
|
|
border = 0;
|
|
};
|
|
|
|
floating = {
|
|
titlebar = false;
|
|
border = 0;
|
|
};
|
|
|
|
bars = [{
|
|
mode = "hide";
|
|
position = "top";
|
|
statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs ~/.config/i3status-rust/config-default.toml";
|
|
|
|
fonts = {
|
|
names = [ "DejaVu Sans Mono" ];
|
|
size = 12.0;
|
|
};
|
|
}];
|
|
};
|
|
};
|
|
|
|
services.screen-locker = {
|
|
enable = true;
|
|
lockCmd = "${pkgs.i3lock}/bin/i3lock -n -c 000000";
|
|
};
|
|
}
|