framework: add idle, lock, waybar, mako

This commit is contained in:
Tristan 2025-07-21 12:34:24 +01:00
parent f7307329ab
commit 622fc07b5a
4 changed files with 83 additions and 68 deletions

View file

@ -4,6 +4,12 @@
config,
...
}: {
imports = [
(import ../utils/hypridle.nix)
(import ../utils/waybar.nix)
../../workstation.nix
];
programs.fuzzel = {
enable = true;
settings = {
@ -15,15 +21,18 @@
};
services.hyprpaper.enable = true;
systemd.user.services.hyprpaper.Unit.WantedBy = ["niri.service"];
systemd.user.services.waybar.Unit.WantedBy = ["niri.service"];
home.packages = with pkgs; [brightnessctl];
services.mako.enable = true;
systemd.user.services.mako.Unit.WantedBy = ["niri.service"];
programs.niri = {
settings = {
input.keyboard = {
xkb.layout = "us";
xkb.variant = "dvorak";
xkb.options = "caps:escape";
};
input.mouse = {
accel-profile = "flat";
@ -34,7 +43,6 @@
prefer-no-csd = true;
spawn-at-startup = [
{command = [(lib.getExe pkgs.xwayland-satellite)];}
{command = [(lib.getExe config.services.mako.package)];}
];
binds = with config.lib.niri.actions; {
"Mod+Return".action.spawn = [(lib.getExe config.programs.terminal)];