Add keybinds for volume and fix eval on dev-lt-63

This commit is contained in:
Riley Apeldoorn 2023-06-28 13:29:23 +02:00 committed by Riley Apeldoorn
parent 8e7233cc43
commit 666a75f844
3 changed files with 7 additions and 2 deletions

View file

@ -65,7 +65,8 @@
# Configurations for non-NixOS machines.
homeConfigurations = with home-manager.lib; {
"dev-lt-63" = homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages."x86_64-linux";
extraSpecialArgs = args;
pkgs = import nixpkgs { system = "x86_64-linux"; };
modules = [
./system/dev-lt-63/home.nix
./shared/home

View file

@ -61,7 +61,7 @@ in with lib; {
config = rec {
output."*".bg = "${../../data/wallpaper.jpg} fill";
input."type:keyboard".xkb_options = "caps:escape";
input."type:keyboard".xkb_options = "caps:super";
terminal = "kitty --single-instance";
bars = [];
@ -127,6 +127,9 @@ in with lib; {
"XF86AudioMute" = "exec ${vol} toggle";
"XF86AudioPlay" = "exec ${mpc} toggle";
"${mod}+z" = "exec ${vol} lower";
"${mod}+x" = "exec ${vol} raise";
"${mod}+comma" = "exec ${mpc} prev";
"${mod}+period" = "exec ${mpc} next";
"${mod}+slash" = "exec ${mpc} toggle";

View file

@ -5,6 +5,7 @@
username = "riley";
homeDirectory = "/home/riley";
stateVersion = "22.05";
packages = [ pkgs.tty-share ];
};
programs = {