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; cfg = config.passthrough.gnome;
in mkIf cfg.enable { in mkIf cfg.enable {
home.packages = home.packages =
with pkgs; with pkgs.gnome;
with gnome; with pkgs.gnomeExtensions; [
with gnomeExtensions; [
# gnome # gnome
gnome-terminal pkgs.gnome-terminal
# gnomeExtensions # gnomeExtensions
dash-to-panel dash-to-panel

View file

@ -4,12 +4,14 @@
, ... }: with lib; let , ... }: with lib; let
cfg = config.home.gnome; cfg = config.home.gnome;
in mkIf cfg.enable { in mkIf cfg.enable {
global.flatpak.enable = mkDefault true;
programs.regreet.enable = false; programs.regreet.enable = false;
services.xserver.enable = true; services.xserver.enable = true;
services.xserver.displayManager.startx.enable = false; services.xserver.displayManager.startx.enable = false;
services.xserver.displayManager.gdm.enable = true; services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true; services.xserver.desktopManager.gnome.enable = true;
services.udev.packages = with pkgs; [ gnome.gnome-settings-daemon ]; services.udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
xdg.portal.configPackages = with pkgs; [ gnome.gnome-session ];
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
users.home.persist.directories = [ users.home.persist.directories = [