feat(nixos-95): extract DE themining into nixosModule
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
This commit is contained in:
parent
915121f327
commit
6a9de226ef
21 changed files with 185 additions and 118 deletions
30
nixos95/taskbar.nix
Normal file
30
nixos95/taskbar.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/**
|
||||
* For now this just hard copies the config file.
|
||||
* This can be improved by allowing users to define there own task bar config
|
||||
*/
|
||||
{ config, lib, pkgs, ... }: let
|
||||
cfg = config.nixos95;
|
||||
in lib.mkIf cfg.enable {
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.xfce.xfce4-whiskermenu-plugin
|
||||
];
|
||||
|
||||
home-manager.users.${cfg.user} = {
|
||||
|
||||
xdg.configFile = {
|
||||
"xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml" = {
|
||||
force = true;
|
||||
source = ./dotfiles/xfce4-panel.xml;
|
||||
};
|
||||
|
||||
# Panel:
|
||||
"xfce4/panel/launcher-13/brave.desktop".source = ./dotfiles/launcher-13/brave.desktop;
|
||||
"xfce4/panel/launcher-14/signal.desktop".source = ./dotfiles/launcher-14/signal.desktop;
|
||||
"xfce4/panel/launcher-15/obsidian.desktop".source = ./dotfiles/launcher-15/obsidian.desktop;
|
||||
"xfce4/panel/launcher-16/spotify.desktop".source = ./dotfiles/launcher-16/spotify.desktop;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue