refactor(profile): simplified via modules
This commit is contained in:
parent
9b0f424601
commit
186585b98a
2 changed files with 20 additions and 7 deletions
|
|
@ -10,10 +10,6 @@ in
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
|
||||||
|
|
||||||
xdg.portal.enable = true;
|
|
||||||
|
|
||||||
homeModules = {
|
homeModules = {
|
||||||
sops.enable = true;
|
sops.enable = true;
|
||||||
|
|
||||||
|
|
@ -21,7 +17,8 @@ in
|
||||||
nix.enable = true;
|
nix.enable = true;
|
||||||
nixColors.enable = true;
|
nixColors.enable = true;
|
||||||
home.enable = true;
|
home.enable = true;
|
||||||
userDirs.enable = true;
|
# userDirs.enable = true;
|
||||||
|
# mimeApps.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
console = {
|
console = {
|
||||||
|
|
|
||||||
|
|
@ -10,27 +10,42 @@ in
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
homeModules.desktop = {
|
homeModules.desktop = {
|
||||||
|
|
||||||
wayland = {
|
wayland = {
|
||||||
base.enable = true;
|
enable = true;
|
||||||
windowManager.hyprland.enable = true;
|
windowManager.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
extras = {
|
||||||
|
hyprcapture.enable = true;
|
||||||
|
hyprshade.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
lockscreen.hyprlock.enable = true;
|
lockscreen.hyprlock.enable = true;
|
||||||
notification.mako.enable = true;
|
notification.mako.enable = true;
|
||||||
bar.waybar.enable = true;
|
bar.waybar.enable = true;
|
||||||
launcher.rofi.enable = true;
|
launcher.rofi.enable = true;
|
||||||
|
utility = {
|
||||||
|
tools.enable = true;
|
||||||
|
gammastep.enable = true;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
communication = {
|
communication = {
|
||||||
discord.enable = true;
|
discord.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
browser.firefox= {
|
browser.firefox= {
|
||||||
enable = true;
|
enable = true;
|
||||||
default = true;
|
default = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
terminal = {
|
terminal = {
|
||||||
foot = {
|
foot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
default = true;
|
default = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
media = {
|
media = {
|
||||||
music.tui.enable = true;
|
music.tui.enable = true;
|
||||||
image.imv.enable = true;
|
image.imv.enable = true;
|
||||||
|
|
@ -39,6 +54,7 @@ in
|
||||||
youtube.enable = true;
|
youtube.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
themeSettings.enable = true;
|
themeSettings.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue