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 {
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
xdg.portal.enable = true;
|
||||
|
||||
homeModules = {
|
||||
sops.enable = true;
|
||||
|
||||
|
|
@ -21,7 +17,8 @@ in
|
|||
nix.enable = true;
|
||||
nixColors.enable = true;
|
||||
home.enable = true;
|
||||
userDirs.enable = true;
|
||||
# userDirs.enable = true;
|
||||
# mimeApps.enable = true;
|
||||
};
|
||||
|
||||
console = {
|
||||
|
|
|
|||
|
|
@ -10,27 +10,42 @@ in
|
|||
|
||||
config = lib.mkIf cfg.enable {
|
||||
homeModules.desktop = {
|
||||
|
||||
wayland = {
|
||||
base.enable = true;
|
||||
windowManager.hyprland.enable = true;
|
||||
enable = true;
|
||||
windowManager.hyprland = {
|
||||
enable = true;
|
||||
extras = {
|
||||
hyprcapture.enable = true;
|
||||
hyprshade.enable = true;
|
||||
};
|
||||
};
|
||||
lockscreen.hyprlock.enable = true;
|
||||
notification.mako.enable = true;
|
||||
bar.waybar.enable = true;
|
||||
launcher.rofi.enable = true;
|
||||
utility = {
|
||||
tools.enable = true;
|
||||
gammastep.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
communication = {
|
||||
discord.enable = true;
|
||||
};
|
||||
|
||||
browser.firefox= {
|
||||
enable = true;
|
||||
default = true;
|
||||
};
|
||||
|
||||
terminal = {
|
||||
foot = {
|
||||
enable = true;
|
||||
default = true;
|
||||
};
|
||||
};
|
||||
|
||||
media = {
|
||||
music.tui.enable = true;
|
||||
image.imv.enable = true;
|
||||
|
|
@ -39,6 +54,7 @@ in
|
|||
youtube.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
themeSettings.enable = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue