trying to get speakers working

This commit is contained in:
Matt Nish-Lapidus 2024-10-05 12:36:08 -04:00
parent becb262e17
commit 36798975c7
5 changed files with 2387 additions and 62 deletions

View file

@ -1,6 +1,10 @@
{ nix-flatpak, lib, pkgs, inputs, ... }:
{
imports = [
./razer-speaker-fix.nix
];
nixpkgs.config.allowUnfree = true;
home = {
@ -62,7 +66,7 @@
appimage-run
#transmission_4
#transmission_4-gtk
lsof
ruby
janet
jpm
@ -133,7 +137,7 @@
solaar
logitech-udev-rules
syncthingtray
#syncthingtray
impression
zoom-us
nyxt
@ -174,6 +178,7 @@
pavucontrol
qpwgraph
alsa-utils
alsa-tools
clapper
amberol
@ -221,6 +226,7 @@
programs = {
home-manager.enable = true;
direnv = {
enable = true;
nix-direnv.enable = true;
@ -286,20 +292,27 @@
#waybar.enable = true;
lazygit.enable = true;
jq.enable = true;
firefox.enable = true;
};
wayland.windowManager.hyprland = {
enable = true; # enable Hyprland
xwayland.enable = true;
#systemd.variables = ["--all"];
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
systemd.variables = ["--all"];
# plugins = [
# inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}.hyprbars
# ];
settings = {
"$mod" = "SUPER";
# bind =
# [
# "$mod, F, exec, firefox"
# ", Print, exec, grimblast copy area"
# ]
bind =
[
"$mod, F, exec, zen"
"$mod, T, exec, wezterm"
", Print, exec, grimblast copy area"
];
# ++ (
# # workspaces
# # binds $mod + [shift +] {1..9} to [move to] workspace {1..9}
@ -311,8 +324,14 @@
# ]
# )
# 9)
# );
# );
# terminal = "wezterm";
};
extraConfig = ''
# Monitor
monitor=eDP-1,2560x1600@240,auto,1
'';
};
home.sessionVariables.NIXOS_OZONE_WL = "1";
@ -348,7 +367,7 @@
flatpak.enable = true;
syncthing = {
enable = true;
tray.enable = true;
#tray.enable = true;
};
};
@ -376,7 +395,6 @@
xdg.configFile."git".source = ../dotfiles/dot_config/git;
home.file.".sbclrc".source = ../dotfiles/dot_sbclrc;
home.file.".signature".source = ../dotfiles/dot_signature;
home.file.".config/fish/functions" = {
source = ../dotfiles/dot_config/fish/functions;
recursive = true;