could move to common
This commit is contained in:
parent
ae2f6c2243
commit
3b3d93adcf
2 changed files with 7 additions and 17 deletions
|
|
@ -106,6 +106,13 @@ in
|
|||
username = me.nickname;
|
||||
};
|
||||
|
||||
xdg.configFile = lib.mkIf enableGraphical {
|
||||
"niri/config.kdl".source = import ../../packages/niri-config/default.nix {
|
||||
inherit pkgs inputs displays;
|
||||
self-pkgs = inputs.self.packages.${pkgs.system};
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
modules = {
|
||||
|
|
|
|||
|
|
@ -92,23 +92,6 @@
|
|||
scale = "1";
|
||||
}
|
||||
];
|
||||
extraConfig = {
|
||||
xdg.configFile = {
|
||||
"niri/config.kdl".source = import ../../packages/niri-config/default.nix {
|
||||
inherit pkgs inputs;
|
||||
self-pkgs = inputs.self.packages.${pkgs.system};
|
||||
displays = [
|
||||
{
|
||||
name = "eDP-1";
|
||||
horizontal-resolution = 2256;
|
||||
horizontal-position = 0;
|
||||
vertical-resolution = 1504;
|
||||
framerate = "59.999";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
"root" = import ./root.nix;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue