re-enable kde/gnome user specific settings

This commit is contained in:
Vinzenz Schroeter 2023-09-10 11:32:18 +02:00
parent ca2bde7abb
commit db67663eb6
3 changed files with 40 additions and 46 deletions

View file

@ -5,19 +5,17 @@
... ...
}: let }: let
cfg = config.my.gnome; cfg = config.my.gnome;
applyGnomeUserSettings = {
#applyGnomeUserSettings = { home.packages = with pkgs; [
# home.packages = with pkgs; [ gnome.gpaste
# gnome.gpaste amberol
# amberol ];
# ]; dconf.settings = {
"org/gnome/desktop/peripherals/keyboard" = {
# dconf.settings = { numlock-state = true;
# "org/gnome/desktop/peripherals/keyboard" = { };
# numlock-state = true; };
# }; };
# };
#};
in { in {
options.my.gnome = { options.my.gnome = {
enable = lib.mkEnableOption "gnome desktop"; enable = lib.mkEnableOption "gnome desktop";
@ -39,7 +37,9 @@ in {
}; };
}; };
environment.systemPackages = [pkgs.gnomeExtensions.gsconnect]; environment.systemPackages = with pkgs; [
gnomeExtensions.gsconnect
];
# remove some gnome default apps # remove some gnome default apps
environment.gnome.excludePackages = with pkgs.gnome; [ environment.gnome.excludePackages = with pkgs.gnome; [
@ -56,8 +56,8 @@ in {
]; ];
home-manager.users = { home-manager.users = {
# vinzenz = lib.mkIf config.my.home.vinzenz.enable applyGnomeUserSettings; vinzenz = lib.mkIf config.my.home.vinzenz.enable applyGnomeUserSettings;
# ronja = lib.mkIf config.my.home.ronja.enable applyGnomeUserSettings; ronja = lib.mkIf config.my.home.ronja.enable applyGnomeUserSettings;
}; };
}; };
} }

View file

@ -6,17 +6,16 @@
}: let }: let
cfg = config.my.kde; cfg = config.my.kde;
# applyKdeUserSettings = { applyKdeUserSettings = {
# #home = { home = {
# # packages = with pkgs; [ packages = with pkgs; [
# # ]; ];
# #}; };
services.kdeconnect = {
# services.kdeconnect = { enable = true;
# enable = true; indicator = true;
# indicator = true; };
# }; };
# };
in { in {
options.my.kde = { options.my.kde = {
enable = lib.mkEnableOption "KDE desktop"; enable = lib.mkEnableOption "KDE desktop";
@ -37,17 +36,19 @@ in {
}; };
}; };
environment.systemPackages = with pkgs; [ environment = {
libsForQt5.kate systemPackages = with pkgs; [
libsForQt5.kalk libsForQt5.kate
]; libsForQt5.kalk
];
environment.plasma5.excludePackages = with pkgs.libsForQt5; [ plasma5.excludePackages = with pkgs.libsForQt5; [
elisa elisa
gwenview gwenview
okular okular
khelpcenter khelpcenter
]; ];
};
programs = { programs = {
dconf.enable = true; dconf.enable = true;
@ -55,8 +56,8 @@ in {
}; };
home-manager.users = { home-manager.users = {
#vinzenz = lib.mkIf config.my.home.vinzenz.enable applyKdeUserSettings; vinzenz = lib.mkIf config.my.home.vinzenz.enable applyKdeUserSettings;
#ronja = lib.mkIf config.my.home.ronja.enable applyKdeUserSettings; ronja = lib.mkIf config.my.home.ronja.enable applyKdeUserSettings;
}; };
}; };
} }

View file

@ -80,13 +80,6 @@ in {
''; '';
}; };
services = {
kdeconnect = {
enable = true;
indicator = true;
};
};
programs = { programs = {
home-manager.enable = true; home-manager.enable = true;