fix the portal thingy
This commit is contained in:
parent
e0338d6fad
commit
c6da1a7763
3 changed files with 13 additions and 2 deletions
|
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
|
||||||
# nixpkgs.url = "github:nixos/nixpkgs/master";
|
|
||||||
|
# nixpkgs.url = "git+file:///home/noa/Documents/programming/nixpkgs?rev=0b0b7cefcce7f67bd56e2903be34db579b22528a";
|
||||||
|
|
||||||
# nixpkgs.url = "github:NixOS/nixpkgs/d8e0944e6d2ce0f326040e654c07a410e2617d47";
|
# nixpkgs.url = "github:NixOS/nixpkgs/d8e0944e6d2ce0f326040e654c07a410e2617d47";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -146,6 +146,9 @@
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# enableSSHSupport = true;
|
# enableSSHSupport = true;
|
||||||
# };
|
# };
|
||||||
|
|
||||||
|
xdg.portal.enable = true;
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
zsh.enable = true;
|
zsh.enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,10 @@ in
|
||||||
wallpapers.automapaper = {
|
wallpapers.automapaper = {
|
||||||
enable = lib.mkEnableOption "enable automapaper";
|
enable = lib.mkEnableOption "enable automapaper";
|
||||||
};
|
};
|
||||||
|
portalPackage = lib.mkOption {
|
||||||
|
type = lib.types.package;
|
||||||
|
default = pkgs.xdg-desktop-portal-hyprland;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -54,7 +58,10 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
xdg.portal.configPackages = [ cfg.package ];
|
xdg.portal = {
|
||||||
|
extraPortals = [ cfg.portalPackage ];
|
||||||
|
config.common.default = "*";
|
||||||
|
};
|
||||||
|
|
||||||
services.playerctld.enable = true;
|
services.playerctld.enable = true;
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue