Added HyprDynamicMonitors

This commit is contained in:
2025-11-09 14:34:44 -05:00
parent 2f6bed228d
commit 00a1828a0d
7 changed files with 115 additions and 14 deletions

View File

@@ -5,5 +5,6 @@
imports = [
./hyprland.nix
./keybinds.nix
./monitors.nix
];
}

View File

@@ -1,5 +1,6 @@
{
pkgs,
config,
...
}:
{
@@ -14,10 +15,14 @@
portalPackage = null;
settings = {
monitor = [
"eDP-1, 2256x1504@60, 0x0, 1"
source = [
"${config.xdg.configHome}/hypr/monitors.conf"
];
# monitor = [
# "eDP-1, 2256x1504@60, 0x0, 1"
# ];
decoration = {
rounding = 10;

View File

@@ -0,0 +1,19 @@
{
inputs,
pkgs,
...
}:
{
imports = [
inputs.hyprdynamicmonitors.homeManagerModules.default
];
home.packages = [
inputs.hyprdynamicmonitors.packages.${pkgs.stdenv.hostPlatform.system}.default
];
home.hyprdynamicmonitors = {
enable = true;
installExamples = false;
};
}

View File

@@ -37,5 +37,8 @@
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
git
];
variables = {
EDITOR = "vim";
};
};
}

View File

@@ -49,6 +49,8 @@
# media-session.enable = true;
};
upower.enable = true;
# Enable the OpenSSH daemon. (Look into Fail2Ban in the future)
openssh = {
enable = true;