move portal stuff into wm/
This commit is contained in:
parent
5c99a9b471
commit
644dae9bf6
2 changed files with 21 additions and 21 deletions
|
@ -1,8 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
_: {
|
||||||
let
|
|
||||||
hyprland = config.wayland.windowManager.hyprland.finalPackage;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
imports = [ ./programs ./services ./wm ./gtk.nix ./persistence.nix ];
|
imports = [ ./programs ./services ./wm ./gtk.nix ./persistence.nix ];
|
||||||
|
|
||||||
home.stateVersion = "23.11";
|
home.stateVersion = "23.11";
|
||||||
|
@ -21,21 +17,6 @@ in
|
||||||
"x-scheme-handler/tg" = [ "org.telegram.desktop.desktop" ];
|
"x-scheme-handler/tg" = [ "org.telegram.desktop.desktop" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
portal = {
|
|
||||||
enable = true;
|
|
||||||
xdgOpenUsePortal = true;
|
|
||||||
extraPortals = with pkgs; [
|
|
||||||
xdg-desktop-portal-gtk
|
|
||||||
xdg-desktop-portal-gnome
|
|
||||||
(xdg-desktop-portal-hyprland.override { inherit hyprland; })
|
|
||||||
];
|
|
||||||
config = {
|
|
||||||
common = {
|
|
||||||
default = [ "gtk" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
configPackages = [ hyprland ];
|
|
||||||
};
|
|
||||||
userDirs.enable = true;
|
userDirs.enable = true;
|
||||||
|
|
||||||
desktopEntries."nixos-manual" = {
|
desktopEntries."nixos-manual" = {
|
||||||
|
|
|
@ -1,6 +1,25 @@
|
||||||
{ ... }: {
|
{ config, pkgs, ... }:
|
||||||
|
let
|
||||||
|
hyprland = config.wayland.windowManager.hyprland.finalPackage;
|
||||||
|
in
|
||||||
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hyprland
|
./hyprland
|
||||||
./addon
|
./addon
|
||||||
];
|
];
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
xdgOpenUsePortal = true;
|
||||||
|
extraPortals = with pkgs; [
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-gnome
|
||||||
|
(xdg-desktop-portal-hyprland.override { inherit hyprland; })
|
||||||
|
];
|
||||||
|
config = {
|
||||||
|
common = {
|
||||||
|
default = [ "gtk" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
configPackages = [ hyprland ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue