home-manager: moved hyprland config to hyprland.nix

This commit is contained in:
Aly Raffauf 2024-03-23 23:49:49 -04:00
parent 7771d33a86
commit 6827e53ba6

View file

@ -24,37 +24,6 @@
services.syncthing.enable = true; services.syncthing.enable = true;
wayland.windowManager.hyprland = {
enable = true;
extraConfig = builtins.readFile ./dotfiles/hyprland.conf;
};
xdg.configFile."hypr/hypridle.conf".source = ./dotfiles/hypridle.conf;
programs.waybar.enable = true;
programs.waybar.settings = {
mainBar = {
layer = "top";
position = "top";
height = 36;
output = [
"eDP-1"
"HDMI-A-1"
];
modules-left = [ "hyprland/workspaces" "hyprland/mode" ];
modules-center = [ "hyprland/window" ];
modules-right = [ "tray" "battery" "clock"];
"hyprland/workspaces" = {
all-outputs = true;
};
"clock" = {
"interval" = 60;
"format" = "{:%I:%M}";
};
};
};
programs.alacritty = { programs.alacritty = {
enable = true; enable = true;
settings = { settings = {