trying to start moving config to individual files

This commit is contained in:
Matt Nish-Lapidus 2025-02-04 09:47:12 -05:00
parent e929eb989b
commit fd3cedfa93
3 changed files with 14 additions and 10 deletions

View file

@ -3,9 +3,9 @@
// Check the wiki for a full description of the configuration: // Check the wiki for a full description of the configuration:
// https://github.com/YaLTeR/niri/wiki/Configuration:-Overview // https://github.com/YaLTeR/niri/wiki/Configuration:-Overview
debug { // debug {
wait-for-frame-completion-before-queueing // wait-for-frame-completion-before-queueing
} // }
input { input {
keyboard { keyboard {
@ -45,6 +45,8 @@ output "PNP(BNQ) BenQ PD2725U N2N00414019" {
transform "normal" transform "normal"
} }
// TODO setup defaults for hdmi output
environment { environment {
DISPLAY ":0" DISPLAY ":0"
QT_QPA_PLATFORM "wayland" QT_QPA_PLATFORM "wayland"

View file

@ -9,6 +9,7 @@
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
./razer-speaker-fix.nix ./razer-speaker-fix.nix
../niri
]; ];
nixpkgs = { nixpkgs = {
@ -280,13 +281,6 @@
vSync = true; vSync = true;
}; };
programs.niri = {
enable = true;
package = inputs.niri.packages.x86_64-linux.niri;
};
# programs.waybar.enable = true;
programs.nh = { programs.nh = {
enable = true; enable = true;
clean = { clean = {

8
system/niri/default.nix Normal file
View file

@ -0,0 +1,8 @@
{ inputs, config, lib, pkgs, ... }:
{
programs.niri = {
enable = true;
package = inputs.niri.packages.x86_64-linux.niri;
};
}