Tue Jun 4 10:27:38 PM CEST 2024

This commit is contained in:
Thomas Avé 2024-06-04 22:27:38 +02:00
parent 251fa42493
commit 1db9388a7d
3 changed files with 46 additions and 6 deletions

37
home/Aloria.nix Normal file
View File

@ -0,0 +1,37 @@
{ 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
];
home.packages = with pkgs; [ telegram-desktop webcord devenv ];
programs.ssh.matchBlocks."*".identityFile = "/home/server/.secrets/SSH/Aloria/id_ed25519";
services.hyprpaper = {
settings = {
wallpaper = [
"HDMI-A-1,${./hyprland/files/wallpaper.png}"
"HDMI-A-2,${./hyprland/files/wallpaper.png}"
"eDP-1,${./hyprland/files/wallpaper.png}"
];
};
};
gtk.iconTheme = {
name = "Papirus";
gtk.iconTheme.package = pkgs.papirus-icon-theme;
};
programs.waybar = { settings = { mainBar = { output = "eDP-1"; }; }; };
home.file."${config.xdg.configHome}/hypr/card".text =
# Intel: /dev/dri/by-path/pci-0000:00:02.0-card
# Nvidia: /dev/dri/by-path/pci-0000:01:00.0-card
wayland.windowManager.hyprland.settings.env = ["WLR_DRM_DEVICES,/dev/dri/by-path/pci-0000:00:02.0-card"];
}

View File

@ -30,4 +30,12 @@
gtk.iconTheme.package = pkgs.papirus-icon-theme;
};
programs.waybar = { settings = { mainBar = { output = "DP-2"; }; }; };
wayland.windowManager.hyprland.settings = {
monitor = [
"DP-3,preferred,0x550,1"
"DP-2,preferred,1920x0,1"
"HDMI-A-1,preferred,5760x550,1"
];
input.kb_options = "compose:rctrl, caps:super, altwin:swap_alt_win";
}
}

View File

@ -132,11 +132,6 @@ in {
"stayfocused, title:^()$,class:^(steam)$"
];
windowrule = [ "noanim,waybar" ];
monitor = [
"DP-3,preferred,0x550,1"
"DP-2,preferred,1920x0,1"
"HDMI-A-1,preferred,5760x550,1"
];
general = {
gaps_in = 1;
gaps_out = 5;
@ -148,7 +143,7 @@ in {
input = {
kb_layout = "us";
follow_mouse = 1;
kb_options = "compose:rctrl, caps:super, altwin:swap_alt_win";
kb_options = "compose:rctrl";
numlock_by_default = true;
};
binds = { scroll_event_delay = 1; };