From e9bf8b292fc2618c9f4702b8a943bb38d21d3532 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Mon, 29 Jul 2024 15:40:59 +0800 Subject: [PATCH] feat(gnome): enable flatpak by default --- home/gnome/impl/home.nix | 7 +++---- home/gnome/impl/nixos.nix | 2 ++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/home/gnome/impl/home.nix b/home/gnome/impl/home.nix index 24d15901..d10861b1 100644 --- a/home/gnome/impl/home.nix +++ b/home/gnome/impl/home.nix @@ -5,11 +5,10 @@ cfg = config.passthrough.gnome; in mkIf cfg.enable { home.packages = - with pkgs; - with gnome; - with gnomeExtensions; [ + with pkgs.gnome; + with pkgs.gnomeExtensions; [ # gnome - gnome-terminal + pkgs.gnome-terminal # gnomeExtensions dash-to-panel diff --git a/home/gnome/impl/nixos.nix b/home/gnome/impl/nixos.nix index 57716860..c05b24e4 100644 --- a/home/gnome/impl/nixos.nix +++ b/home/gnome/impl/nixos.nix @@ -4,12 +4,14 @@ , ... }: with lib; let cfg = config.home.gnome; in mkIf cfg.enable { + global.flatpak.enable = mkDefault true; programs.regreet.enable = false; services.xserver.enable = true; services.xserver.displayManager.startx.enable = false; services.xserver.displayManager.gdm.enable = true; services.xserver.desktopManager.gnome.enable = true; services.udev.packages = with pkgs; [ gnome.gnome-settings-daemon ]; + xdg.portal.configPackages = with pkgs; [ gnome.gnome-session ]; hardware.pulseaudio.enable = false; users.home.persist.directories = [