feat(gnome): enable flatpak by default

This commit is contained in:
514fpv 2024-07-29 15:40:59 +08:00
parent 195878e780
commit e9bf8b292f
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
2 changed files with 5 additions and 4 deletions

View file

@ -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

View file

@ -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 = [