brightness control, swayidle

This commit is contained in:
Vinzenz Schroeter 2025-03-17 21:49:44 +01:00
parent c3c2c1ad6d
commit 06886d02dc
5 changed files with 63 additions and 23 deletions

View file

@ -1,8 +1,13 @@
{ pkgs, ... }:
{
pkgs,
lib,
devices,
config,
...
}:
{
config = {
home.sessionVariables.NIXOS_OZONE_WL = "1";
home.packages = with pkgs; [
xwayland-satellite
alacritty
@ -24,8 +29,6 @@
};
};
# services.swayidle.enable = true;
programs.niri.settings = {
input.keyboard.xkb.layout = "de";
@ -56,7 +59,7 @@
# Suggested binds for running programs: terminal, app launcher, screen locker.
"Mod+T".action.spawn = "alacritty";
"Mod+D".action.spawn = "fuzzel";
"Super+Alt+L".action.spawn = "swaylock";
"Super+Alt+L".action.spawn = "${config.programs.swaylock.package}/bin/swaylock";
# You can also use a shell. Do this if you need pipes, multiple commands, etc.
# Note: the entire command goes as a single argument in the end.