refactor: move common-de stuff to home.nix

This commit is contained in:
Youwen Wu 2024-08-07 07:14:18 -07:00
parent df50a3a1f9
commit 69e13ac02d
4 changed files with 26 additions and 27 deletions

View file

@ -1,24 +0,0 @@
{ pkgs, ... }: {
# Audio effects and EQ tool
services.easyeffects.enable = true;
services.easyeffects.package = pkgs.easyeffects;
# Notification daemon
services.dunst = {
enable = true;
catppuccin.enable = true;
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
size = "32x32";
};
};
# Currently non-functional
programs.wlogout.enable = true;
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland;
theme = "gruvbox-dark";
};
}

View file

@ -1,4 +1,4 @@
{
imports = [ ../theming ../home.nix ../programs ../hyprland/desktop ../common-desktop-environment.nix ];
imports = [ ../theming ../home.nix ../programs ../hyprland/desktop ];
}

View file

@ -19,7 +19,7 @@
# xxx
# '';
home.file.".config/neofetch/config.conf".source = ../common/neofetch.conf
home.file.".config/neofetch/config.conf".source = ../common/neofetch.conf;
home.file.".wallpapers" = {
source = ../../../wallpapers;
recursive = true;
@ -34,6 +34,29 @@
# the home Manager release notes for a list of state version
# changes in each release.
# Audio effects and EQ tool
services.easyeffects.enable = true;
services.easyeffects.package = pkgs.easyeffects;
# Notification daemon
services.dunst = {
enable = true;
catppuccin.enable = true;
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
size = "32x32";
};
};
# Currently non-functional
programs.wlogout.enable = true;
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland;
theme = "gruvbox-dark";
};
# Let home Manager install and manage itself.
programs.home-manager.enable = true;
}

View file

@ -1,4 +1,4 @@
{
imports = [ ../theming ../home.nix ../programs ../hyprland/laptop ../common-desktop-environment.nix ];
imports = [ ../theming ../home.nix ../programs ../hyprland/laptop ];
}