nixos: add firefox portals
This commit is contained in:
parent
0f88d612e3
commit
836cd21dbb
|
@ -106,11 +106,12 @@ in
|
|||
services.pipewire = {
|
||||
enable = true;
|
||||
audio.enable = true;
|
||||
pulse.enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
jack.enable = true;
|
||||
wireplumber.enable = true;
|
||||
pulse.enable = true;
|
||||
alsa = {
|
||||
enable = true;
|
||||
support32Bit = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
|
|
|
@ -4,8 +4,8 @@ let
|
|||
packages = (with pkgs; [
|
||||
anki
|
||||
discord
|
||||
firefox-devedition
|
||||
krita
|
||||
prismlauncher
|
||||
qbittorrent
|
||||
spotify
|
||||
vlc
|
||||
|
@ -14,10 +14,18 @@ let
|
|||
]);
|
||||
in
|
||||
{
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.firefox-devedition;
|
||||
preferences = {
|
||||
"widget.use-xdg-desktop-portal.file-picker" = 1;
|
||||
"widget.use-xdg-desktop-portal.mime-handler" = 1;
|
||||
};
|
||||
};
|
||||
|
||||
users.users.kamov = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||
extraGroups = [ "wheel" ]; # Enable sudo
|
||||
packages = packages;
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue