Tue Jun 4 10:27:38 PM CEST 2024
This commit is contained in:
parent
251fa42493
commit
1db9388a7d
|
@ -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"];
|
||||||
|
}
|
|
@ -30,4 +30,12 @@
|
||||||
gtk.iconTheme.package = pkgs.papirus-icon-theme;
|
gtk.iconTheme.package = pkgs.papirus-icon-theme;
|
||||||
};
|
};
|
||||||
programs.waybar = { settings = { mainBar = { output = "DP-2"; }; }; };
|
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";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -132,11 +132,6 @@ in {
|
||||||
"stayfocused, title:^()$,class:^(steam)$"
|
"stayfocused, title:^()$,class:^(steam)$"
|
||||||
];
|
];
|
||||||
windowrule = [ "noanim,waybar" ];
|
windowrule = [ "noanim,waybar" ];
|
||||||
monitor = [
|
|
||||||
"DP-3,preferred,0x550,1"
|
|
||||||
"DP-2,preferred,1920x0,1"
|
|
||||||
"HDMI-A-1,preferred,5760x550,1"
|
|
||||||
];
|
|
||||||
general = {
|
general = {
|
||||||
gaps_in = 1;
|
gaps_in = 1;
|
||||||
gaps_out = 5;
|
gaps_out = 5;
|
||||||
|
@ -148,7 +143,7 @@ in {
|
||||||
input = {
|
input = {
|
||||||
kb_layout = "us";
|
kb_layout = "us";
|
||||||
follow_mouse = 1;
|
follow_mouse = 1;
|
||||||
kb_options = "compose:rctrl, caps:super, altwin:swap_alt_win";
|
kb_options = "compose:rctrl";
|
||||||
numlock_by_default = true;
|
numlock_by_default = true;
|
||||||
};
|
};
|
||||||
binds = { scroll_event_delay = 1; };
|
binds = { scroll_event_delay = 1; };
|
||||||
|
|
Loading…
Reference in New Issue