Complete Overhaul of flake.nix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user