nixos: add firefox portals
This commit is contained in:
parent
0f88d612e3
commit
836cd21dbb
|
@ -106,11 +106,12 @@ in
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
audio.enable = true;
|
audio.enable = true;
|
||||||
pulse.enable = true;
|
|
||||||
alsa.enable = true;
|
|
||||||
alsa.support32Bit = true;
|
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
wireplumber.enable = true;
|
pulse.enable = true;
|
||||||
|
alsa = {
|
||||||
|
enable = true;
|
||||||
|
support32Bit = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable touchpad support (enabled default in most desktopManager).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
|
|
|
@ -4,8 +4,8 @@ let
|
||||||
packages = (with pkgs; [
|
packages = (with pkgs; [
|
||||||
anki
|
anki
|
||||||
discord
|
discord
|
||||||
firefox-devedition
|
|
||||||
krita
|
krita
|
||||||
|
prismlauncher
|
||||||
qbittorrent
|
qbittorrent
|
||||||
spotify
|
spotify
|
||||||
vlc
|
vlc
|
||||||
|
@ -14,10 +14,18 @@ let
|
||||||
]);
|
]);
|
||||||
in
|
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 = {
|
users.users.kamov = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
extraGroups = [ "wheel" ]; # Enable sudo
|
||||||
packages = packages;
|
packages = packages;
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue