add nix-hyprland

This commit is contained in:
KoenDR06 2026-01-07 16:39:44 +01:00
parent 304570fd73
commit 954bf2d4ba
17 changed files with 619 additions and 2779 deletions

View file

@ -3,6 +3,21 @@
../../modules
];
nix-hyprland = {
monitors = {
bindWorkspaces = "interlaced";
displays = [
{
output = "eDP-1";
x = 0;
y = 0;
bar = "top";
scale = 1.175; # Idk why hyprland doesn't think 1.25 is invalid but whatever.
}
];
};
};
config.horseman = {
dots.kitty.fontSize = 13;
@ -22,22 +37,7 @@
greeter.greetd.session = "Hyprland";
};
wm.hyprland = {
enable = true;
config = {
monitors.displays = [
{
output = "eDP-1";
x = 0;
y = 0;
bar = "top";
scale = 1.175; # Idk why hyprland doesn't think 1.25 is invalid but whatever.
}
];
monitors.bindWorkspaces = "interlaced";
};
};
wm.hyprland.enable = true;
hardware = {
audio.enable = true;

View file

@ -1,8 +1,30 @@
{...}: {
{config, ...}: {
imports = [
../../modules
];
config.nix-hyprland = {
username = config.horseman.username;
monitors = {
displays = [
{
output = "DP-2";
x = 0;
y = 0;
wallpaper = ../../misc/landscape.png;
}
{
output = "DP-3";
x = -1440;
y = 0;
transform = 1;
wallpaper = ../../misc/portrait.png;
}
];
bindWorkspaces = "interlaced";
};
};
config.horseman = {
catppuccin.flavor = "mocha";
@ -24,28 +46,6 @@
wm.hyprland = {
enable = true;
config = {
monitors = {
displays = [
{
output = "DP-2";
x = 0;
y = 0;
wallpaper = ../../misc/landscape.png;
}
{
output = "DP-3";
x = -1440;
y = 0;
transform = 1;
wallpaper = ../../misc/portrait.png;
bar = "top";
}
];
bindWorkspaces = "interlaced";
};
};
};
hardware = {