mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 10:30:14 +01:00
re-enable kde/gnome user specific settings
This commit is contained in:
parent
ca2bde7abb
commit
db67663eb6
|
@ -5,19 +5,17 @@
|
|||
...
|
||||
}: let
|
||||
cfg = config.my.gnome;
|
||||
|
||||
#applyGnomeUserSettings = {
|
||||
# home.packages = with pkgs; [
|
||||
# gnome.gpaste
|
||||
# amberol
|
||||
# ];
|
||||
|
||||
# dconf.settings = {
|
||||
# "org/gnome/desktop/peripherals/keyboard" = {
|
||||
# numlock-state = true;
|
||||
# };
|
||||
# };
|
||||
#};
|
||||
applyGnomeUserSettings = {
|
||||
home.packages = with pkgs; [
|
||||
gnome.gpaste
|
||||
amberol
|
||||
];
|
||||
dconf.settings = {
|
||||
"org/gnome/desktop/peripherals/keyboard" = {
|
||||
numlock-state = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
in {
|
||||
options.my.gnome = {
|
||||
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
|
||||
environment.gnome.excludePackages = with pkgs.gnome; [
|
||||
|
@ -56,8 +56,8 @@ in {
|
|||
];
|
||||
|
||||
home-manager.users = {
|
||||
# vinzenz = lib.mkIf config.my.home.vinzenz.enable applyGnomeUserSettings;
|
||||
# ronja = lib.mkIf config.my.home.ronja.enable applyGnomeUserSettings;
|
||||
vinzenz = lib.mkIf config.my.home.vinzenz.enable applyGnomeUserSettings;
|
||||
ronja = lib.mkIf config.my.home.ronja.enable applyGnomeUserSettings;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -6,17 +6,16 @@
|
|||
}: let
|
||||
cfg = config.my.kde;
|
||||
|
||||
# applyKdeUserSettings = {
|
||||
# #home = {
|
||||
# # packages = with pkgs; [
|
||||
# # ];
|
||||
# #};
|
||||
|
||||
# services.kdeconnect = {
|
||||
# enable = true;
|
||||
# indicator = true;
|
||||
# };
|
||||
# };
|
||||
applyKdeUserSettings = {
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
];
|
||||
};
|
||||
services.kdeconnect = {
|
||||
enable = true;
|
||||
indicator = true;
|
||||
};
|
||||
};
|
||||
in {
|
||||
options.my.kde = {
|
||||
enable = lib.mkEnableOption "KDE desktop";
|
||||
|
@ -37,17 +36,19 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
libsForQt5.kate
|
||||
libsForQt5.kalk
|
||||
];
|
||||
|
||||
environment.plasma5.excludePackages = with pkgs.libsForQt5; [
|
||||
plasma5.excludePackages = with pkgs.libsForQt5; [
|
||||
elisa
|
||||
gwenview
|
||||
okular
|
||||
khelpcenter
|
||||
];
|
||||
};
|
||||
|
||||
programs = {
|
||||
dconf.enable = true;
|
||||
|
@ -55,8 +56,8 @@ in {
|
|||
};
|
||||
|
||||
home-manager.users = {
|
||||
#vinzenz = lib.mkIf config.my.home.vinzenz.enable applyKdeUserSettings;
|
||||
#ronja = lib.mkIf config.my.home.ronja.enable applyKdeUserSettings;
|
||||
vinzenz = lib.mkIf config.my.home.vinzenz.enable applyKdeUserSettings;
|
||||
ronja = lib.mkIf config.my.home.ronja.enable applyKdeUserSettings;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -80,13 +80,6 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
services = {
|
||||
kdeconnect = {
|
||||
enable = true;
|
||||
indicator = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
home-manager.enable = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue