feat: changed wayland compositor configuration
- added hyprland initial configuration - added hyprland plugins - added kanshi profiles for docked modes - added misc home manager configuration options
This commit is contained in:
parent
e0537affdc
commit
065b1bac9d
3 changed files with 71 additions and 17 deletions
|
@ -59,7 +59,35 @@ in
|
|||
programs.firefox.enable = true;
|
||||
# Nicely reload system units when changing configs
|
||||
systemd.user.startServices = "sd-switch";
|
||||
|
||||
services.kanshi = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
undocked = {
|
||||
outputs = [
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
scale = 1.0;
|
||||
status = "enable";
|
||||
}
|
||||
];
|
||||
};
|
||||
docked = {
|
||||
outputs = [
|
||||
{
|
||||
criteria = "HDMI-A-1";
|
||||
position = "0,0";
|
||||
mode = "1920x1080@60Hz";
|
||||
}
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
position = "0,0";
|
||||
status = "enable";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
systemdTarget = "hyprland-session.target";
|
||||
};
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
home.stateVersion = "24.05";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue