dconf: create generic module and use it
no more cringe function calling, yay
This commit is contained in:
parent
23bfb2d222
commit
8f15bf0e0c
4 changed files with 244 additions and 195 deletions
|
@ -1,6 +1,9 @@
|
|||
{pkgs, ... } @ moduleArgs:
|
||||
{pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../dconf-common.nix
|
||||
];
|
||||
config = {
|
||||
services.xserver.displayManager.gdm = {
|
||||
enable = true;
|
||||
|
@ -8,18 +11,16 @@
|
|||
autoSuspend = false;
|
||||
};
|
||||
|
||||
programs.dconf.profiles.gdm.databases = [{
|
||||
settings = import ../dconf-common.nix moduleArgs [
|
||||
"org/gnome/desktop/interface"
|
||||
"org/gnome/desktop/peripherals/mouse"
|
||||
"org/gnome/desktop/sound"
|
||||
"org/gnome/settings-daemon/plugins/power"
|
||||
"org/gnome/shell/keybindings"
|
||||
];
|
||||
}];
|
||||
proot.dconf.profiles.gdm.rulesToApply = [
|
||||
"org/gnome/desktop/interface"
|
||||
"org/gnome/desktop/peripherals/mouse"
|
||||
"org/gnome/desktop/sound"
|
||||
"org/gnome/settings-daemon/plugins/power"
|
||||
"org/gnome/shell/keybindings"
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
google-cursor
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue