mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
wip: niri
This commit is contained in:
parent
b87a5ff696
commit
5627b17333
9 changed files with 435 additions and 1 deletions
|
|
@ -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
35
hosts/desktop/niri.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,4 +1,8 @@
|
|||
{config, pkgsUnstable, ...}: let
|
||||
{
|
||||
config,
|
||||
pkgsUnstable,
|
||||
...
|
||||
}: let
|
||||
port = 9190;
|
||||
rootDomain = "nickolaj.com";
|
||||
zitadelDomain = "sso.${rootDomain}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue