Add packages and media keys to hyprland
This commit is contained in:
parent
e682e3755e
commit
70757c4b1e
8 changed files with 41 additions and 13 deletions
|
@ -78,6 +78,6 @@ Finally, in the config directory run `nixos-install --flake '.#'`, reboot and yo
|
|||
|
||||
### Non-NixOS
|
||||
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.
|
||||
|
||||
|
|
|
@ -71,13 +71,6 @@
|
|||
jack.enable = true;
|
||||
};
|
||||
|
||||
# Todo: Reorganize these
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovim
|
||||
mpv
|
||||
imagemagick
|
||||
];
|
||||
|
||||
nix = {
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
|
|
|
@ -12,5 +12,6 @@
|
|||
git
|
||||
tree
|
||||
dos2unix
|
||||
neovim
|
||||
];
|
||||
}
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
tutanota-desktop
|
||||
signal-desktop
|
||||
element-desktop
|
||||
vesktop
|
||||
];
|
||||
}
|
||||
|
||||
|
|
29
packages/sets/multimedia.nix
Normal file
29
packages/sets/multimedia.nix
Normal 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
|
||||
];
|
||||
}
|
||||
|
|
@ -10,12 +10,10 @@
|
|||
rofi-wayland
|
||||
foot
|
||||
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 = {
|
||||
LIBVA_DRIVER_NAME = "nvidia";
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
|
|
|
@ -65,6 +65,13 @@
|
|||
bind = [
|
||||
"$mod, P, exec, $menu"
|
||||
"$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, SPACE, togglefloating"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
imports = [
|
||||
../../packages/sets/communication.nix
|
||||
../../packages/sets/games.nix
|
||||
../../packages/sets/multimedia.nix
|
||||
./persist.nix
|
||||
./packages/nh.nix
|
||||
./packages/zsh/zsh.nix
|
||||
|
|
Loading…
Reference in a new issue