1
Fork 0

Add packages and media keys to hyprland

This commit is contained in:
caem 2024-06-25 01:28:34 +02:00
parent e682e3755e
commit 70757c4b1e
Signed by: caem
GPG key ID: 69A830D03203405F
8 changed files with 41 additions and 13 deletions

View file

@ -78,6 +78,6 @@ Finally, in the config directory run `nixos-install --flake '.#'`, reboot and yo
### Non-NixOS ### Non-NixOS
Run the `non-nixos-install.sh` script. It will install both home-manager and nix. Run the `non-nixos-install.sh` script. It will install both home-manager and nix.
Your user is assumed to be called "blank". You need to replace every instance of it Your user is assumed to be called "i". You need to replace every instance of it
in case you want to use a different username. in case you want to use a different username.

View file

@ -71,13 +71,6 @@
jack.enable = true; jack.enable = true;
}; };
# Todo: Reorganize these
environment.systemPackages = with pkgs; [
neovim
mpv
imagemagick
];
nix = { nix = {
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes

View file

@ -12,5 +12,6 @@
git git
tree tree
dos2unix dos2unix
neovim
]; ];
} }

View file

@ -5,7 +5,6 @@
tutanota-desktop tutanota-desktop
signal-desktop signal-desktop
element-desktop element-desktop
vesktop
]; ];
} }

View file

@ -0,0 +1,29 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
vimiv-qt
mpv
imagemagick
ffmpeg-full
yt-dlp
(pkgs.symlinkJoin {
name = "flowblade";
paths = [ pkgs.flowblade ];
buildInputs = [ pkgs.makeWrapper ];
postBuild = ''
rm "$out/bin/flowblade"
echo "#!/bin/sh" > "$out/bin/flowblade"
echo "SDL12COMPAT_NO_QUIT_VIDEO=1 \
GDK_BACKEND=x11 \
SDL_VIDEODRIVER=x11 \
${pkgs.flowblade}/bin/flowblade" >> "$out/bin/flowblade"
chmod 555 "$out/bin/flowblade"
'';
})
gimp
inkscape
krita
];
}

View file

@ -10,12 +10,10 @@
rofi-wayland rofi-wayland
foot foot
wl-clipboard wl-clipboard
pcmanfm # TODO: Replace with dolphin and figure out why stylix doesn't theme it. gnome.nautilus
pavucontrol
]; ];
# TODO: Use KDE portal features for file pickers and popups
# TODO: Add missing utilities for taking screenshots, recording, etc...
environment.sessionVariables = { environment.sessionVariables = {
LIBVA_DRIVER_NAME = "nvidia"; LIBVA_DRIVER_NAME = "nvidia";
XDG_SESSION_TYPE = "wayland"; XDG_SESSION_TYPE = "wayland";

View file

@ -65,6 +65,13 @@
bind = [ bind = [
"$mod, P, exec, $menu" "$mod, P, exec, $menu"
"$mod, RETURN, exec, $terminal" "$mod, RETURN, exec, $terminal"
", Scroll_Lock, exec, pavucontrol"
"$mod, f, exec, nautilus"
", XF86AudioLowerVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-"
", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+"
", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
", Pause, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
"$mod SHIFT, C, killactive" "$mod SHIFT, C, killactive"
"$mod, SPACE, togglefloating" "$mod, SPACE, togglefloating"

View file

@ -4,6 +4,7 @@
imports = [ imports = [
../../packages/sets/communication.nix ../../packages/sets/communication.nix
../../packages/sets/games.nix ../../packages/sets/games.nix
../../packages/sets/multimedia.nix
./persist.nix ./persist.nix
./packages/nh.nix ./packages/nh.nix
./packages/zsh/zsh.nix ./packages/zsh/zsh.nix