wip: niri

This commit is contained in:
Nickolaj Jepsen 2025-04-27 23:58:02 +02:00
parent b87a5ff696
commit 5627b17333
9 changed files with 435 additions and 1 deletions

View file

@ -45,6 +45,7 @@ with lib; let
inputs.nixos-facter-modules.nixosModules.facter
inputs.fireproof-shell.nixosModules.default
inputs.nvf.nixosModules.default
inputs.niri.nixosModules.niri
../modules/base/user.nix
(mkSystemImports hostname)
]

35
hosts/desktop/niri.nix Normal file
View file

@ -0,0 +1,35 @@
_: {
fireproof.home-manager.programs.niri.settings.outputs = {
"DP-3" = {
position = {
x = 0;
y = 1080;
};
mode = {
refresh = 164.998;
width = 2560;
height = 1440;
};
};
"DP-1" = {
position = {
x = 2560;
y = 1080;
};
mode = {
refresh = 165.000;
width = 2560;
height = 1440;
};
};
"DP-2" = {
position = {
x = (2560 - 1920) / 2;
y = 0;
};
};
"HDMI-A-1" = {
enable = false;
};
};
}

View file

@ -1,4 +1,8 @@
{config, pkgsUnstable, ...}: let
{
config,
pkgsUnstable,
...
}: let
port = 9190;
rootDomain = "nickolaj.com";
zitadelDomain = "sso.${rootDomain}";