use niri-flake module to generate niri kdl config
This commit is contained in:
parent
03d5d219e8
commit
db447c785d
8 changed files with 1061 additions and 10 deletions
|
|
@ -5,6 +5,9 @@
|
|||
rootPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./niri.nix
|
||||
];
|
||||
youthlic = {
|
||||
xdg-dirs.enable = true;
|
||||
programs = let
|
||||
|
|
@ -46,7 +49,6 @@
|
|||
accounts.email.enable = true;
|
||||
programs = {
|
||||
openssh.enable = true;
|
||||
niri.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
20
home/david/configurations/Akun/niri.nix
Normal file
20
home/david/configurations/Akun/niri.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{inputs, ...}: let
|
||||
inherit (inputs.niri-flake.lib.kdl) node leaf plain flag;
|
||||
in {
|
||||
david.programs.niri = {
|
||||
enable = true;
|
||||
extraConfig = let
|
||||
output = node "output";
|
||||
in [
|
||||
(output "eDP-1" [
|
||||
(leaf "mode" "1920x1200@60.018")
|
||||
(leaf "scale" 1.0)
|
||||
(leaf "position" {
|
||||
x = 0;
|
||||
y = 0;
|
||||
})
|
||||
(leaf "transform" "normal")
|
||||
])
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue