dotfiles/home/Aloria.nix

56 lines
1.7 KiB
Nix
Raw Normal View History

2024-06-04 22:27:38 +02:00
{ inputs, config, pkgs, ... }:
{
imports = [
(import ./common.nix { inherit inputs config pkgs; })
(import ./hyprland { inherit inputs pkgs; })
(import ./waybar { inherit inputs pkgs; })
./rofi
./alacritty
./kitty
./firefox
./ssh
./mpv
];
2024-06-10 16:01:29 +02:00
home.packages = with pkgs; [ telegram-desktop webcord devenv iwgtk element-desktop ];
2024-06-06 20:15:03 +02:00
programs.ssh.matchBlocks."*".identityFile = "/home/user/.secrets/SSH/Aloria/id_ed25519";
2024-06-04 22:27:38 +02:00
services.hyprpaper = {
settings = {
wallpaper = [
"HDMI-A-1,${./hyprland/files/wallpaper.png}"
"HDMI-A-2,${./hyprland/files/wallpaper.png}"
"eDP-1,${./hyprland/files/wallpaper.png}"
2024-06-05 00:55:36 +02:00
"eDP-2,${./hyprland/files/wallpaper.png}"
2024-06-04 22:27:38 +02:00
];
};
};
2024-06-04 23:11:41 +02:00
# wayland.windowManager.hyprland.settings.env = ["WLR_DRM_DEVICES,/dev/dri/by-path/pci-0000:01:00.0-card"]; # Nvidia
2024-06-05 00:15:14 +02:00
# wayland.windowManager.hyprland.settings.env = ["WLR_DRM_DEVICES,/dev/dri/by-path/pci-0000:00:02.0-card"]; # Intel
2024-06-04 23:11:41 +02:00
wayland.windowManager.hyprland.settings = {
2024-06-05 14:45:51 +02:00
exec-once = [
"${pkgs.swaylock-fancy}/bin/swaylock-fancy"
];
2024-06-05 00:55:36 +02:00
monitor = [
"eDP-1,1920x1080@144,0x0,1"
"eDP-2,1920x1080@144,0x0,1"
"HDMI-A-2,1920x1080@60,0x-1080,1"
];
2024-06-04 23:11:41 +02:00
bind = [
", XF86PowerOff, exec, ${pkgs.rofi}/bin/rofi -show power-menu -modi power-menu:${
./hyprland/files/rofi-power-menu.sh
}"
];
general.gaps_out = 1;
};
programs.waybar.settings.mainBar = {
output = "eDP-1";
height = 28;
margin = "0 0 5 0";
2024-06-05 18:34:54 +02:00
"custom/temperature".exec = "${pkgs.lm_sensors}/bin/sensors | ${pkgs.gnugrep}/bin/grep Package | cut -c17-23";
2024-06-04 23:11:41 +02:00
};
2024-06-04 23:41:05 +02:00
programs.alacritty.settings.font.size = 13;
2024-06-04 22:27:38 +02:00
}