add: xdg-portal home-manager module from github:misterio77
This commit is contained in:
parent
984ac8264d
commit
d0e6ed4e07
1 changed files with 21 additions and 4 deletions
|
|
@ -4,13 +4,30 @@
|
||||||
../../../essentials #import essential programs
|
../../../essentials #import essential programs
|
||||||
#./tty-init.nix
|
#./tty-init.nix
|
||||||
./binds.nix #hyprland keybindings
|
./binds.nix #hyprland keybindings
|
||||||
./systemd-fix.nix #fix for systemd and hyprland
|
|
||||||
./environment-variables.nix #hyprland environment variables
|
./environment-variables.nix #hyprland environment variables
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
extraPortals = [ pkgs.inputs.hyprland.xdg-desktop-portal-hyprland ];
|
||||||
|
configPackages = [ pkgs.inputs.hyprland.hyprland ];
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
inputs.hyprwm-contrib.grimblast
|
||||||
|
hyprpicker
|
||||||
|
];
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.inputs.hyprland.hyprland;
|
||||||
|
systemd = {
|
||||||
|
enable = true;
|
||||||
|
extraCommands = lib.mkBefore [
|
||||||
|
"systemctl --user stop graphical-session.target"
|
||||||
|
"systemctl --user start hyprland-session.target"
|
||||||
|
];
|
||||||
|
};
|
||||||
settings = {
|
settings = {
|
||||||
general = {
|
general = {
|
||||||
gaps_in = 10;
|
gaps_in = 10;
|
||||||
|
|
@ -88,12 +105,12 @@
|
||||||
exec = [
|
exec = [
|
||||||
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
|
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
|
||||||
"${pkgs.swaybg}/bin/swaybg -i ~/.dotfiles/nix/walls/gruvbox/gruvbox-blank.png --mode fill"
|
"${pkgs.swaybg}/bin/swaybg -i ~/.dotfiles/nix/walls/gruvbox/gruvbox-blank.png --mode fill"
|
||||||
|
"earbuds -d"
|
||||||
|
"eww open-many bar window-clock window-battery window-earbuds"
|
||||||
];
|
];
|
||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"${pkgs._1password-gui}/bin/1password --silent"
|
"${pkgs._1password-gui}/bin/1password --silent"
|
||||||
"earbuds -d"
|
|
||||||
"eww open-many bar window-clock window-battery window-earbuds"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue