add: niri

This commit is contained in:
valerie 2024-08-22 18:37:45 -04:00
parent f3a5f9b390
commit 5c490db63f
Signed by: valnyx
GPG key ID: CC10324DD962CB7E
5 changed files with 1030 additions and 11 deletions

1019
flake.lock

File diff suppressed because it is too large Load diff

View file

@ -25,6 +25,10 @@
url = "github:fufexan/nix-gaming";
inputs.nixpkgs.follows = "nixpkgs";
};
niri = {
url = "github:sodiboo/niri-flake";
};
};
outputs = {
@ -43,6 +47,7 @@
modules = [
inputs.disko.nixosModules.default
(import ./disko.nix {device="/dev/disk/by-id/nvme-Samsung_SSD_980_PRO_with_Heatsink_1TB_S6WSNJ0T900943T";})
inputs.niri.nixosModules.niri
./waves.nix
];
};
@ -57,6 +62,8 @@
};
modules = [
inputs.niri.homeModules.niri
# inputs.niri.homeModules.config
./modules/home/dv.nix
];
};

View file

@ -7,7 +7,8 @@
# terminal
./term
# gui
./gui.nix
./gui-core.nix
./niri.nix
];
nix = {

12
modules/home/niri.nix Normal file
View file

@ -0,0 +1,12 @@
{...}: {
programs.niri.config = ''
window-rule {
match app-id=r#"^org\.wezfurlong\.wezterm$"#
default-column-width {}
}
binds {
Super+T { spawn "wezterm"; }
}
'';
}