Complete Overhaul of flake.nix

This commit is contained in:
2025-09-05 01:03:12 +02:00
parent 74bf1dc059
commit ebb83a7e8b
19 changed files with 757 additions and 670 deletions

View File

@@ -1,14 +1,29 @@
{ pkgs, ... }:
{ monitorSetup, ... }:
{
imports = [
./kitty.nix # Terminal
./alacritty.nix
./hyprland.nix
./hypridle.nix
./hyprlock.nix
./hyprpaper.nix
./rofi # App Launcher
./mako.nix # Notifyer
./cava.nix # Music Visualizer
];
programs.waybar =
if monitorSetup == "single" then
import ../../home/hyprland/waybar/single.nix
else if monitorSetup == "dual" then
import ../../home/hyprland/waybar/dual.nix
else
{ };
home.file.".config/waybar" = {
source = ./waybar/configs;
# copy the scripts directory recursively
recursive = true;
};
home.file.".config/hypr/hyprland.conf".enable = false;
}