the desktop environment can be included via `self.nixosModules.nixos95` this will expose two options (for now): nixos95.enable -> enable the desktop environment nixos95.wallpaper -> path to the wallpaper to use currently the setup is closy coupled to this configuration, which will change in the future, so it can be used with any configuration
20 lines
442 B
Nix
20 lines
442 B
Nix
/**
|
|
* For now this just hard copies the config file.
|
|
* This can be improved by allowing users to define there own keybinds
|
|
*/
|
|
{ config, lib, ... }: let
|
|
cfg = config.nixos95;
|
|
in lib.mkIf cfg.enable {
|
|
|
|
home-manager.users.${cfg.user} = {
|
|
|
|
xdg.configFile = {
|
|
"xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml" = {
|
|
force = true;
|
|
source = ./dotfiles/xfce4-keyboard-shortcuts.xml;
|
|
};
|
|
};
|
|
|
|
};
|
|
|
|
}
|