x: update gui config, remove legacy pulseaudio

This commit is contained in:
makefu 2025-01-06 00:14:20 +01:00
parent ea41a42765
commit 0480e1e5fd
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225
4 changed files with 8 additions and 8 deletions
2configs/gui
machines/x

View file

@ -70,7 +70,7 @@ in {
settings = {
general = {
ignore_dbus_inhibit = false;
# before_sleep_cmd = "hyprlock";
before_sleep_cmd = "hyprlock";
after_sleep_cmd = "hyprctl dispatch dpms on";
# what to do when `loginctl lock-session` sends dbus lock event
lock_cmd = "hyprlock";
@ -221,11 +221,11 @@ in {
"$mainMod, R, exec, $menu"
"$mainMod, P, pseudo, # dwindle"
"$mainMod, J, togglesplit, # dwindle"
"$mainMod, L, exec, loginctl lock-session"
"$mainMod, L, exec, hyprlock"
# move window to scratchpad
"$mainMod, n, movetoworkspace, special"
"$mainMod, n, movetoworkspacesilent, special"
"$mainMod SHIFT, N, togglespecialworkspace"
# Move focus with mainMod + arrow keys

View file

@ -19,7 +19,7 @@
"2": "",
"3": "",
"4": "",
"5": "",
"5": "",
"urgent": "",
"focused": "",
"default": ""

View file

@ -2,7 +2,7 @@
# TODO test `alsactl init` after suspend to reinit mic
{
security.rtkit.enable = true;
hardware.pulseaudio.enable = lib.mkForce false;
# hardware.pulseaudio.enable = lib.mkForce false;
environment.systemPackages = with pkgs; [
alsa-utils

View file

@ -4,9 +4,9 @@
[
# ./x230
./x13
{ # congress
nix.settings.substituters = lib.mkForce [ "https://cache.nixos.sh" ];
}
#{ # congress
# nix.settings.substituters = lib.mkForce [ "https://cache.nixos.sh" ];
#}
{
nixpkgs.config.permittedInsecurePackages = [